Difference between revisions of "Template:Deck List Mini"

From mtgpq wiki
Jump to: navigation, search
(Undo revision 7209 by Volrak (talk))
(Tag: Undo)
Line 59: Line 59:
 
{| class="wikitable"
 
{| class="wikitable"
 
!Card name || Details<!--
 
!Card name || Details<!--
-->{{#if:{{{2|}}}|{{Deck List Row Mini|{{{1}}}|{{{2}}}}}}}<!--
+
-->{{#if:{{{2|}}}|{{Deck List Row Mini|{{{2}}}|{{{1}}}}}}}<!--
-->{{#if:{{{3|}}}|{{Deck List Row Mini|{{{1}}}|{{{3}}}}}}}<!--
+
-->{{#if:{{{3|}}}|{{Deck List Row Mini|{{{3}}}|{{{1}}}}}}}<!--
-->{{#if:{{{4|}}}|{{Deck List Row Mini|{{{1}}}|{{{4}}}}}}}<!--
+
-->{{#if:{{{4|}}}|{{Deck List Row Mini|{{{4}}}|{{{1}}}}}}}<!--
-->{{#if:{{{5|}}}|{{Deck List Row Mini|{{{1}}}|{{{5}}}}}}}<!--
+
-->{{#if:{{{5|}}}|{{Deck List Row Mini|{{{5}}}|{{{1}}}}}}}<!--
-->{{#if:{{{6|}}}|{{Deck List Row Mini|{{{1}}}|{{{6}}}}}}}<!--
+
-->{{#if:{{{6|}}}|{{Deck List Row Mini|{{{6}}}|{{{1}}}}}}}<!--
-->{{#if:{{{7|}}}|{{Deck List Row Mini|{{{1}}}|{{{7}}}}}}}<!--
+
-->{{#if:{{{7|}}}|{{Deck List Row Mini|{{{7}}}|{{{1}}}}}}}<!--
-->{{#if:{{{8|}}}|{{Deck List Row Mini|{{{1}}}|{{{8}}}}}}}<!--
+
-->{{#if:{{{8|}}}|{{Deck List Row Mini|{{{8}}}|{{{1}}}}}}}<!--
-->{{#if:{{{9|}}}|{{Deck List Row Mini|{{{1}}}|{{{9}}}}}}}<!--
+
-->{{#if:{{{9|}}}|{{Deck List Row Mini|{{{9}}}|{{{1}}}}}}}<!--
-->{{#if:{{{10|}}}|{{Deck List Row Mini|{{{1}}}|{{{10}}}}}}}<!--
+
-->{{#if:{{{10|}}}|{{Deck List Row Mini|{{{10}}}|{{{1}}}}}}}<!--
-->{{#if:{{{11|}}}|{{Deck List Row Mini|{{{1}}}|{{{11}}}}}}}<!--
+
-->{{#if:{{{11|}}}|{{Deck List Row Mini|{{{11}}}|{{{1}}}}}}}<!--
-->{{#if:{{{12|}}}|{{Deck List Row Mini|{{{1}}}|{{{12}}}}}}}<!--
+
-->{{#if:{{{12|}}}|{{Deck List Row Mini|{{{12}}}|{{{1}}}}}}}<!--
-->{{#if:{{{13|}}}|{{Deck List Row Mini|{{{1}}}|{{{13}}}}}}}
+
-->{{#if:{{{13|}}}|{{Deck List Row Mini|{{{13}}}|{{{1}}}}}}}
 
|}</includeonly>
 
|}</includeonly>

Revision as of 04:53, 17 February 2019

Usage

The Deck List Mini template displays deck contents in a skinny table, suitable for several deck lists appearing side-by-side.

Parameters

The first parameter is a comma-separated list of fields which will be shown 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

The remaining parameters are the names of the cards to show in the deck list. These must match the corresponding card template names.

Example

The following is an example of how to use this template to document a deck list:

Example

The following shorthand:

{{Deck List Mini
|cost,type,rarity
|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:

 
cost,type,rarity

Missing card data 
Champion of Wits · Creatures (2/1) · Rare 
Ominous Sphinx 22 · Creatures (6/6) · Rare 
The Locust God 22 · Creatures (8/8) · Mythic 
Unesh, Criosphinx Sovereign 16 · Creatures (8/8) · Mythic 
Vizier of the Anointed 10 · Creatures (4/6) · Rare 
Endless Sands 12 · Spells · Rare 
Imaginary Threats · Spells · Rare 
Kefnet’s Last Word

Missing card data 
Riddleform · Supports (2) · Uncommon