Difference between revisions of "Template:Decklist"
Dinoguy1000 (talk | contribs) (fix for cases where there aren't any monsters at all) |
Dinoguy1000 (talk | contribs) (rm Card Appearances maintenance cat; all the pages in it now are false positives) |
||
Line 67: | Line 67: | ||
}}{{ | }}{{ | ||
#if: {{{monsters|}}} | #if: {{{monsters|}}} | ||
− | | [[Category:Decklist transclusions with duplicate parameters | + | | [[Category:Decklist transclusions with duplicate parameters]] |
}} | }} | ||
| {{ | | {{ | ||
Line 85: | Line 85: | ||
| list4 = {{{other<includeonly>|</includeonly>}}} | | list4 = {{{other<includeonly>|</includeonly>}}} | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 19:19, 29 July 2013
|
|
|
Usage
{{Decklist | color = | color2 = | normal monsters = | effect monsters = | toon monsters = | spirit monsters = | union monsters = | gemini monsters = | tuner monsters = | pendulum monsters = | dark tuner monsters = | ritual monsters = | fusion monsters = | synchro monsters = | xyz monsters = | dark synchro monsters = | spells = | traps = }}
At least one monster type parameter or spells or traps must be included.
Optional parameters
- color: custom background color.
- color2: custom text color.
- total m: The number of Monster Cards.
- total me: The number of Monster Cards in the Extra Deck.
- total s: The number of Spell Cards.
- total t: The number of Trap Cards.
- An unnamed parameter can be used as a custom Deck name.
Example
Adding the following to a page...
{{Decklist|Warrior Deck | color = orange | color2 = white | normal monsters = * [[Celtic Guardian]] x2 | effect monsters = * [[Buster Blader]] * [[Exiled Force]] | spells = * [[Reinforcement of the Army]] * [[Monster Reborn]] | traps = * [[Trap Hole]] }}
... produces the following: