Difference between revisions of "Template:Perma support"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> ==Usage== Explain a specific permanent support, or indicate that permanent supports appear in an event. If no parameters are given, a generic notification of perm...")
 
 
(13 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
* name - The name of the permanent support.
 
* name - The name of the permanent support.
 
* 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.
+
* shield - (optional) The starting shield of the support.  If not provided, it's assumed to be infinite (permanent support).
* effect - What the permanent support does.
+
* side - Which side is affected; for example, player, enemy, or both.
 +
* image - The filename for an image of the permanent support.
 +
* (Up to 7 unnumbered parameters) - A list of effects of the support.
  
 
==Example==
 
==Example==
Line 20: Line 22:
 
|name = Mirari's Influence
 
|name = Mirari's Influence
 
|side = both
 
|side = both
|color = G
+
|Whenever a nontoken creature is reinforced, it gets +1/+1 and its controller gains 3 mana. (see bugs)
|effect = 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
 +
}}
 +
 
 +
{{Perma support
 +
|name = The Avenger
 +
|color = C
 +
|shield = 3
 +
|side = player
 +
|{{Ability|Resilient}}
 +
|When you match this support's gem: Your first creature gains {{Ability|Deathtouch}} until end of turn.
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
Line 32: Line 61:
 
|name = Mirari's Influence
 
|name = Mirari's Influence
 
|side = both
 
|side = both
|color = G
+
|Whenever a nontoken creature is reinforced, it gets +1/+1 and its controller gains 3 mana. (see bugs)
|effect = Whenever a nontoken creature is reinforced, it gets +1/+1 and its controller gains 3 mana. ''(see bugs)''
 
 
}}
 
}}
  
</noinclude><includeonly>{| class="wikitable"
+
{{Perma support
! style="text-align:left" {{#if:{{{name|}}}|colspan="2"}} {{!}} {{Event Icon|perm_support}} Permanent support<!--
+
|name = Boros Legion
-->{{#if:{{{name|}}}|'''&#58;''' {{{name}}} &nbsp;{{#if:{{{color|}}}|{{Color Icons|{{{color}}}}}}}
+
|side = enemy
{{!}}-
+
|color = WR
{{!}} '''Side''': {{ucfirst:{{{side}}}}}
+
|image = RT-Boros-Legion-Support.png
{{!}} {{{effect}}} |<br>
+
|Effect 1 description
{{!}} A permanent support affects play on one or more nodes.
 
 
}}
 
}}
|}</includeonly>
 
  
 +
{{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
 +
}}
  
 +
{{Perma support
 +
|name = The Avenger
 +
|color = C
 +
|shield = 3
 +
|side = player
 +
|{{Ability|Resilient}}
 +
|When you match this support's gem: Your first creature gains {{Ability|Deathtouch}} until end of turn.
 +
}}
  
 
[[Category:Event tip templates]]
 
[[Category:Event tip templates]]
 +
 +
</noinclude><includeonly>{| class="wikitable"
 +
{{#if:{{{image|}}}|
 +
! 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+86}}<!--
 +
-->px]]}}
 +
! style="text-align:left" colspan="2" {{!}} {{Event Icon|perm_support}} {{#if:{{{shield|}}}|Event support ({{{shield}}} shield)|Permanent support}}<!--
 +
-->{{#if:{{{name|}}}|&#58; {{{name}}} &nbsp;{{#if:{{{color|}}}|{{Color Icons|{{{color}}}|16}}}}
 +
{{!}}-
 +
{{!}} '''Side''': {{ucfirst:{{{side}}}}}{{#if:{{{image|}}}|<br>
 +
{{!}}- }}
 +
{{!}} {{#if:{{{2|}}}|<!--
 +
-->* ''<small>{{Trim|{{{1}}}}}</small>''|<!--
 +
-->''<small>{{Trim|{{{1}}}}}</small>''}}{{#if:{{{2|}}}|<!--
 +
-->* ''<small>{{Trim|{{{2}}}}}</small>''}}{{#if:{{{3|}}}|<!--
 +
-->* ''<small>{{Trim|{{{3}}}}}</small>''}}{{#if:{{{4|}}}|<!--
 +
-->* ''<small>{{Trim|{{{4}}}}}</small>''}}{{#if:{{{5|}}}|<!--
 +
-->* ''<small>{{Trim|{{{5}}}}}</small>''}}{{#if:{{{6|}}}|<!--
 +
-->* ''<small>{{Trim|{{{6}}}}}</small>''}}{{#if:{{{7|}}}|<!--
 +
-->* ''<small>{{Trim|{{{5}}}}}</small>''}} |<br>
 +
{{!}} ''<small>A '''permanent support''' affects play on one or more nodes.</small>''
 +
}}
 +
|}</includeonly>

Latest revision as of 06:10, 22 August 2021

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.
  • shield - (optional) The starting shield of the support. If not provided, it's assumed to be infinite (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 7 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
}}

{{Perma support
|name = The Avenger
|color = C
|shield = 3
|side = player
|{{Ability|Resilient}}
|When you match this support's gem: Your first creature gains {{Ability|Deathtouch}} until end of turn.
}}

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
Permanent support Event support (3 shield): The Avenger  Colorless
Side: Player
  • ResilientResilient
  • When you match this support's gem: Your first creature gains DeathtouchDeathtouch until end of turn.