Open main menu

mtgpq wiki β

Changes

Template:Ability keyword formatted

511 bytes added, 03:09, 15 February 2019
Created page with "<noinclude> ==Usage== Convert a keyword ability name to a formatted item in a list. An invalid or empty ability name produces no output. ==Example== The following shorthand..."
<noinclude>
==Usage==
Convert a keyword ability name to a formatted item in a list. An invalid or empty ability name produces no output.

==Example==

The following shorthand:
<pre><nowiki>
{{Ability keyword formatted|Activate}}
{{Ability keyword formatted|Rally}}
</nowiki></pre>

Produces:
{{Ability keyword formatted|Activate}}
{{Ability keyword formatted|Rally}}

</noinclude><includeonly>{{#if: {{{1|}}}|{{#if: {{#pos:{{Abilities list keywords}}|{{{1}}}}}|* [[Abilities#{{{1}}}|{{{1}}}]]}}}}</includeonly>