Changes

Jump to: navigation, search

Template:Deck List Mini

1,024 bytes added, 06:02, 22 February 2019
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:{{{pw|}}}| ! colspan="2" style="text-align:left" {{!}}}<small>Planeswalker:</small> [[{{Trim|{{{1pw}}}}}]] }}}}<!---->{{#if:{{{31|}}}|{{Deck List Row Mini|{{{31}}}|{{#if:{{{show|}}}|{{{1show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{42|}}}|{{Deck List Row Mini|{{{42}}}|{{#if:{{{show|}}}|{{{1show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{53|}}}|{{Deck List Row Mini|{{{53}}}|{{#if:{{{show|}}}|{{{1show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{64|}}}|{{Deck List Row Mini|{{{64}}}|{{#if:{{{show|}}}|{{{1show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{75|}}}|{{Deck List Row Mini|{{{75}}}|{{#if:{{{show|}}}|{{{1show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{86|}}}|{{Deck List Row Mini|{{{86}}}|{{#if:{{{show|}}}|{{{1show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{97|}}}|{{Deck List Row Mini|{{{97}}}|{{#if:{{{show|}}}|{{{1show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{108|}}}|{{Deck List Row Mini|{{{108}}}|{{#if:{{{show|}}}|{{{1show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{119|}}}|{{Deck List Row Mini|{{{119}}}|{{#if:{1{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{1210|}}}|{{Deck List Row Mini|{{{1210}}}|{{#if:{1{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{13notes|}}}|{{!}}-{Deck List Row Mini|{!}} colspan="2" {{13!}}}|<small>{{{1}}notes}}}</small>}}
|}</includeonly>

Navigation menu