Difference between revisions of "Template:Legendary"

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

Revision as of 09:31, 1 March 2019

Usage

Displays the legendary feature of an event.

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

Example

The following shorthand:

{{Legendary|enemy|3}}
{{Legendary|both|0}}

Produces:

Legendary (2x damage and bonus mana) Legendary Side: Enemy Turns: 3
After 3 turns, the enemy becomes legendary, dealing double damage, gaining +3 mana on each match, and drawing an extra card each turn.
Legendary (2x damage and bonus mana) Legendary Side: Both Immediate
At the start of the game, both players become legendary, dealing double damage, gaining +3 mana on each match, and drawing an extra card each turn.