Difference between revisions of "Template:Card List Mini"
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
− | 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. The card list is formatted as an inline table, allowing a page with multiple card lists to flow its content according to the width of the window. |
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 (80 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 (80 cards). | ||
Line 25: | Line 25: | ||
The following shorthand: | The following shorthand: | ||
<pre><nowiki> | <pre><nowiki> | ||
+ | {{Card List Mini | ||
+ | |name = Red cards | ||
+ | |show = cost,type,rarity,color | ||
+ | | Abbot of Keral Keep | ||
+ | | Akroma, Angel of Fury | ||
+ | | Ball Lightning | ||
+ | | Darigaaz Reincarnated | ||
+ | | Electrolyze | ||
+ | | Stitch in Time | ||
+ | | Domri, Anarch of Bolas | ||
+ | | Embercleave | ||
+ | | Iroas, God of Victory | ||
+ | | Thousand-Year Storm | ||
+ | }} | ||
{{Card List Mini | {{Card List Mini | ||
|name = Blue cards | |name = Blue cards | ||
Line 37: | Line 51: | ||
| Kefnet's Last Word | | Kefnet's Last Word | ||
| Riddleform | | Riddleform | ||
− | | | + | | Blue Sun's Zenith |
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
Produces: | Produces: | ||
+ | {{Card List Mini | ||
+ | |name = Red cards | ||
+ | |show = cost,type,rarity,color | ||
+ | | Abbot of Keral Keep | ||
+ | | Akroma, Angel of Fury | ||
+ | | Ball Lightning | ||
+ | | Darigaaz Reincarnated | ||
+ | | Electrolyze | ||
+ | | Stitch in Time | ||
+ | | Domri, Anarch of Bolas | ||
+ | | Embercleave | ||
+ | | Iroas, God of Victory | ||
+ | | Thousand-Year Storm | ||
+ | | Vance's Blasting Cannons//Spitfire Bastion | ||
+ | | Xenagos, God of Revels | ||
+ | }} | ||
{{Card List Mini | {{Card List Mini | ||
|name = Blue cards | |name = Blue cards | ||
Line 57: | Line 87: | ||
}} | }} | ||
− | </noinclude><includeonly>{| class="wikitable" {{#if:{{{name|}}}|<br> | + | </noinclude><includeonly>{| class="wikitable" style="display:inline-table; {{#if:{{{name|}}}|<br> |
! colspan="2" style="text-align:left" {{!}} {{{name}}} }}<!-- | ! colspan="2" style="text-align:left" {{!}} {{{name}}} }}<!-- | ||
-->{{#if:{{{1|}}}|{{Deck List Row Mini|{{{1}}}|{{{show|cost,type,rarity}}}|{{{formatting|}}}}}}}<!-- | -->{{#if:{{{1|}}}|{{Deck List Row Mini|{{{1}}}|{{{show|cost,type,rarity}}}|{{{formatting|}}}}}}}<!-- |
Latest revision as of 03:36, 10 April 2020
Usage
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 is formatted as an inline table, allowing a page with multiple card lists to flow its content according to the width of the window.
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 (80 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
- formatting (optional):
- Blank (default) makes no changes.
- "rarity_bg" shades each row according to the rarity of the card.
- (up to 80 unlabeled parameters): The names of cards in the list.
- notes (optional): Notes about the card list.
Example
The following shorthand:
{{Card List Mini |name = Red cards |show = cost,type,rarity,color | Abbot of Keral Keep | Akroma, Angel of Fury | Ball Lightning | Darigaaz Reincarnated | Electrolyze | Stitch in Time | Domri, Anarch of Bolas | Embercleave | Iroas, God of Victory | Thousand-Year Storm }} {{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 | Blue Sun's Zenith }}
Produces:
Red cards | |
---|---|
Abbot of Keral Keep | 13 · (6/5) · · |
Akroma, Angel of Fury | 17 · (8/8) · · |
Ball Lightning | 12 · (6/1) · · |
Darigaaz Reincarnated | 18 · (8/8) · · |
Electrolyze | 7 · · · |
Stitch in Time | 10 · · · |
Domri, Anarch of Bolas | 14 · (4) · · |
Embercleave | 23 · (4) · · |
Iroas, God of Victory | 13 · (4) · · |
Thousand-Year Storm | 14 · (4) · · |
Vance's Blasting Cannons//Spitfire Bastion | 9 · (4) · · |
Xenagos, God of Revels | 15 · (4) · · |
Blue cards | |
---|---|
Champion of Wits | 9 · (2/1) · · |
Ominous Sphinx | 22 · (6/6) · · |
The Locust God | 22 · (8/8) · · |
Unesh, Criosphinx Sovereign | 16 · (8/8) · · |
Vizier of the Anointed | 10 · (4/6) · · |
Endless Sands | 12 · · · |
Imaginary Threats | 5 · · · |
Kefnet's Last Word | 11 · · · |
Riddleform | 7 · (2) · · |
Blue Sun's Zenith | 6 · · · |