Difference between revisions of "Template:Perma support"

From mtgpq wiki
Jump to: navigation, search
 
(6 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).
 +
* side - Which side is affected; for example, player, enemy, or both.
 
* image - The filename for an image of the permanent support.
 
* image - The filename for an image of the permanent support.
* (Up to 5 unnumbered parameters) - A list of effects of the support.
+
* (Up to 7 unnumbered parameters) - A list of effects of the support.
  
 
==Example==
 
==Example==
Line 41: Line 42:
 
|Effect 3 description
 
|Effect 3 description
 
|Effect 4 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 71: Line 81:
 
|Effect 3 description
 
|Effect 3 description
 
|Effect 4 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.
 
}}
 
}}
  
Line 77: Line 96:
 
</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}} {{#if:{{{shield|}}}|Event support ({{{shield}}} shield)|Permanent support}}<!--
-->{{#if:{{{name|}}}|&#58; {{{name}}} &nbsp;{{#if:{{{color|}}}|{{Color Icons|{{{color}}}}}}}
+
-->{{#if:{{{name|}}}|&#58; {{{name}}} &nbsp;{{#if:{{{color|}}}|{{Color Icons|{{{color}}}|16}}}}
 
{{!}}-
 
{{!}}-
 
{{!}} '''Side''': {{ucfirst:{{{side}}}}}{{#if:{{{image|}}}|<br>
 
{{!}} '''Side''': {{ucfirst:{{{side}}}}}{{#if:{{{image|}}}|<br>
Line 91: Line 110:
 
-->* ''<small>{{Trim|{{{3}}}}}</small>''}}{{#if:{{{4|}}}|<!--
 
-->* ''<small>{{Trim|{{{3}}}}}</small>''}}{{#if:{{{4|}}}|<!--
 
-->* ''<small>{{Trim|{{{4}}}}}</small>''}}{{#if:{{{5|}}}|<!--
 
-->* ''<small>{{Trim|{{{4}}}}}</small>''}}{{#if:{{{5|}}}|<!--
 +
-->* ''<small>{{Trim|{{{5}}}}}</small>''}}{{#if:{{{6|}}}|<!--
 +
-->* ''<small>{{Trim|{{{6}}}}}</small>''}}{{#if:{{{7|}}}|<!--
 
-->* ''<small>{{Trim|{{{5}}}}}</small>''}} |<br>
 
-->* ''<small>{{Trim|{{{5}}}}}</small>''}} |<br>
 
{{!}} ''<small>A '''permanent support''' affects play on one or more nodes.</small>''
 
{{!}} ''<small>A '''permanent support''' affects play on one or more nodes.</small>''
 
}}
 
}}
 
|}</includeonly>
 
|}</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.