Open main menu

mtgpq wiki β

Template:Card List

Revision as of 06:00, 26 February 2019 by Volrak (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

The Card List template displays a list of cards in a table with sortable columns.

This template is similar to Template:Deck List. The main difference is that the Card List template provides a much larger upper limit on the number of cards (150 cards). Card List also allows you to select which columns to show.

Parameters

  • name (optional): The name to show with the card list.
  • show (optional): A comma-separated list of fields for each card to show in the list. 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
  • collapsed - Y or N (optional, default=N). Whether to make the table collapsed.
  • (up to 150 unlabeled parameters): The names of cards in the list.
  • notes (optional): Notes about the card list.

Example

The following shorthand:

{{Card List
|name = Blue cards
|show = cost,type,color,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:

Blue cards
Name Type
Cost
Color
Rarity
Champion of Wits Creatures (2/1) 9 Blue Rare 
Ominous Sphinx Creatures (6/6) 22 Blue Rare 
The Locust God Creatures (8/8) 22 BlueRed Mythic 
Unesh, Criosphinx Sovereign Creatures (8/8) 16 Blue Mythic 
Vizier of the Anointed Creatures (4/6) 10 Blue Rare 
Endless Sands Spells 12 Colorless Rare 
Imaginary Threats Spells 5 Blue Rare 
Kefnet's Last Word Spells 11 Blue Rare 
Riddleform Supports (2) 7 Blue Uncommon 
Swarm Intelligence Supports (4) 13 Blue Mythic