Difference between revisions of "Template:Starting cards row"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> ==Usage== A row in Template:Starting cards. The only parameter is a colon-separated pair of values: A string identifying who starts with the card or token, a...")
 
 
Line 23: Line 23:
 
|}
 
|}
  
</noinclude><includeonly>{{#if:{{{1|}}}|
+
</noinclude><includeonly>{{#if:{{{1|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
{{!}} '''{{{1}}}:''' {{#ifexpr: {{#len:{{Card data: {{{2}}}|2}}}} = 3|<!--
 
{{!}} '''{{{1}}}:''' {{#ifexpr: {{#len:{{Card data: {{{2}}}|2}}}} = 3|<!--
 
-->{{Card URL|{{{2}}}}}{{Card stats inline|{{{2}}}|type,rarity}}|<!--
 
-->{{Card URL|{{{2}}}}}{{Card stats inline|{{{2}}}|type,rarity}}|<!--
 
-->{{{2}}}}}}}</includeonly>
 
-->{{{2}}}}}}}</includeonly>

Latest revision as of 04:46, 14 December 2019

Usage

A row in Template:Starting cards.

The only parameter is a colon-separated pair of values: A string identifying who starts with the card or token, and the card or token name.

Example

The following shorthand:

{| class="wikitable"
{{Starting cards row|enemy|Boar {{Ability|Token}}}}
{{Starting cards row|enemy|Harbinger of the Tides}}
|}

Produces:

 
enemy: Boar TokenToken

 

enemy: Harbinger of the Tides · Creatures (4/4) · Rare