Difference between revisions of "Template:Ability"
Line 29: | Line 29: | ||
{{Ability|Protection from Color}} | {{Ability|Protection from Color}} | ||
− | </noinclude><includeonly>[[Abilities#{{#ifeq:{{{1}}}|Protection from Color|Protection from Black|{{{1}}}}}|<span title="Abilities: {{{1}}}">''{{{2|{{{1}}}}}}''</span>]]{{#if:{{#pos:{{IconAbilityList}}|,{{{1}}},}}|& | + | </noinclude><includeonly>[[Abilities#{{#ifeq:{{{1}}}|Protection from Color|Protection from Black|{{{1}}}}}|<span title="Abilities: {{{1}}}">''{{{2|{{{1}}}}}}''</span>]]{{#if:{{#pos:{{IconAbilityList}}|,{{{1}}},}}| {{Inline|[[File:{{{1}}}-b.png|x14px|{{{1}}}|link=Abilities#{{{1}}}]]}}}}</includeonly> |
Revision as of 09:29, 19 April 2020
Usage
Format the name of a keyword or icon ability, including a link to its description, and an inline icon for icon abilities.
The first parameter is the name of the ability.
The second parameter (optional) is the text to display for the ability, which should be limited to the ability name in a different word form. The default value is the first parameter.
Example
The following shorthand:
{{Ability|Berserker}} {{Ability|First Strike}} {{Ability|Raid|Raided}} {{Ability|Protection from Color}}
Produces: