Difference between revisions of "Template:Bonus cards row"

From mtgpq wiki
Jump to: navigation, search
 
Line 12: Line 12:
 
</noinclude><includeonly>{{#if:{{{1|}}}|&nbsp;
 
</noinclude><includeonly>{{#if:{{{1|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} '''Turn {{#explode:{{{1}}}|:|0}}:''' {{Card URL|{{#explode:{{{1}}}|:|1}}}}}}</includeonly>
+
{{!}} '''Turn {{#explode:{{{1}}}|:|0}}:''' {{#ifexpr: {{#len:{{Card data: {{#explode:{{{1}}}|:|1}}|2}}}} = 3|<!--
 +
-->{{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