Difference between revisions of "Template:Bonus cards row"

From mtgpq wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
The only parameter is a colon-separated pair of values: A turn number, and a card name.
 
The only parameter is a colon-separated pair of values: A turn number, and a card name.
 +
 +
{| class="wikitable"
 +
{{Bonus cards row|1:Blue Sun's Zenith}}
 +
|}
  
 
</noinclude><includeonly>{{#if:{{{1|}}}|&nbsp;
 
</noinclude><includeonly>{{#if:{{{1|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} {{#explode:{{{1}}}|:|0}}
+
{{!}} '''Turn {{#explode:{{{1}}}|:|0}}:''' {{#ifexpr: {{#len:{{Card data: {{#explode:{{{1}}}|:|1}}|2}}}} = 3|<!--
{{!}} [[{{#explode:{{{1}}}|:|1}}]]}}</includeonly>
+
-->{{Card URL|{{#explode:{{{1}}}|:|1}}}}&nbsp;{{Card stats inline|{{#explode:{{{1}}}|:|1}}|cost,type,rarity}}|<!--
 +
-->{{#explode:{{{1}}}|:|1}}}}}}</includeonly>

Latest revision as of 04:58, 14 December 2019

Usage

A row in Template:Bonus cards.

The only parameter is a colon-separated pair of values: A turn number, and a card name.

 
Turn 1: Blue Sun's Zenith 6 · Spells · Masterpiece