Difference between revisions of "Template:Card List"

From mtgpq wiki
Jump to: navigation, search
Line 3: Line 3:
 
The Card List template displays a list of cards in a table with sortable columns.
 
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 (40 cards).  Card List also allows you to select which columns to show.
+
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 ==
 
== Parameters ==
Line 15: Line 15:
 
** set - The set containing the card
 
** set - The set containing the card
 
** legacy - A legacy banner if the card is from a legacy set
 
** legacy - A legacy banner if the card is from a legacy set
* (up to 40 unlabeled parameters): The names of cards in the list.
+
* (up to 150 unlabeled parameters): The names of cards in the list.
 
* notes (optional): Notes about the card list.
 
* notes (optional): Notes about the card list.
  
Line 108: Line 108:
 
-->{{#if:{{{38|}}}|{{Deck List Row|{{{38}}}|{{{show|}}}}}}}<!--
 
-->{{#if:{{{38|}}}|{{Deck List Row|{{{38}}}|{{{show|}}}}}}}<!--
 
-->{{#if:{{{39|}}}|{{Deck List Row|{{{39}}}|{{{show|}}}}}}}<!--
 
-->{{#if:{{{39|}}}|{{Deck List Row|{{{39}}}|{{{show|}}}}}}}<!--
-->{{#if:{{{40|}}}|{{Deck List Row|{{{40}}}|{{{show|}}}}}}}
+
-->{{#if:{{{40|}}}|{{Deck List Row|{{{40}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{41|}}}|{{Deck List Row|{{{41}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{42|}}}|{{Deck List Row|{{{42}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{43|}}}|{{Deck List Row|{{{43}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{44|}}}|{{Deck List Row|{{{44}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{45|}}}|{{Deck List Row|{{{45}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{46|}}}|{{Deck List Row|{{{46}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{47|}}}|{{Deck List Row|{{{47}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{48|}}}|{{Deck List Row|{{{48}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{49|}}}|{{Deck List Row|{{{49}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{50|}}}|{{Deck List Row|{{{50}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{51|}}}|{{Deck List Row|{{{51}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{52|}}}|{{Deck List Row|{{{52}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{53|}}}|{{Deck List Row|{{{53}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{54|}}}|{{Deck List Row|{{{54}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{55|}}}|{{Deck List Row|{{{55}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{56|}}}|{{Deck List Row|{{{56}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{57|}}}|{{Deck List Row|{{{57}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{58|}}}|{{Deck List Row|{{{58}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{59|}}}|{{Deck List Row|{{{59}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{60|}}}|{{Deck List Row|{{{60}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{61|}}}|{{Deck List Row|{{{61}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{62|}}}|{{Deck List Row|{{{62}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{63|}}}|{{Deck List Row|{{{63}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{64|}}}|{{Deck List Row|{{{64}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{65|}}}|{{Deck List Row|{{{65}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{66|}}}|{{Deck List Row|{{{66}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{67|}}}|{{Deck List Row|{{{67}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{68|}}}|{{Deck List Row|{{{68}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{69|}}}|{{Deck List Row|{{{69}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{70|}}}|{{Deck List Row|{{{70}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{71|}}}|{{Deck List Row|{{{71}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{72|}}}|{{Deck List Row|{{{72}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{73|}}}|{{Deck List Row|{{{73}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{74|}}}|{{Deck List Row|{{{74}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{75|}}}|{{Deck List Row|{{{75}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{76|}}}|{{Deck List Row|{{{76}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{77|}}}|{{Deck List Row|{{{77}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{78|}}}|{{Deck List Row|{{{78}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{79|}}}|{{Deck List Row|{{{79}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{80|}}}|{{Deck List Row|{{{80}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{81|}}}|{{Deck List Row|{{{81}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{82|}}}|{{Deck List Row|{{{82}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{83|}}}|{{Deck List Row|{{{83}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{84|}}}|{{Deck List Row|{{{84}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{85|}}}|{{Deck List Row|{{{85}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{86|}}}|{{Deck List Row|{{{86}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{87|}}}|{{Deck List Row|{{{87}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{88|}}}|{{Deck List Row|{{{88}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{89|}}}|{{Deck List Row|{{{89}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{90|}}}|{{Deck List Row|{{{90}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{91|}}}|{{Deck List Row|{{{91}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{92|}}}|{{Deck List Row|{{{92}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{93|}}}|{{Deck List Row|{{{93}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{94|}}}|{{Deck List Row|{{{94}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{95|}}}|{{Deck List Row|{{{95}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{96|}}}|{{Deck List Row|{{{96}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{97|}}}|{{Deck List Row|{{{97}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{98|}}}|{{Deck List Row|{{{98}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{99|}}}|{{Deck List Row|{{{99}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{100|}}}|{{Deck List Row|{{{100}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{101|}}}|{{Deck List Row|{{{101}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{102|}}}|{{Deck List Row|{{{102}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{103|}}}|{{Deck List Row|{{{103}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{104|}}}|{{Deck List Row|{{{104}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{105|}}}|{{Deck List Row|{{{105}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{106|}}}|{{Deck List Row|{{{106}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{107|}}}|{{Deck List Row|{{{107}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{108|}}}|{{Deck List Row|{{{108}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{109|}}}|{{Deck List Row|{{{109}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{110|}}}|{{Deck List Row|{{{110}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{111|}}}|{{Deck List Row|{{{111}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{112|}}}|{{Deck List Row|{{{112}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{113|}}}|{{Deck List Row|{{{113}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{114|}}}|{{Deck List Row|{{{114}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{115|}}}|{{Deck List Row|{{{115}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{116|}}}|{{Deck List Row|{{{116}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{117|}}}|{{Deck List Row|{{{117}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{118|}}}|{{Deck List Row|{{{118}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{119|}}}|{{Deck List Row|{{{119}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{120|}}}|{{Deck List Row|{{{120}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{121|}}}|{{Deck List Row|{{{121}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{122|}}}|{{Deck List Row|{{{122}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{123|}}}|{{Deck List Row|{{{123}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{124|}}}|{{Deck List Row|{{{124}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{125|}}}|{{Deck List Row|{{{125}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{126|}}}|{{Deck List Row|{{{126}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{127|}}}|{{Deck List Row|{{{127}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{128|}}}|{{Deck List Row|{{{128}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{129|}}}|{{Deck List Row|{{{129}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{130|}}}|{{Deck List Row|{{{130}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{131|}}}|{{Deck List Row|{{{131}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{132|}}}|{{Deck List Row|{{{132}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{133|}}}|{{Deck List Row|{{{133}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{134|}}}|{{Deck List Row|{{{134}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{135|}}}|{{Deck List Row|{{{135}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{136|}}}|{{Deck List Row|{{{136}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{137|}}}|{{Deck List Row|{{{137}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{138|}}}|{{Deck List Row|{{{138}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{139|}}}|{{Deck List Row|{{{139}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{140|}}}|{{Deck List Row|{{{140}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{141|}}}|{{Deck List Row|{{{141}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{142|}}}|{{Deck List Row|{{{142}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{143|}}}|{{Deck List Row|{{{143}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{144|}}}|{{Deck List Row|{{{144}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{145|}}}|{{Deck List Row|{{{145}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{146|}}}|{{Deck List Row|{{{146}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{147|}}}|{{Deck List Row|{{{147}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{148|}}}|{{Deck List Row|{{{148}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{149|}}}|{{Deck List Row|{{{149}}}|{{{show|}}}}}}}<!--
 +
-->{{#if:{{{150|}}}|{{Deck List Row|{{{150}}}|{{{show|}}}}}}}
 
{{#if:{{{notes|}}}|
 
{{#if:{{{notes|}}}|
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="99" {{!}} <small>{{{notes}}}</small>}}
 
{{!}} colspan="99" {{!}} <small>{{{notes}}}</small>}}
 
|}</includeonly>
 
|}</includeonly>

Revision as of 05:35, 26 February 2019

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
  • (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,rarity,color
| 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
Champion of Wits Creatures (2/1) 9 Blue 
Ominous Sphinx Creatures (6/6) 22 Blue 
The Locust God Creatures (8/8) 22 BlueRed 
Unesh, Criosphinx Sovereign Creatures (8/8) 16 Blue 
Vizier of the Anointed Creatures (4/6) 10 Blue 
Endless Sands Spells 12 Colorless 
Imaginary Threats Spells 5 Blue 
Kefnet's Last Word Spells 11 Blue 
Riddleform Supports (2) 7 Blue 
Swarm Intelligence Supports (4) 13 Blue