Changes

Jump to: navigation, search

Template:Card List Mini

4,985 bytes added, 06:05, 22 February 2019
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..."
<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 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).

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

== Example ==

The following shorthand:
<pre><nowiki>
{{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
}}
</nowiki></pre>

Produces:
{{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
}}

</noinclude><includeonly>{| class="wikitable"
{{#if:{{{name|}}}|
! colspan="2" style="text-align:left" {{!}} {{{name}}} }}<!--
-->{{#if:{{{1|}}}|{{Deck List Row Mini|{{{1}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{2|}}}|{{Deck List Row Mini|{{{2}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{3|}}}|{{Deck List Row Mini|{{{3}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{4|}}}|{{Deck List Row Mini|{{{4}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{5|}}}|{{Deck List Row Mini|{{{5}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{6|}}}|{{Deck List Row Mini|{{{6}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{7|}}}|{{Deck List Row Mini|{{{7}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{8|}}}|{{Deck List Row Mini|{{{8}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{9|}}}|{{Deck List Row Mini|{{{9}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{10|}}}|{{Deck List Row Mini|{{{10}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{11|}}}|{{Deck List Row Mini|{{{11}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{12|}}}|{{Deck List Row Mini|{{{12}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{13|}}}|{{Deck List Row Mini|{{{13}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{14|}}}|{{Deck List Row Mini|{{{14}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{15|}}}|{{Deck List Row Mini|{{{15}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{16|}}}|{{Deck List Row Mini|{{{16}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{17|}}}|{{Deck List Row Mini|{{{17}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{18|}}}|{{Deck List Row Mini|{{{18}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{19|}}}|{{Deck List Row Mini|{{{19}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{20|}}}|{{Deck List Row Mini|{{{20}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{21|}}}|{{Deck List Row Mini|{{{21}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{22|}}}|{{Deck List Row Mini|{{{22}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{23|}}}|{{Deck List Row Mini|{{{23}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{24|}}}|{{Deck List Row Mini|{{{24}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{25|}}}|{{Deck List Row Mini|{{{25}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{26|}}}|{{Deck List Row Mini|{{{26}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}<!--
-->{{#if:{{{27|}}}|{{Deck List Row Mini|{{{27}}}|{{#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:{{{30|}}}|{{Deck List Row Mini|{{{30}}}|{{#if:{{{show|}}}|{{{show}}}|cost,type,rarity}}}}}}
{{#if:{{{notes|}}}|
{{!}}-
{{!}} colspan="2" {{!}} <small>{{{notes}}}</small>}}
|}</includeonly>

Navigation menu