Template talk:Ability
Usage guide[edit]
{{Ability|[name]|[color optional]}}
This template used Template:ItemDisplay/Template:Bditem to create an info box for an ability. All ability details are hard-coded into the template.
First option must be the name of an ability, with punctuation/case sensitive. "Shhhhhhhhh..." can be called with "Shh" because lots of 'h's can be hard to keep track of. If this is missing or wrong the template returns nothing.
Second option is optional, and can be used to change the colour of the coloured parts of the template. This can make it, for example, match the arena colour-coding on a battledome challenger page. It can take hexadecimal colours (with the #), rgb() values, or rgba() values.
Example 1:
{{Ability|Warlock's Rage|#00ccff}}
Example 2:
{{Ability|Summon Monoceraptor|rgba(255,0,0,0.2)}}