Difference between pages "Template:Decklist/doc" and "File:SwampBattleguard-LCJW-FR-C-1E.png"

From Yugipedia
< Template:Decklist(Difference between pages)
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)))
 
 
Line 1: Line 1:
{{Documentation subpage}}
+
== Summary ==
 
+
Importing file
==Usage==
 
<pre>
 
{{Decklist
 
|color=
 
|color2=
 
|monsters =
 
|spells =
 
|traps =
 
}}</pre>
 
 
 
'''Mandatory parameters'''
 
*'''monsters''': list the [[Monster Cards]] in the Deck.
 
*'''spells''': list the [[Spell Cards]] in the Deck.
 
*'''traps''': list the [[Trap Cards]]
 
 
 
'''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...
 
 
 
<pre>{{Decklist|Warrior Deck
 
|color = orange
 
|color2 = white
 
|monsters =
 
<u>Normal Monsters</u>
 
* [[Celtic Guardian]] x2
 
 
 
<u>Effect Monsters</u>
 
* [[Buster Blader]]
 
* [[Exiled Force]]
 
|spells =
 
* [[Reinforcement of the Army]]
 
* [[Monster Reborn]]
 
|traps =
 
* [[Trap Hole]]
 
}}</pre>
 
 
 
... produces the following:
 
 
 
{{Decklist|Warrior Deck
 
|color = orange
 
|color2 = white
 
|monsters =
 
<u>Normal Monsters</u>
 
* [[Celtic Guardian]] x2
 
 
 
<u>Effect Monsters</u>
 
* [[Buster Blader]]
 
* [[Exiled Force]]
 
|spells =
 
* [[Reinforcement of the Army]]
 
* [[Monster Reborn]]
 
|traps =
 
* [[Trap Hole]]
 
}}
 
 
 
==See also==
 
* [[Template:Dice Pool]]
 
<includeonly>
 
[[Category:Templates|{{PAGENAME}}]]
 
</includeonly>
 

Latest revision as of 03:02, 30 March 2023

Summary[edit]

Importing file