Difference between revisions of "Template:Decklist/doc"

From Yugipedia
Jump to: navigation, search
m (Protected "Template:Decklist/doc": This is why Template:Decklist itself was protected. People kept editing the documentation when trying to use the template. ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(update documentation (this should've happened months ago)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Decklist
 
{{Decklist
|color=
+
| color =
|color2=
+
| color2 =
|monsters =
+
| normal monsters =
|spells =
+
| effect monsters =
|traps =
+
| 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 =
 +
| traps =
 
}}</pre>
 
}}</pre>
  
'''Mandatory parameters'''
+
At least one monster type parameter or '''spells''' or '''traps''' must be included.
*'''monsters''': list the [[Monster Cards]] in the Deck.
 
*'''spells''': list the [[Spell Cards]] in the Deck.
 
*'''traps''': list the [[Trap Cards]]
 
  
 
'''Optional parameters'''
 
'''Optional parameters'''
Line 29: Line 38:
  
 
<pre>{{Decklist|Warrior Deck
 
<pre>{{Decklist|Warrior Deck
|color = orange
+
| color = orange
|color2 = white
+
| color2 = white
|monsters =
+
| normal monsters =
<u>Normal Monsters</u>
 
 
* [[Celtic Guardian]] x2
 
* [[Celtic Guardian]] x2
 
+
| effect monsters =
<u>Effect Monsters</u>
 
 
* [[Buster Blader]]
 
* [[Buster Blader]]
 
* [[Exiled Force]]
 
* [[Exiled Force]]
|spells =
+
| spells =
 
* [[Reinforcement of the Army]]
 
* [[Reinforcement of the Army]]
 
* [[Monster Reborn]]
 
* [[Monster Reborn]]
|traps =
+
| traps =
 
* [[Trap Hole]]
 
* [[Trap Hole]]
 
}}</pre>
 
}}</pre>
Line 48: Line 55:
  
 
{{Decklist|Warrior Deck
 
{{Decklist|Warrior Deck
|color = orange
+
| color = orange
|color2 = white
+
| color2 = white
|monsters =
+
| normal monsters =
<u>Normal Monsters</u>
 
 
* [[Celtic Guardian]] x2
 
* [[Celtic Guardian]] x2
 
+
| effect monsters =
<u>Effect Monsters</u>
 
 
* [[Buster Blader]]
 
* [[Buster Blader]]
 
* [[Exiled Force]]
 
* [[Exiled Force]]
|spells =
+
| spells =
 
* [[Reinforcement of the Army]]
 
* [[Reinforcement of the Army]]
 
* [[Monster Reborn]]
 
* [[Monster Reborn]]
|traps =
+
| traps =
 
* [[Trap Hole]]
 
* [[Trap Hole]]
 
}}
 
}}
Line 67: Line 72:
 
* [[Template:Dice Pool]]
 
* [[Template:Dice Pool]]
 
<includeonly>
 
<includeonly>
[[Category:Templates|{{PAGENAME}}]]
+
[[Category:Templates]]
 
</includeonly>
 
</includeonly>

Revision as of 13:49, 28 February 2013

Usage

{{Decklist
| color =
| color2 =
| 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 =
| 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:

See also