7,180
edits
Changes
no edit summary
== Parameters ==
* name (optional): The name of the deck.* pw (optional): The first parameter is a planeswalker for the deck.* show (optional): A comma-separated list of fields which will be shown for each card to show in the deck list. This Default: "cost,type,rarity". The fields are presented in the fixed order below, and may be one or more of:** cost - The cost in mana of the card** type - The type of the card, along with P/T for creatures and shields for supports** color - The color of the card** rarity - The rarity of the card** set - The set containing the card** legacy - A legacy banner if the card is from a legacy set * (up to 10 unlabeled parameters): The remaining parameters are the names of the cards to show in the deck list. These must match * notes (optional): Notes about the corresponding card template names. == Example == The following is an example of deck, such as how to use this template to document a deck list:play it.
== Example ==
<pre><nowiki>
{{Deck List Mini
|name = Deck name|pw = Jace, Telepath Unbound|show = cost,type,rarity,color|Champion of Wits|Ominous Sphinx|The Locust God|Unesh, Criosphinx Sovereign|Vizier of the Anointed|Endless Sands|Imaginary Threats|Kefnet’s Kefnet's Last Word|Riddleform|Swarm Intelligence|notes = Example notes about how to play the deck.
}}
</nowiki></pre>
Produces:
{{Deck List Mini
|name = Deck name|pw = Jace, Telepath Unbound|show = cost,type,rarity,color|Champion of Wits|Ominous Sphinx|The Locust God|Unesh, Criosphinx Sovereign|Vizier of the Anointed|Endless Sands|Imaginary Threats|Kefnet’s Kefnet's Last Word|Riddleform|Swarm Intelligence|notes = Example notes about how to play the deck.
}}
</noinclude><includeonly>{| class="wikitable"{{#if:{{{name|}}}| {{Deck List Row Mini|#if:{{{2pw|}}}| ! colspan="2" style="text-align:left" {{!}} {{{1name}}} {{!}}- {| class ! colspan="2" style="wikitabletext-align:left"{{!Card name }} <small>Planeswalker:</small> [[{{Trim|{{{pw}}}}}]] | Details< !colspan="2" style="text--align:left" {{!}} {{{name}}} }}-->}}{{#if:{{{2name|}}}|| {{Deck List Row Mini|#if:{{{1pw|}}}| ! colspan="2" style="text-align:left" {{!}} <small>Planeswalker:</small> [[{{Trim|{{{2pw}}}}}]] }}}}<!---->{{#if:{{{31|}}}|{{Deck List Row Mini|{{{1}}}|{{#if:{{{show|}}}|{{{3show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{42|}}}|{{Deck List Row Mini|{{{12}}}|{{#if:{{{show|}}}|{{{4show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{53|}}}|{{Deck List Row Mini|{{{13}}}|{{#if:{{{show|}}}|{{{5show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{64|}}}|{{Deck List Row Mini|{{{14}}}|{{#if:{{{show|}}}|{{{6show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{75|}}}|{{Deck List Row Mini|{{{15}}}|{{#if:{{{show|}}}|{{{7show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{86|}}}|{{Deck List Row Mini|{{{16}}}|{{#if:{{{show|}}}|{{{8show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{97|}}}|{{Deck List Row Mini|{{{17}}}|{{#if:{{{show|}}}|{{{9show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{108|}}}|{{Deck List Row Mini|{{{18}}}|{{#if:{{{show|}}}|{{{10show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{119|}}}|{{Deck List Row Mini|{{{19}}}|{{#if:{{{show|}}}|{{{11show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{1210|}}}|{{Deck List Row Mini|{{{110}}}|{{#if:{{{show|}}}|{{{12show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{13notes|}}}|{{!}}-{Deck List Row Mini|{!}} colspan="2" {{1!}}}|<small>{{{13}}notes}}}</small>}}
|}</includeonly>