Difference between revisions of "Template:Deck List Row"
Line 40: | Line 40: | ||
{{!}} {{Color Icons|{{Card data: {{{1}}}|4}}}} <!--Color--> | {{!}} {{Color Icons|{{Card data: {{{1}}}|4}}}} <!--Color--> | ||
{{!}} {{Rarity|{{Card data: {{{1}}}|3}}}} <!--Rarity--> | {{!}} {{Rarity|{{Card data: {{{1}}}|3}}}} <!--Rarity--> | ||
− | {{!}} {{SetSymbol|{{Card data: {{{1}}}|2}}}} | + | {{!}} {{SetSymbol|{{Card data: {{{1}}}|2}}}} [[{{Card data: {{{1}}}|2}}]]<!-- |
-->{{#if:{{#pos:{{StandardSetList}}|{{Card data: {{{1}}}|2}}}}|| [[File:Legacy-bg.png|x18px|link=Legacy|Legacy]]}}<!-- Set | -->{{#if:{{#pos:{{StandardSetList}}|{{Card data: {{{1}}}|2}}}}|| [[File:Legacy-bg.png|x18px|link=Legacy|Legacy]]}}<!-- Set | ||
-->|{{!}} colspan="5" {{!}} ''Missing card data''}}}}</includeonly> | -->|{{!}} colspan="5" {{!}} ''Missing card data''}}}}</includeonly> |
Revision as of 00:46, 17 February 2019
Usage
A row in Template:Deck_List.
The only parameter is the card name. A missing card name produces no output.
Example
The following shorthand:
On its own: {{Deck List Row|Zetalpa, Primal Dawn}} In a table: {| class="wikitable" !Card name || Type || Cost || Color || Rarity || Set<!-- -->{{Deck List Row|Zetalpa, Primal Dawn}}<!-- -->{{Deck List Row|Crush of Tentacles}} |}
Produces:
On its own:
|-
| Zetalpa, Primal Dawn
| (4/8)
| 19
|
|
|
RIX
In a table:
Card name | Type | Cost | Color | Rarity | Set |
---|---|---|---|---|---|
Zetalpa, Primal Dawn | ![]() |
19 | ![]() |
![]() |
![]() ![]() |
Crush of Tentacles | ![]() |
21 | ![]() |
![]() |
![]() ![]() |