Template talk:Ability

From NeoDex
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Usage guide

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

Channel your malevolent rage into increased damage and incapacitate your opponent at the same time. A favourite combo of warlocks everywhere.
Warlock's Rage
Channel your malevolent rage into increased damage and incapacitate your opponent at the same time. A favourite combo of warlocks everywhere.


Example 2:

{{Ability|Summon Monoceraptor|rgba(255,0,0,0.2)}}

The fiery Monoceraptor is at your command and can be used to distract your opponent. Just remember to stay out of the way.
Summon Monoceraptor
The fiery Monoceraptor is at your command and can be used to distract your opponent. Just remember to stay out of the way.


--Macbeth (talk) 20:22, 5 June 2017 (UTC)