Difference between revisions of "Template:Deck List Row"
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
+ | ==Usage== | ||
A row in [[Template:Deck_List]]. | A row in [[Template:Deck_List]]. | ||
− | + | The only parameter is the card name. | |
− | |||
− | |||
− | == Example == | + | ==Example== |
− | This | + | |
+ | This mark-up: | ||
<pre><nowiki> | <pre><nowiki> | ||
− | {{Deck List Row| | + | {{Deck List Row|Zetalpa, Primal Dawn}} |
</nowiki></pre> | </nowiki></pre> | ||
− | Produces | + | Produces: |
− | {{Deck List Row| | + | {{Deck List Row|Zetalpa, Primal Dawn}} |
</noinclude><includeonly>|- | </noinclude><includeonly>|- | ||
− | + | {{#ifexist: Template:Card data: {{{1}}}| | |
− | |{{#ifeq:{{ | + | {{!}} [[{{#explode:{{Card data|{{{1}}}}}|{{!}}|0}}]] <!--Name--> |
− | -->{{#ifeq:{{ | + | {{!}} {{{{#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}}|Support| ({{#explode:{{Card data|{{{1}}}}}|{{!}}|8}})}}}} |
+ | {{!}} {{#explode:{{Card data|{{{1}}}}}|{{!}}|4}} <!--Cost--> | ||
+ | {{!}} {{Color Icons|{{#explode:{{Card data|{{{1}}}}}|{{!}}|3}}}} <!--Color--> | ||
+ | {{!}} {{SetSymbol|{{#explode:{{Card data|{{{1}}}}}|{{!}}|1}}}} <small>[[{{#explode:{{Card data|{{{1}}}}}|{{!}}|1}}]]</small> <!--Set--> | ||
+ | {{!}} {{Rarity|{{#explode:{{Card data|{{{1}}}}}|{{!}}|2}}}} <!--Rarity--> | ||
+ | |{{!}} {{{1}}} | ||
+ | {{!}} colspan="5" {{!}} ''Missing card data''}}</includeonly> |
Revision as of 08:31, 13 February 2019
Usage
A row in Template:Deck_List.
The only parameter is the card name.
Example
This mark-up:
{{Deck List Row|Zetalpa, Primal Dawn}}
Produces:
|- | Zetalpa, Primal Dawn | (4/8) | 19 | | | RIX