Difference between revisions of "Template:Decklist"
Dinoguy1000 (talk | contribs) (rm Card Appearances maintenance cat; all the pages in it now are false positives) |
Dinoguy1000 (talk | contribs) (move xtra Deck monsters to their own section, left-alin the titles) |
||
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|}}}{{{spells|}}}{{{magic|}}}{{{traps|}}}{{{other|}}} | + | #if: {{{monsters<includeonly>|</includeonly>}}}{{{normal monsters|}}}{{{effect monsters|}}}{{{toon monsters|}}}{{{spirit monsters|}}}{{{union monsters|}}}{{{gemini monsters|}}}{{{tuner monsters|}}}{{{dark tuner monsters|}}}{{{other monsters|}}}{{{ritual monsters|}}}{{{fusion monsters|}}}{{{synchro monsters|}}}{{{xyz monsters|}}}{{{dark synchro monsters|}}}{{{spells|}}}{{{magic|}}}{{{traps|}}}{{{other|}}} |
| {{Listbox | | {{Listbox | ||
| background = {{{color|}}} | | background = {{{color|}}} | ||
| color = {{{color2|}}} | | color = {{{color2|}}} | ||
| title = {{ #if: {{{1|}}} | {{{1}}} | Deck }} | | title = {{ #if: {{{1|}}} | {{{1}}} | Deck }} | ||
+ | |||
+ | | titlestyle = text-align: left; | ||
+ | | navbar = off | ||
| 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|}}}{{{ | + | #if: {{{normal monsters<includeonly>|</includeonly>}}}{{{effect monsters|}}}{{{toon monsters|}}}{{{spirit monsters|}}}{{{union monsters|}}}{{{gemini monsters|}}}{{{tuner monsters|}}}{{{dark tuner monsters|}}}{{{other monsters|}}} |
| {{ | | {{ | ||
#if: {{{normal monsters<includeonly>|</includeonly>}}} | | #if: {{{normal monsters<includeonly>|</includeonly>}}} | | ||
Line 41: | Line 44: | ||
; [[Dark Tuner monster]]s | ; [[Dark Tuner monster]]s | ||
{{{dark tuner monsters}}} | {{{dark tuner monsters}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}{{ | }}{{ | ||
#if: {{{other monsters<includeonly>|</includeonly>}}} | | #if: {{{other monsters<includeonly>|</includeonly>}}} | | ||
Line 84: | Line 67: | ||
| list4title = Other cards {{ #if: {{{total o|}}} | ({{{total o}}}) }} | | list4title = Other cards {{ #if: {{{total o|}}} | ({{{total o}}}) }} | ||
| list4 = {{{other<includeonly>|</includeonly>}}} | | list4 = {{{other<includeonly>|</includeonly>}}} | ||
+ | |||
+ | | list5title = Extra Deck {{ #if: {{{total e|}}} | ({{{total e}}}) }} | ||
+ | | list5 = {{ | ||
+ | #if: {{{ritual monsters<includeonly>|</includeonly>}}}{{{fusion monsters|}}}{{{synchro monsters|}}}{{{xyz monsters|}}}{{{dark synchro monsters|}}} | {{ | ||
+ | #if: {{{ritual monsters<includeonly>|</includeonly>}}} | | ||
+ | ; [[Ritual Monster]]s | ||
+ | {{{ritual monsters}}} | ||
+ | }}{{ | ||
+ | #if: {{{fusion monsters<includeonly>|</includeonly>}}} | | ||
+ | ; [[Fusion Monster]]s | ||
+ | {{{fusion monsters}}} | ||
+ | }}{{ | ||
+ | #if: {{{synchro monsters<includeonly>|</includeonly>}}} | | ||
+ | ; [[Synchro Monster]]s | ||
+ | {{{synchro monsters}}} | ||
+ | }}{{ | ||
+ | #if: {{{xyz monsters<includeonly>|</includeonly>}}} | | ||
+ | ; [[Xyz Monster]]s | ||
+ | {{{xyz monsters}}} | ||
+ | }}{{ | ||
+ | #if: {{{dark synchro monsters<includeonly>|</includeonly>}}} | | ||
+ | ; [[Dark Synchro Monster]]s | ||
+ | {{{dark synchro monsters}}} | ||
+ | }} | ||
+ | }} | ||
}} | }} | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 20:15, 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: