Difference between revisions of "Template:Ability"

From mtgpq wiki
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
Format the name of a keyword or icon ability, including a link to its description.
+
Format the name of a keyword or icon ability, including a link to its description, and an inline icon for icon abilities.
  
 
The first parameter is the name of the ability.
 
The first parameter is the name of the ability.

Revision as of 08:45, 5 April 2020

Usage

Format the name of a keyword or icon ability, including a link to its description, and an inline icon for icon abilities.

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