Difference between revisions of "Template:Ability"

From mtgpq wiki
Jump to: navigation, search
Line 21: Line 21:
 
{{Ability|Raid|Raided}}
 
{{Ability|Raid|Raided}}
  
</noinclude><includeonly>[[Abilities#{{{1}}}|<span title="Abilities: {{{1}}}">''{{{2|{{{1}}}}}}''</span>]]</includeonly>
+
{{Ability|Protection from Color}}
 +
 
 +
</noinclude><includeonly>[[Abilities#{{#ifeq:{{{1}}}|Protection from Color|Protection from Black|{{{1}}}}}|<span title="Abilities: {{{1}}}">''{{{2|{{{1}}}}}}''</span>]]</includeonly>

Revision as of 08:58, 1 December 2019

Usage

Format the name of a keyword or icon ability, including a link to its description.

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|First Strike}}

{{Ability|Raid|Raided}}

Produces:

First StrikeFirst Strike

Raided

Protection from Color