Difference between revisions of "Template:Ability icon formatted"

From mtgpq wiki
Jump to: navigation, search
Line 15: Line 15:
 
{{Ability icon formatted|Defender}}
 
{{Ability icon formatted|Defender}}
  
</noinclude><includeonly>
+
</noinclude><includeonly>{{#if: {{{1|}}}|{{#if: {{#pos:{{Abilities list icons}}|{{{1}}}}}|* [[File:{{{1}}}.png|20px|{{{1}}}]] [[Abilities#{{{1}}}|{{{1}}}]]}}}}</includeonly>
{{#if: {{{1|}}}|{{#if: {{#pos:{{Abilities list icons}}|{{{1}}}}}|* [[File:{{{1}}}.png|20px|{{{1}}}]] [[Abilities#{{{1}}}|{{{1}}}]]}}}}</includeonly>
 

Revision as of 03:00, 15 February 2019

Usage

Convert an icon ability name to a formatted item in a list, including the icon.

Example

The following shorthand:

{{Ability icon formatted|First Strike}}
{{Ability icon formatted|Defender}}

Produces: First Strike First Strike
Defender Defender