Difference between revisions of "Template:Bonus cards"

From mtgpq wiki
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
Creates a table listing bonus card draws which are given in an event node.
+
Creates a table explaining bonus cards in an event, or listing bonus card draws which are given in an event node.
  
 
Each parameter is a pair of values, separated by a colon:
 
Each parameter is a pair of values, separated by a colon:
Line 7: Line 7:
 
* The name of the bonus card given at the start of that turn
 
* The name of the bonus card given at the start of that turn
  
Up to 5 parameters are accepted.
+
Zero to 5 parameters are accepted.
  
 
==Example==
 
==Example==
Line 13: Line 13:
 
The following shorthand:
 
The following shorthand:
 
<pre><nowiki>
 
<pre><nowiki>
 +
{{Bonus cards}}
 +
 
{{Bonus cards
 
{{Bonus cards
 
|1:Weatherlight
 
|1:Weatherlight
Line 20: Line 22:
  
 
Produces:
 
Produces:
 +
 +
{{Bonus cards}}
  
 
{{Bonus cards
 
{{Bonus cards
Line 27: Line 31:
  
 
</noinclude><includeonly>{| class="wikitable"
 
</noinclude><includeonly>{| class="wikitable"
! Bonus cards {{Event Icon|bonus_cards}}
+
 
! Turn<!--
+
! style="text-align:left" colspan="2" | {{Event Icon|bonus_cards}} Bonus cards<!--
-->{{#if:{{{1|}}}|{{Bonus cards row|{{{1}}}}}}}<!--
+
-->{{#if:{{{1|}}}|{{Bonus cards row|{{{1}}}}}<!--
 
-->{{#if:{{{2|}}}|{{Bonus cards row|{{{2}}}}}}}<!--
 
-->{{#if:{{{2|}}}|{{Bonus cards row|{{{2}}}}}}}<!--
 
-->{{#if:{{{3|}}}|{{Bonus cards row|{{{3}}}}}}}<!--
 
-->{{#if:{{{3|}}}|{{Bonus cards row|{{{3}}}}}}}<!--
 
-->{{#if:{{{4|}}}|{{Bonus cards row|{{{4}}}}}}}<!--
 
-->{{#if:{{{4|}}}|{{Bonus cards row|{{{4}}}}}}}<!--
-->{{#if:{{{5|}}}|{{Bonus cards row|{{{5}}}}}}}
+
-->{{#if:{{{5|}}}|{{Bonus cards row|{{{5}}}}}}}|<br>
 +
{{!}} ''<small>Players draw additional '''bonus cards''' from outside their library}}</small>''
 
|}</includeonly>
 
|}</includeonly>
  
 
[[Category:Event tip templates]]
 
[[Category:Event tip templates]]

Revision as of 04:16, 28 February 2019

Usage

Creates a table explaining bonus cards in an event, or listing bonus card draws which are given in an event node.

Each parameter is a pair of values, separated by a colon:

  • A turn number
  • The name of the bonus card given at the start of that turn

Zero to 5 parameters are accepted.

Example

The following shorthand:

{{Bonus cards}}

{{Bonus cards
|1:Weatherlight
|3:Shanna, Sisay's Legacy
}}

Produces:

Bonus cards Bonus cards
Players draw additional bonus cards from outside their library
Bonus cards Bonus cards 
Turn 1: Weatherlight 16 · Creatures (6/6) · Mythic 
Turn 3: Shanna, Sisay's Legacy 12 · Creatures (2/2) · Uncommon