Difference between revisions of "Template:Ability icon formatted"
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
− | Convert an icon ability name to a formatted item in a list, including the icon. | + | Convert an icon ability name to a formatted item in a list, including the icon and a link to the ability's description. |
==Example== | ==Example== | ||
Line 12: | Line 12: | ||
Produces: | Produces: | ||
+ | |||
{{Ability icon formatted|First Strike}} | {{Ability icon formatted|First Strike}} | ||
{{Ability icon formatted|Defender}} | {{Ability icon formatted|Defender}} | ||
− | </noinclude><includeonly>{{#if: {{{1|}}}|{{#if: {{#pos:{{Abilities list icons}}|{{{1}}}}}| | + | </noinclude><includeonly>{{#if: {{{1|}}}|{{#if: {{#pos:{{Abilities list icons}}|{{{1}}}}}|[[File:{{{1}}}.png|20px|{{{1}}}]] [[Abilities#{{{1}}}|{{{1}}}]]<br>}}}}</includeonly> |
Revision as of 03:12, 15 February 2019
Usage
Convert an icon ability name to a formatted item in a list, including the icon and a link to the ability's description.
Example
The following shorthand:
{{Ability icon formatted|First Strike}} {{Ability icon formatted|Defender}}
Produces: