Difference between revisions of "Template:Card Set List"
(Created page with "<noinclude> == Usage == The Card Set List template displays a list of cards in a table with sortable columns. This template is similar to Template:Deck List. The main di...") |
|||
| (5 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
The Card Set List template displays a list of cards in a table with sortable columns. | The Card Set 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 ( | + | 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 (250 cards). The columns displayed are fixed, suiting lists of cards in a card set. |
== Parameters == | == Parameters == | ||
| − | * name (optional): The name to show with the card list. | + | * <code>name</code> (optional): The name to show with the card list. |
| − | * collapsed - Y | + | * <code>gallery</code> (optional): A URL to a card gallery for this card list at mtgpq.info. |
| − | * (up to | + | * <code>collapsed</code> - Either Y (collapsed), N (collapsible, but not collapsed), or blank (not collapsible). |
| − | * notes (optional): Notes about the card list. | + | * (up to 250 unlabeled parameters): The names of cards in the list. |
| + | * <code>notes</code> (optional): Notes about the card list. | ||
== Example == | == Example == | ||
| Line 18: | Line 19: | ||
{{Card Set List | {{Card Set List | ||
|name = Blue cards | |name = Blue cards | ||
| + | |gallery = https://mtgpq.info/cards/CausticCaterpillar | ||
| + | |collapsed = N | ||
| Champion of Wits | | Champion of Wits | ||
| Ominous Sphinx | | Ominous Sphinx | ||
| Line 34: | Line 37: | ||
{{Card Set List | {{Card Set List | ||
|name = Blue cards | |name = Blue cards | ||
| + | |gallery = https://mtgpq.info/cards/CausticCaterpillar | ||
| + | |collapsed = N | ||
| Champion of Wits | | Champion of Wits | ||
| Ominous Sphinx | | Ominous Sphinx | ||
| Line 46: | Line 51: | ||
}} | }} | ||
| − | </noinclude><includeonly>{| class=" | + | </noinclude><includeonly>{{#if:{{{collapsed|}}}|<div class="toccolours mw-collapsible {{#ifeq:{{{collapsed|}}}|Y|mw-collapsed}}"> |
| − | {{#if:{{{name|}}}| | + | <div style="line-height:1.6;"><span style="float:left;">{{{name|}}}</span> {{#if:{{{gallery|}}}| |
| − | {{!}}+ {{Nowrap|{{{name}}}}} }} | + | <span style="float:right;">{{Nowrap|[{{{gallery}}} [Gallery at mtgpq.info]] }}</span>}}</div><div class="mw-collapsible-content">}} |
| + | {| class="wikitable sortable" | ||
| + | {{#if:{{{collapsed|}}}||{{#if:{{{name|}}}| | ||
| + | {{!}}+ {{Nowrap|{{{name}}}}} }} {{#if:{{{gallery|}}}|[{{{gallery}}} (gallery at mtgpq.info)]}} }} | ||
! Name | ! Name | ||
! Type | ! Type | ||
| + | ! Subtypes | ||
! Cost | ! Cost | ||
! Color | ! Color | ||
| Line 204: | Line 213: | ||
-->{{#if:{{{148|}}}|{{Card Set List Row|{{{148}}}|{{{show|}}}}}}}<!-- | -->{{#if:{{{148|}}}|{{Card Set List Row|{{{148}}}|{{{show|}}}}}}}<!-- | ||
-->{{#if:{{{149|}}}|{{Card Set List Row|{{{149}}}|{{{show|}}}}}}}<!-- | -->{{#if:{{{149|}}}|{{Card Set List Row|{{{149}}}|{{{show|}}}}}}}<!-- | ||
| − | -->{{#if:{{{150|}}}|{{Card Set List Row|{{{150}}}|{{{show|}}}}}}} | + | -->{{#if:{{{150|}}}|{{Card Set List Row|{{{150}}}|{{{show|}}}}}}}<!-- |
| − | {{#if:{{{notes|}}}| | + | -->{{#if:{{{151|}}}|{{Card Set List Row|{{{151}}}|{{{show|}}}}}}}<!-- |
| + | -->{{#if:{{{152|}}}|{{Card Set List Row|{{{152}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{153|}}}|{{Card Set List Row|{{{153}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{154|}}}|{{Card Set List Row|{{{154}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{155|}}}|{{Card Set List Row|{{{155}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{156|}}}|{{Card Set List Row|{{{156}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{157|}}}|{{Card Set List Row|{{{157}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{158|}}}|{{Card Set List Row|{{{158}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{159|}}}|{{Card Set List Row|{{{159}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{160|}}}|{{Card Set List Row|{{{160}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{161|}}}|{{Card Set List Row|{{{161}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{162|}}}|{{Card Set List Row|{{{162}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{163|}}}|{{Card Set List Row|{{{163}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{164|}}}|{{Card Set List Row|{{{164}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{165|}}}|{{Card Set List Row|{{{165}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{166|}}}|{{Card Set List Row|{{{166}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{167|}}}|{{Card Set List Row|{{{167}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{168|}}}|{{Card Set List Row|{{{168}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{169|}}}|{{Card Set List Row|{{{169}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{170|}}}|{{Card Set List Row|{{{170}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{171|}}}|{{Card Set List Row|{{{171}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{172|}}}|{{Card Set List Row|{{{172}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{173|}}}|{{Card Set List Row|{{{173}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{174|}}}|{{Card Set List Row|{{{174}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{175|}}}|{{Card Set List Row|{{{175}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{176|}}}|{{Card Set List Row|{{{176}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{177|}}}|{{Card Set List Row|{{{177}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{178|}}}|{{Card Set List Row|{{{178}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{179|}}}|{{Card Set List Row|{{{179}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{180|}}}|{{Card Set List Row|{{{180}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{181|}}}|{{Card Set List Row|{{{181}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{182|}}}|{{Card Set List Row|{{{182}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{183|}}}|{{Card Set List Row|{{{183}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{184|}}}|{{Card Set List Row|{{{184}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{185|}}}|{{Card Set List Row|{{{185}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{186|}}}|{{Card Set List Row|{{{186}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{187|}}}|{{Card Set List Row|{{{187}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{188|}}}|{{Card Set List Row|{{{188}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{189|}}}|{{Card Set List Row|{{{189}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{190|}}}|{{Card Set List Row|{{{190}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{191|}}}|{{Card Set List Row|{{{191}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{192|}}}|{{Card Set List Row|{{{192}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{193|}}}|{{Card Set List Row|{{{193}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{194|}}}|{{Card Set List Row|{{{194}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{195|}}}|{{Card Set List Row|{{{195}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{196|}}}|{{Card Set List Row|{{{196}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{197|}}}|{{Card Set List Row|{{{197}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{198|}}}|{{Card Set List Row|{{{198}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{199|}}}|{{Card Set List Row|{{{199}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{200|}}}|{{Card Set List Row|{{{200}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{201|}}}|{{Card Set List Row|{{{201}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{202|}}}|{{Card Set List Row|{{{202}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{203|}}}|{{Card Set List Row|{{{203}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{204|}}}|{{Card Set List Row|{{{204}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{205|}}}|{{Card Set List Row|{{{205}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{206|}}}|{{Card Set List Row|{{{206}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{207|}}}|{{Card Set List Row|{{{207}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{208|}}}|{{Card Set List Row|{{{208}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{209|}}}|{{Card Set List Row|{{{209}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{210|}}}|{{Card Set List Row|{{{210}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{211|}}}|{{Card Set List Row|{{{211}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{212|}}}|{{Card Set List Row|{{{212}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{213|}}}|{{Card Set List Row|{{{213}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{214|}}}|{{Card Set List Row|{{{214}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{215|}}}|{{Card Set List Row|{{{215}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{216|}}}|{{Card Set List Row|{{{216}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{217|}}}|{{Card Set List Row|{{{217}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{218|}}}|{{Card Set List Row|{{{218}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{219|}}}|{{Card Set List Row|{{{219}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{220|}}}|{{Card Set List Row|{{{220}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{221|}}}|{{Card Set List Row|{{{221}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{222|}}}|{{Card Set List Row|{{{222}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{223|}}}|{{Card Set List Row|{{{223}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{224|}}}|{{Card Set List Row|{{{224}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{225|}}}|{{Card Set List Row|{{{225}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{226|}}}|{{Card Set List Row|{{{226}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{227|}}}|{{Card Set List Row|{{{227}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{228|}}}|{{Card Set List Row|{{{228}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{229|}}}|{{Card Set List Row|{{{229}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{230|}}}|{{Card Set List Row|{{{230}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{231|}}}|{{Card Set List Row|{{{231}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{232|}}}|{{Card Set List Row|{{{232}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{233|}}}|{{Card Set List Row|{{{233}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{234|}}}|{{Card Set List Row|{{{234}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{235|}}}|{{Card Set List Row|{{{235}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{236|}}}|{{Card Set List Row|{{{236}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{237|}}}|{{Card Set List Row|{{{237}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{238|}}}|{{Card Set List Row|{{{238}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{239|}}}|{{Card Set List Row|{{{239}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{240|}}}|{{Card Set List Row|{{{240}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{241|}}}|{{Card Set List Row|{{{241}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{242|}}}|{{Card Set List Row|{{{242}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{243|}}}|{{Card Set List Row|{{{243}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{244|}}}|{{Card Set List Row|{{{244}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{245|}}}|{{Card Set List Row|{{{245}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{246|}}}|{{Card Set List Row|{{{246}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{247|}}}|{{Card Set List Row|{{{247}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{248|}}}|{{Card Set List Row|{{{248}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{249|}}}|{{Card Set List Row|{{{249}}}|{{{show|}}}}}}}<!-- | ||
| + | -->{{#if:{{{250|}}}|{{Card Set List Row|{{{250}}}|{{{show|}}}}}}} | ||
| + | {{#if:{{{collapsed|}}}||{{#if:{{{notes|}}}| | ||
{{!}}- | {{!}}- | ||
| − | {{!}} colspan="99" {{!}} | + | {{!}} colspan="99" {{!}} {{{notes}}}}} }} |
| − | + | |} {{#if:{{{collapsed|}}}| | |
| + | {{#if:{{{notes|}}}|{{{notes}}}}} | ||
| + | </div></div>}}</includeonly> | ||
Latest revision as of 10:27, 27 February 2019
Usage
The Card Set 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 (250 cards). The columns displayed are fixed, suiting lists of cards in a card set.
Parameters
name(optional): The name to show with the card list.gallery(optional): A URL to a card gallery for this card list at mtgpq.info.collapsed- Either Y (collapsed), N (collapsible, but not collapsed), or blank (not collapsible).- (up to 250 unlabeled parameters): The names of cards in the list.
notes(optional): Notes about the card list.
Example
The following shorthand:
{{Card Set List
|name = Blue cards
|gallery = https://mtgpq.info/cards/CausticCaterpillar
|collapsed = N
| 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 [Gallery at mtgpq.info]
| Name | Type | Subtypes | Cost | Color | Rarity |
|---|---|---|---|---|---|
| Champion of Wits | Wizard, Naga | 9 | |||
| Ominous Sphinx | Sphinx | 22 | |||
| The Locust God | God | 22 | |||
| Unesh, Criosphinx Sovereign | Sphinx | 16 | |||
| Vizier of the Anointed | Cleric, Human | 10 | |||
| Endless Sands | Desert | 12 | |||
| Imaginary Threats | 5 | ||||
| Kefnet's Last Word | 11 | ||||
| Riddleform | 7 | ||||
| Swarm Intelligence | 13 |