Difference between revisions of "Template:Card List Mini"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> == Usage == The Card List Mini template displays a list of cards in a skinny table, suitable for several card lists appearing side-by-side. This template is very...")
 
Line 3: Line 3:
 
The Card List Mini template displays a list of cards in a skinny table, suitable for several card lists appearing side-by-side.
 
The Card List Mini template displays a list of cards in a skinny table, suitable for several card lists appearing side-by-side.
  
This template is very similar to [[Template:Deck List Mini]].  The main difference is that the Card List template provides a much larger upper limit on the number of cards (30 cards).
+
This template is very similar to [[Template:Deck List Mini]].  The main difference is that the Card List template provides a much larger upper limit on the number of cards (50 cards).
  
 
== 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 30 unlabeled parameters): The names of cards in the list.
+
* (up to 50 unlabeled parameters): The names of cards in the list.
 
* notes (optional): Notes about the card list.
 
* notes (optional): Notes about the card list.
  
Line 86: Line 86:
 
-->{{#if:{{{28|}}}|{{Deck List Row Mini|{{{28}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 
-->{{#if:{{{28|}}}|{{Deck List Row Mini|{{{28}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 
-->{{#if:{{{29|}}}|{{Deck List Row Mini|{{{29}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 
-->{{#if:{{{29|}}}|{{Deck List Row Mini|{{{29}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{30|}}}|{{Deck List Row Mini|{{{30}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}
+
-->{{#if:{{{30|}}}|{{Deck List Row Mini|{{{30}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{31|}}}|{{Deck List Row Mini|{{{31}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{32|}}}|{{Deck List Row Mini|{{{32}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{33|}}}|{{Deck List Row Mini|{{{33}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{34|}}}|{{Deck List Row Mini|{{{34}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{35|}}}|{{Deck List Row Mini|{{{35}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{36|}}}|{{Deck List Row Mini|{{{36}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{37|}}}|{{Deck List Row Mini|{{{37}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{38|}}}|{{Deck List Row Mini|{{{38}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{39|}}}|{{Deck List Row Mini|{{{39}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{40|}}}|{{Deck List Row Mini|{{{40}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{41|}}}|{{Deck List Row Mini|{{{41}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{42|}}}|{{Deck List Row Mini|{{{42}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{43|}}}|{{Deck List Row Mini|{{{43}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{44|}}}|{{Deck List Row Mini|{{{44}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{45|}}}|{{Deck List Row Mini|{{{45}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{46|}}}|{{Deck List Row Mini|{{{46}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{47|}}}|{{Deck List Row Mini|{{{47}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{48|}}}|{{Deck List Row Mini|{{{48}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{49|}}}|{{Deck List Row Mini|{{{49}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
 +
-->{{#if:{{{50|}}}|{{Deck List Row Mini|{{{50}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}
 
{{#if:{{{notes|}}}|
 
{{#if:{{{notes|}}}|
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" {{!}} <small>{{{notes}}}</small>}}
 
{{!}} colspan="2" {{!}} <small>{{{notes}}}</small>}}
 
|}</includeonly>
 
|}</includeonly>

Revision as of 08:30, 9 March 2019

Usage

The Card List Mini template displays a list of cards in a skinny table, suitable for several card lists appearing side-by-side.

This template is very similar to Template:Deck List Mini. The main difference is that the Card List template provides a much larger upper limit on the number of cards (50 cards).

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 50 unlabeled parameters): The names of cards in the list.
  • notes (optional): Notes about the card list.

Example

The following shorthand:

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