قالب:Decklist
Summary
Creates a table for displaying lists of Legends cards. This template should be used when you need to input the card names manually (such as decklists). For creating lists of all cards of a certain attribute/effect/type/etc, see Legends Table.
Parameters
Parameter | Scope | Description |
---|---|---|
header | optional | Use to distinguish between Normal and Master mode for story quests. Defaults to Deck List . |
collapse | optional | Takes any value. If this parameter is used, the table will be collapsed by default. |
nosort | optional | Takes any value. If this parameter is used, the table will not be sortable. |
skipQuantity | optional | If not blank, hides the quantity column. Must be used if not including quantities in the list. |
skipNotes | optional | If not blank, hides the notes column. Must be used if not including notes in the list. |
skipPower skipHealth skipRarity skipAbility |
optional | Does not display the corresponding information in the list. |
These parameters should be followed by a list of card names (and quantities and notes if needed), separated by |, like so:
<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; "> {{Decklist|header=Normal|collapse=y|nosort=y|skipParameter=1|Card Name|Quantity|Notes|Card Name 2|Quantity 2|Notes 2|etc}}
Usage & Examples
<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{Decklist|skipQuantity=1|skipNotes=1|Bone Bow|Shearpoint Dragon}}
Name | Type (Subtype) | Ability | |||||
---|---|---|---|---|---|---|---|
ملف:LG-icon--small.png | {{{name}}} | {{{type}}} | (?) | – | – | ||
ملف:LG-icon--small.png | {{{name}}} | {{{type}}} | (?) | – | – |
<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{Decklist|collapse=y|skipQuantity=1|skipNotes=1|Bone Bow|Shearpoint Dragon}}
Name | Type (Subtype) | Ability | |||||
---|---|---|---|---|---|---|---|
ملف:LG-icon--small.png | {{{name}}} | {{{type}}} | (?) | – | – | ||
ملف:LG-icon--small.png | {{{name}}} | {{{type}}} | (?) | – | – |
<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{Decklist|skipNotes=1|Bone Bow|1|Shearpoint Dragon|2}}
Quantity | Name | Type (Subtype) | Ability | |||||
---|---|---|---|---|---|---|---|---|
1 | ملف:LG-icon--small.png | {{{name}}} | {{{type}}} | (?) | – | – | ||
2 | ملف:LG-icon--small.png | {{{name}}} | {{{type}}} | (?) | – | – |
<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{Decklist|Bone Bow|1|This silences stuff|Shearpoint Dragon|2|This is just awesome|Mantikora|1|This is a long note for a very big card just to see how the column widths adjust}}
Quantity | Name | Type (Subtype) | Ability | Information | |||||
---|---|---|---|---|---|---|---|---|---|
1 | ملف:LG-icon--small.png | {{{name}}} | {{{type}}} | (?) | – | – | This silences stuff | ||
2 | ملف:LG-icon--small.png | {{{name}}} | {{{type}}} | (?) | – | – | This is just awesome | ||
1 | ملف:LG-icon--small.png | {{{name}}} | {{{type}}} | (?) | – | – | This is a long note for a very big card just to see how the column widths adjust |
<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{Decklist|skipQuantity=1|skipNotes=1|skipRarity=1|skipPower=1|skipHealth=1|skipAbility=1|Grahtwood Ambusher|Miraak, Dragonborn|Merric-at-Aswala|Summerset Orrery}}
Name | Type (Subtype) | ||
---|---|---|---|
ملف:LG-icon--small.png | {{{name}}} | {{{type}}} | (?) |
ملف:LG-icon--small.png | {{{name}}} | {{{type}}} | (?) |
ملف:LG-icon--small.png | {{{name}}} | {{{type}}} | (?) |
ملف:LG-icon--small.png | {{{name}}} | {{{type}}} | (?) |