Difference between revisions of "Template:Deck List Row"
(Tag: Undo) |
|||
| Line 19: | Line 19: | ||
{{!}}- | {{!}}- | ||
{{!}} [[{{#explode:{{Card data|{{{1}}}}}|{{!}}|0}}]] <!--Name--> | {{!}} [[{{#explode:{{Card data|{{{1}}}}}|{{!}}|0}}]] <!--Name--> | ||
| − | {{!}} {{{{#explode:{{Card data|{{{1}}}}}|{{!}}|5}}s}}<!-- Type with (P/T) or (shields) | + | {{#ifexist: Template:Card data: {{{1}}}|<!-- |
| + | -->{{!}} {{{{#explode:{{Card data|{{{1}}}}}|{{!}}|5}}s}}<!-- Type with (P/T) or (shields) | ||
-->{{#ifeq:{{#explode:{{Card data|{{{1}}}}}|{{!}}|5}}|Creature| ({{#explode:{{Card data|{{{1}}}}}|{{!}}|7}})|<!-- | -->{{#ifeq:{{#explode:{{Card data|{{{1}}}}}|{{!}}|5}}|Creature| ({{#explode:{{Card data|{{{1}}}}}|{{!}}|7}})|<!-- | ||
-->{{#ifeq:{{#explode:{{Card data|{{{1}}}}}|{{!}}|5}}|Support| ({{#explode:{{Card data|{{{1}}}}}|{{!}}|8}})}}}} | -->{{#ifeq:{{#explode:{{Card data|{{{1}}}}}|{{!}}|5}}|Support| ({{#explode:{{Card data|{{{1}}}}}|{{!}}|8}})}}}} | ||
| Line 25: | 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|{{#explode:{{Card data|{{{1}}}}}|{{!}}|2}}}} <!--Rarity |
| + | -->|{{!}} colspan="5" {{!}} ''Missing card data''}}}}</includeonly> | ||
Revision as of 10:42, 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