Difference between revisions of "Template:TextAbility"

From mtgpq wiki
Jump to: navigation, search
 
Line 3: Line 3:
 
== Usage ==
 
== Usage ==
 
This template produces a row in the Text Ability table.
 
This template produces a row in the Text Ability table.
 +
 +
* The first parameter is the name of the ability.
 +
* The second parameter (optional) is the set in which the ability is featured.
 +
* The third parameter (optional) is a description of the ability.
  
 
== Example ==
 
== Example ==
Line 16: Line 20:
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
| <span id="{{{1}}}">'''{{{1}}}'''</span> || {{nowrap|{{{2}}}}}
+
| <span id="{{{1}}}">'''{{{1}}}'''</span> {{#if:{{{2|}}}|<br>
 +
{{!}} {{nowrap|{{{2}}}}}}}
 
| {{{3}}}</includeonly>
 
| {{{3}}}</includeonly>

Latest revision as of 09:35, 15 March 2019

Usage

This template produces a row in the Text Ability table.

  • The first parameter is the name of the ability.
  • The second parameter (optional) is the set in which the ability is featured.
  • The third parameter (optional) is a description of the ability.

Example

This shorthand within a table

|- {{TextAbility|Rally|{{BFZ}}{{ZVE}}|Your creatures with Rally have their associated effects triggered whenever you bring a creature with the Ally subtype into play.}}
|- {{TextAbility|Regenerate|{{Evergreen}}|At the start of your turn, your creatures with Regenerate regain the specified amount of toughness which had previously been lost by taking damage.}}

Produces:

Rally
Battle for ZendikarZendikar vs Eldrazi Your creatures with Rally have their associated effects triggered whenever you bring a creature with the Ally subtype into play.
Regenerate
Evergreen At the start of your turn, your creatures with Regenerate regain the specified amount of toughness which had previously been lost by taking damage.