Difference between revisions of "Template:Deck List"
ElfNeedsFood (talk | contribs) m (Updated parameters section.) |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
| − | The Deck List template | + | == Usage == |
| + | The Deck List template displays the contents of a deck in a table with sortable columns. When used in event descriptions, it is often coupled with the [[Template:Enemy Stats]] Template. | ||
| − | + | The only parameter is the card name. It must match the corresponding card template name. | |
| − | |||
| − | The | ||
== Example == | == Example == | ||
| − | The following | + | The following shorthand: |
| − | |||
<pre><nowiki> | <pre><nowiki> | ||
| − | |||
| − | |||
| − | |||
{{Deck List | {{Deck List | ||
|Champion of Wits | |Champion of Wits | ||
| Line 22: | Line 17: | ||
|Endless Sands | |Endless Sands | ||
|Imaginary Threats | |Imaginary Threats | ||
| − | | | + | |Kefnet's Last Word |
|Riddleform | |Riddleform | ||
|Swarm Intelligence | |Swarm Intelligence | ||
}} | }} | ||
| − | |||
</nowiki></pre> | </nowiki></pre> | ||
| + | Produces: | ||
{{Deck List | {{Deck List | ||
|Champion of Wits | |Champion of Wits | ||
| Line 37: | Line 32: | ||
|Endless Sands | |Endless Sands | ||
|Imaginary Threats | |Imaginary Threats | ||
| − | | | + | |Kefnet's Last Word |
|Riddleform | |Riddleform | ||
|Swarm Intelligence | |Swarm Intelligence | ||
| Line 43: | Line 38: | ||
</noinclude><includeonly>{| class="wikitable sortable mw-collapsible" | </noinclude><includeonly>{| class="wikitable sortable mw-collapsible" | ||
| − | !Card name || Type || Cost || Color || | + | !Card name || Type || Cost || Color || Rarity || Set<!-- |
-->{{#if:{{{1|}}}|{{Deck List Row|{{{1}}}}}}}<!-- | -->{{#if:{{{1|}}}|{{Deck List Row|{{{1}}}}}}}<!-- | ||
-->{{#if:{{{2|}}}|{{Deck List Row|{{{2}}}}}}}<!-- | -->{{#if:{{{2|}}}|{{Deck List Row|{{{2}}}}}}}<!-- | ||
Latest revision as of 08:52, 15 March 2019
Usage
The Deck List template displays the contents of a deck in a table with sortable columns. When used in event descriptions, it is often coupled with the Template:Enemy Stats Template.
The only parameter is the card name. It must match the corresponding card template name.
Example
The following shorthand:
{{Deck List
|Champion of Wits
|Ominous Sphinx
|The Locust God
|Unesh, Criosphinx Sovereign
|Vizier of the Anointed
|Endless Sands
|Imaginary Threats
|Kefnet's Last Word
|Riddleform
|Swarm Intelligence
}}
Produces:
| Card name | Type | Cost | Color | Rarity | Set |
|---|---|---|---|---|---|
| Champion of Wits | 9 | ||||
| Ominous Sphinx | 22 | ||||
| The Locust God | 22 | ||||
| Unesh, Criosphinx Sovereign | 16 | ||||
| Vizier of the Anointed | 10 | ||||
| Endless Sands | 12 | ||||
| Imaginary Threats | 5 | ||||
| Kefnet's Last Word | 11 | ||||
| Riddleform | 7 | ||||
| Swarm Intelligence | 13 |