Template:Formulas/doc
From Wildermyth Wiki
< Template:Formulas
Revision as of 11:32, 22 January 2022 by FeralKitty (talk | contribs) (Use game data. Add Technical details.)
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 = Damage: {{Data mathFormula|Witherbolt}} <-- this is flawed. mathFormula must provide the type, as not all formulas are "Damage:" -->
| note = Blah blah blah
}}
| Formulas |
Damage: Initial Damage: ceil((1+(((self.PHYSICAL_DAMAGE_BONUS+self.POTENCY)/4)*(1+self.theme_green_upgrade))))+self.theme_green_upgrade |
| 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 |
(None) |
| See Formulas Guide for help with math functions. |