Template:Potency ability/doc

From Wildermyth Wiki
< Template:Potency ability
Revision as of 12:02, 21 January 2022 by FeralKitty (talk | contribs) (Created page with "<includeonly>: ''This documentation is transcluded from Template:Potency ability/doc''</includeonly><!-- --><noinclude><div class="messagebox" style="padding-left:1ex;">''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is a documentation subpage for Template:potency ability.

This template is used by the game data process to help keep pages up-to-date. It should not need to be called manually.


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:

The (sub)pagename (e.g., Bear Hug) of the ability that benefits from Potency. Categorization will only occur on that (sub)page.


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).