Difference between revisions of "Template:Deck List"
(11 intermediate revisions by 2 users 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 |
− | |Ominous Sphinx | + | |Ominous Sphinx |
− | |The Locust God | + | |The Locust God |
− | |Unesh, Criosphinx Sovereign | + | |Unesh, Criosphinx Sovereign |
− | |Vizier of the Anointed | + | |Vizier of the Anointed |
− | |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 |
− | |Ominous Sphinx | + | |Ominous Sphinx |
− | |The Locust God | + | |The Locust God |
− | |Unesh, Criosphinx Sovereign | + | |Unesh, Criosphinx Sovereign |
− | |Vizier of the Anointed | + | |Vizier of the Anointed |
− | |Endless Sands | + | |Endless Sands |
− | |Imaginary Threats | + | |Imaginary Threats |
− | | | + | |Kefnet's Last Word |
− | |Riddleform | + | |Riddleform |
− | |Swarm Intelligence | + | |Swarm Intelligence |
}} | }} | ||
</noinclude><includeonly>{| class="wikitable sortable mw-collapsible" | </noinclude><includeonly>{| class="wikitable sortable mw-collapsible" | ||
− | !Card name || Type || Cost || Color || Set || | + | !Card name || Type || Cost || Color || Rarity || Set<!-- |
− | {{Deck List Row | + | -->{{#if:{{{1|}}}|{{Deck List Row|{{{1}}}}}}}<!-- |
− | {{Deck List Row | + | -->{{#if:{{{2|}}}|{{Deck List Row|{{{2}}}}}}}<!-- |
− | {{Deck List Row | + | -->{{#if:{{{3|}}}|{{Deck List Row|{{{3}}}}}}}<!-- |
− | {{Deck List Row | + | -->{{#if:{{{4|}}}|{{Deck List Row|{{{4}}}}}}}<!-- |
− | {{Deck List Row | + | -->{{#if:{{{5|}}}|{{Deck List Row|{{{5}}}}}}}<!-- |
− | {{Deck List Row | + | -->{{#if:{{{6|}}}|{{Deck List Row|{{{6}}}}}}}<!-- |
− | {{Deck List Row | + | -->{{#if:{{{7|}}}|{{Deck List Row|{{{7}}}}}}}<!-- |
− | {{Deck List Row | + | -->{{#if:{{{8|}}}|{{Deck List Row|{{{8}}}}}}}<!-- |
− | {{Deck List Row | + | -->{{#if:{{{9|}}}|{{Deck List Row|{{{9}}}}}}}<!-- |
− | {{Deck List Row | + | -->{{#if:{{{10|}}}|{{Deck List Row|{{{10}}}}}}}<!-- |
+ | -->{{#if:{{{11|}}}|{{Deck List Row|{{{11}}}}}}}<!-- | ||
+ | -->{{#if:{{{12|}}}|{{Deck List Row|{{{12}}}}}}} | ||
|}</includeonly> | |}</includeonly> |
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 | (2/1) | 9 | HOU | ||
Ominous Sphinx | (6/6) | 22 | HOU | ||
The Locust God | (8/8) | 22 | HOU | ||
Unesh, Criosphinx Sovereign | (8/8) | 16 | HOU | ||
Vizier of the Anointed | (4/6) | 10 | HOU | ||
Endless Sands | 12 | HOU | |||
Imaginary Threats | 5 | HOU | |||
Kefnet's Last Word | 11 | HOU | |||
Riddleform | (2) | 7 | HOU | ||
Swarm Intelligence | (4) | 13 | HOU |