Difference between revisions of "Template:Decklist"
Cheesedude (talk | contribs) m |
Cheesedude (talk | contribs) (oh) |
||
Line 1: | Line 1: | ||
{{ | {{ | ||
− | #if: {{{monsters<includeonly>|</includeonly>}}}{{{normal monsters|}}}{{{effect monsters|}}}{{{toon monsters|}}}{{{spirit monsters|}}}{{{union monsters|}}}{{{gemini monsters|}}}{{{tuner monsters|}}}{{{dark tuner monsters|}}}{{{ritual monsters|}}}{{{fusion monsters|}}}{{{synchro monsters|}}}{{{xyz monsters|}}}{{{dark synchro monsters|}}}{{{other monsters|}}}{{{spells|}}}{{{magic|}}}{{{traps|}}}{{{other|}}} | + | #if: {{{monsters<includeonly>|</includeonly>}}}{{{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|}}}{{{other monsters|}}}{{{spells|}}}{{{magic|}}}{{{traps|}}}{{{other|}}} |
| {{Listbox | | {{Listbox | ||
| background = {{{color|}}} | | background = {{{color|}}} | ||
Line 8: | Line 8: | ||
| list1title = [[Monster Card|Monsters]] {{ #if: {{{total m|}}} | ({{{total m}}}{{ #if: {{{total me|}}} | , {{{total me|}}} }}) }} | | list1title = [[Monster Card|Monsters]] {{ #if: {{{total m|}}} | ({{{total m}}}{{ #if: {{{total me|}}} | , {{{total me|}}} }}) }} | ||
| list1 = {{ | | list1 = {{ | ||
− | #if: {{{normal monsters<includeonly>|</includeonly>}}}{{{effect monsters|}}}{{{toon monsters|}}}{{{spirit monsters|}}}{{{union monsters|}}}{{{gemini monsters|}}}{{{tuner monsters|}}}{{{dark tuner monsters|}}}{{{ritual monsters|}}}{{{other monsters|}}} | + | #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>}}} | | #if: {{{normal monsters<includeonly>|</includeonly>}}} | |
Revision as of 18:23, 17 February 2014
|
|
|
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: