Open main menu

mtgpq wiki β

Changes

Template:Deck List Mini

625 bytes added, 07:08, 17 February 2019
no edit summary
== Parameters ==
* name: The first parameter is a name of the deck.* pw: The planeswalker for the deck.* show: A comma-separated list of fields which will be shown for each card to show in the deck list. This 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 * 1-10: The remaining parameters are the names name of the cards to show a card in the deck list. These must match * notes: Notes about the corresponding card template namesdeck, such as how to play it.
== Example ==
<pre><nowiki>
{{Deck List Mini
|name=Deck name|pw=Jace, Telepath Unbound|show=cost,type,rarity|1=Champion of Wits|2=Ominous Sphinx|3=The Locust God|4=Unesh, Criosphinx Sovereign|5=Vizier of the Anointed|6=Endless Sands|7=Imaginary Threats|8=Kefnet's Last Word|9=Riddleform|10=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|1=Champion of Wits|2=Ominous Sphinx|3=The Locust God|4=Unesh, Criosphinx Sovereign|5=Vizier of the Anointed|6=Endless Sands|7=Imaginary Threats|8=Kefnet's Last Word|9=Riddleform|10=Swarm Intelligence|notes=Example notes about how to play the deck.
}}
</noinclude><includeonly>{| class="wikitable"
!Card {{#if:{{{name |}}}| Details< {{#if:{{{pw|}}}| !colspan="2" style="text-align:left" {{!}} {{{name}}} {{!}}- ! colspan="2" style="text-align:left" {{!}} <small>Planeswalker:</small> [[{{Trim|{{{pw}}}}}]] | ! 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}}}|{{{1show}}}}}}}<!---->{{#if:{{{42|}}}|{{Deck List Row Mini|{{{42}}}|{{{1show}}}}}}}<!---->{{#if:{{{53|}}}|{{Deck List Row Mini|{{{53}}}|{{{1show}}}}}}}<!---->{{#if:{{{64|}}}|{{Deck List Row Mini|{{{64}}}|{{{1show}}}}}}}<!---->{{#if:{{{75|}}}|{{Deck List Row Mini|{{{75}}}|{{{1show}}}}}}}<!---->{{#if:{{{86|}}}|{{Deck List Row Mini|{{{86}}}|{{{1show}}}}}}}<!---->{{#if:{{{97|}}}|{{Deck List Row Mini|{{{97}}}|{{{1show}}}}}}}<!---->{{#if:{{{108|}}}|{{Deck List Row Mini|{{{108}}}|{{{1show}}}}}}}<!---->{{#if:{{{119|}}}|{{Deck List Row Mini|{{{119}}}|{{{1show}}}}}}}<!---->{{#if:{{{1210|}}}|{{Deck List Row Mini|{{{1210}}}|{{{1show}}}}}}}<!---->{{#if:{{{13notes|}}}|{{Deck List Row Mini|!}}-{{!}} colspan="2" {{13!}}}|{{{1}}notes}}}}}
|}</includeonly>