Difference between revisions of "Template:Supercharged"

From mtgpq wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
The following shorthand:
 
The following shorthand:
 
<pre><nowiki>
 
<pre><nowiki>
{{Supercharged|both|5}}
 
 
{{Supercharged|enemy|3}}
 
{{Supercharged|enemy|3}}
 +
{{Supercharged|both|0}}
 
</nowiki></pre>
 
</nowiki></pre>
  
 
Produces:
 
Produces:
  
{{Supercharged|both|5}}
 
 
{{Supercharged|enemy|3}}
 
{{Supercharged|enemy|3}}
 +
{{Supercharged|both|0}}
 +
 +
[[Category:Event tip templates]]
  
 
</noinclude><includeonly>{| class="wikitable"
 
</noinclude><includeonly>{| class="wikitable"
 
! style="text-align:left" | {{Event Icon|supercharged}} Supercharged
 
! style="text-align:left" | {{Event Icon|supercharged}} Supercharged
! Side:
+
| '''Side:''' {{ucfirst:{{{1}}}}}
| {{ucfirst:{{{1}}}}}
+
| {{#ifeq:{{{2}}}|0|'''Immediate'''|'''Turns:''' {{{2}}}}}
! Turns:
 
| {{{2}}}
 
 
|-
 
|-
| colspan="5" | <small>''After {{{2}}} turns, {{#ifeq:{{{1}}}|both|
+
| colspan="5" | <small>''<!--
  both players become '''supercharged''' and gain|
+
-->{{#ifeq:{{{2}}}|0|At the start of the game|After {{{2}}} turn{{#ifeq:{{{2}}}|1||s}}}},&nbsp;<!--
  the {{{1}}} becomes '''supercharged''' and gains
+
-->{{#ifeq:{{{1}}}|both|<!--
}} +3 mana on each match.''</small>
+
-->both players become '''supercharged''' and gain|<!--
 +
-->the {{{1}}} becomes '''supercharged''' and gains<!--
 +
-->}} +3 mana on each match.''</small>
 
|}</includeonly>
 
|}</includeonly>
 
[[Category:Event tip templates]]
 

Latest revision as of 10:25, 11 March 2019

Usage

Displays the supercharged feature of an event.

  • The first parameter is which side (player, enemy, or both) the Supercharged status affects.
  • The second parameter is the turn on which the Supercharged status activates.

Example

The following shorthand:

{{Supercharged|enemy|3}}
{{Supercharged|both|0}}

Produces:

Supercharged (bonus mana) Supercharged Side: Enemy Turns: 3
After 3 turns, the enemy becomes supercharged and gains +3 mana on each match.
Supercharged (bonus mana) Supercharged Side: Both Immediate
At the start of the game, both players become supercharged and gain +3 mana on each match.