Difference between revisions of "Template:Perma support"

From mtgpq wiki
Jump to: navigation, search
Line 9: Line 9:
 
* color - (optional) A string of letters representing the colors of the permanent support.
 
* color - (optional) A string of letters representing the colors of the permanent support.
 
* side - Which side is affected; player, enemy, or both.
 
* side - Which side is affected; player, enemy, or both.
 +
* image - The filename for an image of the permanent support.
 
* (Up to 5 unnumbered parameters) - A list of effects of the support.
 
* (Up to 5 unnumbered parameters) - A list of effects of the support.
  
Line 24: Line 25:
  
 
{{Perma support
 
{{Perma support
|name = Permanent support
+
|name = Boros Legion
 
|side = enemy
 
|side = enemy
|color = G
+
|color = WR
|Effect 1
+
|image = RT-Boros-Legion-Support.png
|Effect 2
+
|Effect 1 description
 +
}}
 +
 
 +
{{Perma support
 +
|name = Boros Legion
 +
|side = enemy
 +
|color = WR
 +
|image = RT-Boros-Legion-Support.png
 +
|Effect 1 description
 +
|Effect 2 description
 +
|Effect 3 description
 +
|Effect 4 description
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
Line 43: Line 55:
  
 
{{Perma support
 
{{Perma support
|name = Permanent support
+
|name = Boros Legion
 +
|side = enemy
 +
|color = WR
 +
|image = RT-Boros-Legion-Support.png
 +
|Effect 1 description
 +
}}
 +
 
 +
{{Perma support
 +
|name = Boros Legion
 
|side = enemy
 
|side = enemy
|color = G
+
|color = WR
 +
|image = RT-Boros-Legion-Support.png
 
|Effect 1 description
 
|Effect 1 description
 
|Effect 2 description
 
|Effect 2 description
 +
|Effect 3 description
 +
|Effect 4 description
 
}}
 
}}
  
Line 53: Line 76:
  
 
</noinclude><includeonly>{| class="wikitable"
 
</noinclude><includeonly>{| class="wikitable"
 +
{{#if:{{{image|}}}|
 +
! rowspan="3" {{!}} [[File:{{{image}}}|x<!--
 +
-->{{#expr:({{#if:{{{1|}}}|1|0}}+{{#if:{{{2|}}}|1|0}}+{{#if:{{{3|}}}|1|0}}+{{#if:{{{4|}}}|1|0}}+{{#if:{{{5|}}}|1|0}})*20+80}}<!--
 +
-->px]]}}
 
! style="text-align:left" colspan="2" {{!}} {{Event Icon|perm_support}} Permanent support<!--
 
! style="text-align:left" colspan="2" {{!}} {{Event Icon|perm_support}} Permanent support<!--
 
-->{{#if:{{{name|}}}|&#58; {{{name}}} &nbsp;{{#if:{{{color|}}}|{{Color Icons|{{{color}}}}}}}
 
-->{{#if:{{{name|}}}|&#58; {{{name}}} &nbsp;{{#if:{{{color|}}}|{{Color Icons|{{{color}}}}}}}
 
{{!}}-
 
{{!}}-
{{!}} '''Side''': {{ucfirst:{{{side}}}}}
+
{{!}} '''Side''': {{ucfirst:{{{side}}}}}{{#if:{{{image|}}}|<br>
 +
{{!}}- }}
 
{{!}} {{#if:{{{2|}}}|<!--
 
{{!}} {{#if:{{{2|}}}|<!--
 
-->* ''<small>{{Trim|{{{1}}}}}</small>''|<!--
 
-->* ''<small>{{Trim|{{{1}}}}}</small>''|<!--

Revision as of 00:30, 23 March 2019

Usage

Explain a specific permanent support, or indicate that permanent supports appear in an event.

If no parameters are given, a generic notification of permanent supports is produced.

Otherwise, the following parameters are used:

  • name - The name of the permanent support.
  • color - (optional) A string of letters representing the colors of the permanent support.
  • side - Which side is affected; player, enemy, or both.
  • image - The filename for an image of the permanent support.
  • (Up to 5 unnumbered parameters) - A list of effects of the support.

Example

The following shorthand:

{{Perma support}}

{{Perma support
|name = Mirari's Influence
|side = both
|Whenever a nontoken creature is reinforced, it gets +1/+1 and its controller gains 3 mana. (see bugs)
}}

{{Perma support
|name = Boros Legion
|side = enemy
|color = WR
|image = RT-Boros-Legion-Support.png
|Effect 1 description
}}

{{Perma support
|name = Boros Legion
|side = enemy
|color = WR
|image = RT-Boros-Legion-Support.png
|Effect 1 description
|Effect 2 description
|Effect 3 description
|Effect 4 description
}}

Produces:

Permanent support Permanent support
A permanent support affects play on one or more nodes.
Permanent support Permanent support: Mirari's Influence  
Side: Both Whenever a nontoken creature is reinforced, it gets +1/+1 and its controller gains 3 mana. (see bugs)
RT-Boros-Legion-Support.png Permanent support Permanent support: Boros Legion  WhiteRed
Side: Enemy
Effect 1 description
RT-Boros-Legion-Support.png Permanent support Permanent support: Boros Legion  WhiteRed
Side: Enemy
  • Effect 1 description
  • Effect 2 description
  • Effect 3 description
  • Effect 4 description