Template:Math/doc
Jump to navigation
Jump to search
Math display that can be toggled between the math-tag and plain text display.
- Important!
- The equals sign, "=", must be input as "{{=}}". Otherwise, it is assumed to be part of template notation, causing an error or the equation to not be displayed.
- Likewise, two or more curly brackets, "{{" or "}}", are part of template notation, and must be separated by a whitespace to avoid issues.
Parameters
# | Name | Description |
---|---|---|
1 |
latex |
Latex input for <math> tag display. |
2 |
plain |
Formula in plain text. |
N/A | hideToggle |
Hides the toggle link. |
Example
Input:
{{math |latex = attackDamage {{=}} 10 \cdot totalWeaponDamage \cdot \frac{totalATK}{100%} |plain = attackDamage {{=}} 10 * totalWeaponDamage * totalATK / 100% }}
Output:
[Toggle display]
attackDamage = 10 * totalWeaponDamage * totalATK / 100%
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.