Difference between revisions of "Template:Deck List Row"

From mtgpq wiki
Jump to: navigation, search
Line 16: Line 16:
 
{{Deck List Row|Zetalpa, Primal Dawn}}
 
{{Deck List Row|Zetalpa, Primal Dawn}}
  
</noinclude><includeonly>{{#if:{{{1|}}}|
+
</noinclude><includeonly>{{#if:{{{1|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
 
{{!}} [[{{#explode:{{Card data|{{{1}}}}}|{{!}}|0}}]]            <!--Name-->
 
{{!}} [[{{#explode:{{Card data|{{{1}}}}}|{{!}}|0}}]]            <!--Name-->
Line 26: Line 26:
 
{{!}} {{Color Icons|{{#explode:{{Card data|{{{1}}}}}|{{!}}|3}}}} <!--Color-->
 
{{!}} {{Color Icons|{{#explode:{{Card data|{{{1}}}}}|{{!}}|3}}}} <!--Color-->
 
{{!}} {{SetSymbol|{{#explode:{{Card data|{{{1}}}}}|{{!}}|1}}}} <small>[[{{#explode:{{Card data|{{{1}}}}}|{{!}}|1}}]]</small>  <!--Set-->
 
{{!}} {{SetSymbol|{{#explode:{{Card data|{{{1}}}}}|{{!}}|1}}}} <small>[[{{#explode:{{Card data|{{{1}}}}}|{{!}}|1}}]]</small>  <!--Set-->
{{!}} {{Rarity|{{#explode:{{Card data|{{{1}}}}}|{{!}}|2}}}}      <!--Rarity-->
+
{{!}} {{Rarity|{{#explode:{{Card data|{{{1}}}}}|{{!}}|2}}}}      <!--Rarity
|{{!}} colspan="5" {{!}} ''Missing card data''}}
+
-->|{{!}} colspan="5" {{!}} ''Missing card data''}}}}</includeonly>
}}</includeonly>
 

Revision as of 09:40, 13 February 2019

Usage

A row in Template:Deck_List.

The only parameter is the card name. A missing card name produces no output.

Example

This mark-up:

{{Deck List Row|Zetalpa, Primal Dawn}}

Produces:

  |- | Zetalpa, Primal Dawn | Creatures (4/8) | 19 | White | Mythic | Rivals of Ixalan RIX Legacy