Difference between revisions of "Template:Perma support"

From mtgpq wiki
Jump to: navigation, search
Line 77: Line 77:
 
</noinclude><includeonly>{| class="wikitable"
 
</noinclude><includeonly>{| class="wikitable"
 
{{#if:{{{image|}}}|
 
{{#if:{{{image|}}}|
! rowspan="3" {{!}} [[File:{{{image}}}|x<!--
+
! rowspan="3" style="padding:0px" {{!}} [[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}}<!--
+
-->{{#expr:({{#if:{{{1|}}}|1|0}}+{{#if:{{{2|}}}|1|0}}+{{#if:{{{3|}}}|1|0}}+{{#if:{{{4|}}}|1|0}}+{{#if:{{{5|}}}|1|0}})*20+86}}<!--
 
-->px]]}}
 
-->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<!--

Revision as of 06:57, 12 October 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; for example, 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