Open main menu

mtgpq wiki β

Changes

Template:Deck List Mini

445 bytes added, 06:02, 22 February 2019
no edit summary
== Parameters ==
* name(optional): The name of the deck.* pw(optional): The planeswalker for the deck.* show(optional): A comma-separated list of fields 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
** set - The set containing the card
** legacy - A legacy banner if the card is from a legacy set
* 1-(up to 10unlabeled parameters): The name names of a card cards in the deck list.* notes(optional): Notes about the deck, such as how to play it. == Example == The following is an example of how to use this template to document a deck list:
== Example ==
<pre><nowiki>
{{Deck List Mini
|name=Deck name|pw=Jace, Telepath Unbound|show=cost,type,rarity,color|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,color|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.
}}
}}
}}<!--
-->{{#if:{{{1|}}}|{{Deck List Row Mini|{{{1}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{2|}}}|{{Deck List Row Mini|{{{2}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{3|}}}|{{Deck List Row Mini|{{{3}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{4|}}}|{{Deck List Row Mini|{{{4}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{5|}}}|{{Deck List Row Mini|{{{5}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{6|}}}|{{Deck List Row Mini|{{{6}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{7|}}}|{{Deck List Row Mini|{{{7}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{8|}}}|{{Deck List Row Mini|{{{8}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{9|}}}|{{Deck List Row Mini|{{{9}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!---->{{#if:{{{10|}}}|{{Deck List Row Mini|{{{10}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}
{{#if:{{{notes|}}}|
{{!}}-
{{!}} colspan="2" {{!}} <small>{{{notes}}}</small>}}
|}</includeonly>