Difference between revisions of "Template:Deck List Row"
Line 3: | Line 3: | ||
A row in [[Template:Deck_List]]. | A row in [[Template:Deck_List]]. | ||
− | The only parameter is the card name. | + | The only parameter is the card name. A missing card name produces no output. |
==Example== | ==Example== | ||
Line 16: | Line 16: | ||
{{Deck List Row|Zetalpa, Primal Dawn}} | {{Deck List Row|Zetalpa, Primal Dawn}} | ||
− | </noinclude><includeonly>|- | + | </noinclude><includeonly>{{#if:{{{1|}}}|{{!}}- |
{{!}} [[{{#explode:{{Card data|{{{1}}}}}|{{!}}|0}}]] <!--Name--> | {{!}} [[{{#explode:{{Card data|{{{1}}}}}|{{!}}|0}}]] <!--Name--> | ||
{{#ifexist: Template:Card data: {{{1}}}|<!-- | {{#ifexist: Template:Card data: {{{1}}}|<!-- | ||
Line 26: | Line 26: | ||
{{!}} {{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''}}</includeonly> | + | |{{!}} colspan="5" {{!}} ''Missing card data''}}}}</includeonly> |
Revision as of 08:44, 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 | (4/8) | 19 | | | RIX