Difference between revisions of "Template:Bonus cards"
(Created page with "<noinclude> ==Usage== Creates a table 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 * T...") |
|||
| (3 intermediate revisions by the same user not shown) | |||
| 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 | ||
| − | + | 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 25: | Line 29: | ||
|3:Shanna, Sisay's Legacy | |3:Shanna, Sisay's Legacy | ||
}} | }} | ||
| + | |||
| + | [[Category:Event tip templates]] | ||
</noinclude><includeonly>{| class="wikitable" | </noinclude><includeonly>{| class="wikitable" | ||
| − | + | ||
| − | ! | + | ! 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> | ||
Latest revision as of 10:24, 11 March 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:
| Players draw additional bonus cards from outside their library | ||
| Turn 1: Weatherlight 16 · | |
| Turn 3: Shanna, Sisay's Legacy 12 · | |