Difference between revisions of "Template:Ability"

From mtgpq wiki
Jump to: navigation, search
Line 10: Line 10:
 
The following shorthand:
 
The following shorthand:
 
<pre><nowiki>
 
<pre><nowiki>
 +
{{Ability|Berserker}}
 +
 
{{Ability|First Strike}}
 
{{Ability|First Strike}}
  
 
{{Ability|Raid|Raided}}
 
{{Ability|Raid|Raided}}
 +
 +
{{Ability|Protection from Color}}
 
</nowiki></pre>
 
</nowiki></pre>
  

Revision as of 08:44, 5 April 2020

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|Berserker}}

{{Ability|First Strike}}

{{Ability|Raid|Raided}}

{{Ability|Protection from Color}}

Produces:

BerserkerBerserker

First StrikeFirst Strike

Raided

Protection from Color