Template:Potency ability/doc
This template is used by the game data process to help keep pages up-to-date. It should not need to be called manually.
Usage
This template displays a reference to Potency. Abilities that benefit from Potency are also auto-categorized (as Category:Potency ability).
The template uses the following parameter:
- pagename
- The (sub)pagename (e.g., Bear Hug) of the ability that benefits from Potency. Categorization will only occur on that (sub)page.
Example
Damage: (3 to 5) + ({{Bonus damage ability|pagename=Bear Hug}} + {{Potency ability|pagename=Bear Hug}})
Damage: (3 to 5) + (Bonus Damage + Potency)
Technical details
Formula data comes from Wildermyth's.properties
files. For example, assets/text/effects/bear/bearHug.properties
includes the following line:
.formula=Damage: (3 to 5) + (Bonus Damage + Potency) .name=Bear Hug
On the wiki, the formula game data Bear Hug = Damage: (3 to 5) + ({{Bonus damage ability|pagename=Bear Hug}} + {{Potency ability|pagename=Bear Hug}})
uses this template to link Potency, and possibly categorize it (only if the text appears on the Bear Hug page).