Difference between revisions of "Template:Decklist"
(Simple solution for Supreme King Dragon Zarc (anime).) |
Dinoguy1000 (talk | contribs) (+Link Monsters) |
||
Line 1: | Line 1: | ||
− | {{ #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|}}}{{{other extra deck 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|}}}{{{link monsters|}}}{{{dark synchro monsters|}}}{{{other monsters|}}}{{{other extra deck monsters|}}}{{{spells|}}}{{{magic|}}}{{{traps|}}}{{{other|}}} |
| {{Listbox | | {{Listbox | ||
| background = {{{color|}}} | | background = {{{color|}}} | ||
Line 66: | Line 66: | ||
| list1r2title = [[{{ #if: {{ #ifeq: {{ lc: {{{style}}} }} | previous | 1 }}{{{magic|}}} | Fusion | Extra }} Deck]] {{ #if: {{{total me<includeonly>|</includeonly>}}} |({{{total me}}}) }} | | list1r2title = [[{{ #if: {{ #ifeq: {{ lc: {{{style}}} }} | previous | 1 }}{{{magic|}}} | Fusion | Extra }} Deck]] {{ #if: {{{total me<includeonly>|</includeonly>}}} |({{{total me}}}) }} | ||
| list1r2 = {{ | | list1r2 = {{ | ||
− | #if: {{{fusion monsters<includeonly>|</includeonly>}}}{{{synchro monsters|}}}{{{xyz monsters|}}}{{{dark synchro monsters|}}}{{{other extra deck monsters|}}} | + | #if: {{{fusion monsters<includeonly>|</includeonly>}}}{{{synchro monsters|}}}{{{xyz monsters|}}}{{{link monsters|}}}{{{dark synchro monsters|}}}{{{other extra deck monsters|}}} |
| {{ | | {{ | ||
#if: {{{fusion monsters<includeonly>|</includeonly>}}} | | #if: {{{fusion monsters<includeonly>|</includeonly>}}} | | ||
Line 79: | Line 79: | ||
; [[Xyz Monster]]s | ; [[Xyz Monster]]s | ||
{{{xyz monsters}}} | {{{xyz monsters}}} | ||
+ | }}{{ | ||
+ | #if: {{{link monsters<includeonly>|</includeonly>}}} | | ||
+ | ; [[Link Monster]]s | ||
+ | {{{link monsters}}} | ||
}}{{ | }}{{ | ||
#if: {{{dark synchro monsters<includeonly>|</includeonly>}}} | | #if: {{{dark synchro monsters<includeonly>|</includeonly>}}} | |
Revision as of 11:10, 17 March 2017
|
|
|
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: