Difference between revisions of "Template:Decklist"
Dinoguy1000 (talk | contribs) (support capitalized variants of color parameters, since there seem to be some usages of them in the wild) |
Dinoguy1000 (talk | contribs) (+Flip monster support) |
||
Line 8: | Line 8: | ||
| list1title = [[Monster Card|Monsters]] {{ #if: {{{total m<includeonly>|</includeonly>}}} | ({{{total m}}}) }} | | list1title = [[Monster Card|Monsters]] {{ #if: {{{total m<includeonly>|</includeonly>}}} | ({{{total m}}}) }} | ||
| list1 = {{ | | list1 = {{ | ||
− | #if: {{{normal monsters<includeonly>|</includeonly>}}}{{{effect monsters|}}}{{{toon monsters|}}}{{{spirit monsters|}}}{{{union monsters|}}}{{{gemini monsters|}}}{{{tuner monsters|}}}{{{pendulum monsters|}}}{{{dark tuner monsters|}}}{{{ritual monsters|}}}{{{other monsters|}}} | + | #if: {{{normal monsters<includeonly>|</includeonly>}}}{{{effect monsters|}}}{{{flip monsters|}}}{{{toon monsters|}}}{{{spirit monsters|}}}{{{union monsters|}}}{{{gemini monsters|}}}{{{tuner monsters|}}}{{{pendulum monsters|}}}{{{dark tuner monsters|}}}{{{ritual monsters|}}}{{{other monsters|}}} |
| {{ | | {{ | ||
#if: {{{normal monsters<includeonly>|</includeonly>}}} | | #if: {{{normal monsters<includeonly>|</includeonly>}}} | | ||
Line 17: | Line 17: | ||
; [[Effect Monster]]s | ; [[Effect Monster]]s | ||
{{{effect monsters}}} | {{{effect monsters}}} | ||
+ | }}{{ #if: {{{flip monsters<includeonly>|</includeonly>}}} | | ||
+ | ; [[Flip monster]]s | ||
+ | {{{flip monsters}}} | ||
}}{{ | }}{{ | ||
#if: {{{toon monsters<includeonly>|</includeonly>}}} | | #if: {{{toon monsters<includeonly>|</includeonly>}}} | | ||
− | ; [[Toon | + | ; [[Toon monster]]s |
{{{toon monsters}}} | {{{toon monsters}}} | ||
}}{{ | }}{{ | ||
Line 27: | Line 30: | ||
}}{{ | }}{{ | ||
#if: {{{union monsters<includeonly>|</includeonly>}}} | | #if: {{{union monsters<includeonly>|</includeonly>}}} | | ||
− | ; [[Union | + | ; [[Union monster]]s |
{{{union monsters}}} | {{{union monsters}}} | ||
}}{{ | }}{{ |
Revision as of 12:13, 4 August 2018
|
|
|
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: