Template:Formulas/doc

From Wildermyth Wiki
Jump to navigation Jump to search
This is a documentation subpage for Template:Formulas.

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
}}

Technical details

To maintain a consistent design across all ability pages, the Formulas table is always visible, even when the game data returns no math formula.