Difference between revisions of "Template:Deck List Row Mini"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> ==Usage== A row in Template:Deck_List_Mini. See also Template:Deck_List and Template:Deck_List_Row. The first parameter is the card name. The secon...")
(No difference)

Revision as of 04:32, 17 February 2019

Usage

A row in Template:Deck_List_Mini.

See also Template:Deck_List and Template:Deck_List_Row.

The first parameter is the card name.

The second field is a comma-separated list of parameters indicate the fields to display.

The possible fields are:

  • 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

Fields are always displayed in the order above.

Example

The following shorthand:

On its own: {{Deck List Row Mini|Zetalpa, Primal Dawn|cost,type,color,rarity,set,legacy}}

In a table:
{| class="wikitable"
!Card name || Details<!--
-->{{Deck List Row Mini|Zetalpa, Primal Dawn|cost,type,rarity}}<!--
-->{{Deck List Row Mini|Crush of Tentacles|cost,type,rarity}}<!--
-->{{Deck List Row Mini|Time of Ice|cost,type,rarity}}<!--
-->{{Deck List Row Mini|Storm the Vault|cost,type,rarity}}
|}

Produces:

On its own:   |- | style="border-right:solid 0px;" | Zetalpa, Primal Dawn | style="border-left:solid 0px;" |19 · Creatures (4/8) · White · Mythic · Rivals of Ixalan · Legacy

In a table:

Card name Details 
Zetalpa, Primal Dawn 19 · Creatures (4/8) · Mythic 
Crush of Tentacles 21 · Spells · Mythic 
Time of Ice 18 · Supports (2) · Uncommon 
Storm the Vault 11 · Supports (4) · Rare