Difference between revisions of "Template:Formulas"
From Wildermyth Wiki
FeralKitty (talk | contribs) (Created page with "<includeonly>:{| role="presentation" class="wikitable mw-collapsible mw-collapsed" | <strong>Formulas</strong> |- | <pre</includeonly><includeonly> style="margin: 0; border: 0...") |
FeralKitty (talk | contribs) m (/damages -> /damage) |
||
| Line 2: | Line 2: | ||
| <strong>Formulas</strong> | | <strong>Formulas</strong> | ||
|- | |- | ||
| <pre</includeonly><includeonly> style="margin: 0; border: 0px">{{/ | | <pre</includeonly><includeonly> style="margin: 0; border: 0px">{{/damage}}</pre> | ||
|- | |- | ||
| {{#if:{{{note|}}}|<div style="clear: both;"></div>Note: {{{note}}}}}<!-- | | {{#if:{{{note|}}}|<div style="clear: both;"></div>Note: {{{note}}}}}<!-- | ||
Revision as of 21:26, 15 September 2021
- This documentation is transcluded from Template:Formulas/doc
Usage
This template displays the formulas for an ability.
The Infobox uses the following parameters:
- damage
- (Mathematical) damage equation
- note
- Optional note(s) about the targets
Example
{{Formulas
| damage = {{Data mathFormula|Witherbolt}}
| note = Blah blah blah
}}
Formulas Template:Formulas/damage
Note: Blah blah blahSee Formulas Guide for help with math functions.
Technical details
See also: Template:Data mathFormula
To maintain a consistent design across all ability pages, the Formulas table is always visible, even when the game data returns no math formula.
Formulas Template:Formulas/damage
See Formulas Guide for help with math functions.