Difference between revisions of "Template:Decklist"

From Yugipedia
Jump to: navigation, search
(oh)
m
 
(11 intermediate revisions by 4 users not shown)
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|}}}{{{spells|}}}{{{magic|}}}{{{traps|}}}{{{other|}}}
+
// There could be multiple Decks on the page. This counter is used to distinguish them.
  | {{Listbox
+
// Each time this template is used on a page, this number will increase by 1.
| background = {{{color|}}}
+
-->{{ #vardefine: $decklist-counter | {{ #expr: {{ #var: $decklist-counter | 0 }} + 1 }} }}<!--
| color      = {{{color2|}}}
 
| title      = {{ #if: {{{1|}}} | {{{1}}} | Deck }}
 
  
| list1title = [[Monster Card|Monsters]] {{ #if: {{{total m|}}} | ({{{total m}}}{{ #if: {{{total me|}}} | , {{{total me|}}} }}) }}
+
// This number is used to count each card in the Deck.
| list1      = {{
+
// It will increase by 1 for each card and reset if the template is used multiple times.
   #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|}}}
+
-->{{ #vardefine: $decklist-card-counter | 0 }}<!--
   | {{
+
 
     #if: {{{normal monsters<includeonly>|</includeonly>}}} |  
+
// Whether or not to store SMW properties
; [[Normal Monster]]s
+
-->{{ #vardefine: $decklist-store-properties | {{ #if: {{NAMESPACE}} || {{{store_properties|}}} }} }}<!--
{{{normal monsters}}}
+
 
  }}{{
+
// Name of the Decklist, can come from a named or unnamed parameter.
    #if: {{{effect monsters<includeonly>|</includeonly>}}} |  
+
-->{{ #vardefine: $name | {{ #if: {{{name<includeonly>|</includeonly>}}} | {{{name}}} | {{{1|}}} }} }}<!--
; [[Effect Monster]]s
+
 
{{{effect monsters}}}
+
// Blank this variable at the beginning. Fill it in, if the Deck has at least one card.
  }}{{
+
-->{{ #vardefine: $decklist-has-cards | }}<!--
     #if: {{{toon monsters<includeonly>|</includeonly>}}} |  
+
 
; [[Toon Monster]]s
+
// Flag for checking if Decklist has an associated Skill(s)
{{{toon monsters}}}
+
-->{{ #vardefine: $decklist-has-skill | {{#if: {{{skill<includeonly>|</includeonly>}}} | 1 }} }}<!--
  }}{{
+
 
    #if: {{{spirit monsters<includeonly>|</includeonly>}}} |  
+
// Flags for checking if the Main Deck has monsters, Spells, or Traps, of any variety.
; [[Spirit monster]]s
+
-->{{ #vardefine: $decklist-has-main-monsters | {{ #if: {{{monsters<includeonly>|</includeonly>}}}{{{normal monsters|}}}{{{effect monsters|}}}{{{flip monsters|}}}{{{toon monsters|}}}{{{spirit monsters|}}}{{{union monsters|}}}{{{gemini monsters|}}}{{{tuner monsters|}}}{{{dark tuner monsters|}}}{{{pendulum monsters|}}}{{{maximum monsters|}}}{{{ritual monsters|}}}{{{other monsters|}}} | 1 }} }}<!--
{{{spirit monsters}}}
+
 
  }}{{
+
-->{{ #vardefine: $decklist-has-main-spells | {{ #if: {{{spells<includeonly>|</includeonly>}}}{{{normal spells|}}}{{{equip spells|}}}{{{field spells|}}}{{{ritual spells|}}}{{{continuous spells|}}}{{{quick-play spells|}}}{{{link spells|}}} | 1 }} }}<!--
    #if: {{{union monsters<includeonly>|</includeonly>}}} |  
+
 
; [[Union Monster]]s
+
-->{{ #vardefine: $decklist-has-main-traps | {{ #if: {{{traps<includeonly>|</includeonly>}}}{{{normal traps|}}}{{{counter traps|}}}{{{continuous traps|}}} | 1 }} }}<!--
{{{union monsters}}}
+
 
  }}{{
+
// ===============  \\
    #if: {{{gemini monsters<includeonly>|</includeonly>}}} |  
+
  Extra Deck
; [[Gemini monster]]s
+
\\ ================ //
{{{gemini monsters}}}
+
 
  }}{{
+
-->{{ #vardefine: $decklist-location | Extra Deck }}<!--
     #if: {{{tuner monsters<includeonly>|</includeonly>}}} |  
+
 
; [[Tuner monster]]s
+
-->{{ #vardefine: $decklist-extra
{{{tuner monsters}}}
+
| {{ #if: {{{fusion monsters<includeonly>|</includeonly>}}}{{{synchro monsters|}}}{{{dark synchro monsters|}}}{{{xyz monsters|}}}{{{link monsters|}}}{{{other extra deck monsters|}}}
  }}{{
+
  | {{Decklist/Deck
     #if: {{{pendulum monsters<includeonly>|</includeonly>}}} |  
+
    | title  = {{ #if: {{{magic|}}}{{{has_fusion_deck|}}} | [[Extra Deck|Fusion Deck]] | [[Extra Deck]] }}
; [[Pendulum Monster]]s
+
    | total  = {{{total me<includeonly>|</includeonly>}}}
{{{pendulum monsters}}}
+
    | column1 = {{ #if: {{{fusion monsters<includeonly>|</includeonly>}}} | {{Decklist/list|title = [[Fusion Monster]]s |cards = {{{fusion monsters}}}}} }}
  }}{{
+
    | column2 = {{ #if: {{{synchro monsters<includeonly>|</includeonly>}}} | {{Decklist/list|title = [[Synchro Monster]]s |cards = {{{synchro monsters}}}}} }}<!--
     #if: {{{dark tuner monsters<includeonly>|</includeonly>}}} |  
+
            -->{{ #if: {{{dark synchro monsters<includeonly>|</includeonly>}}} | {{Decklist/list|title = [[Dark Synchro Monster]]s|cards = {{{dark synchro monsters}}}}} }}
; [[Dark Tuner monster]]s
+
    | column3 = {{ #if: {{{xyz monsters<includeonly>|</includeonly>}}} | {{Decklist/list|title = [[Xyz Monster]]s |cards = {{{xyz monsters}}}}} }}
{{{dark tuner monsters}}}
+
    | column4 = {{ #if: {{{link monsters<includeonly>|</includeonly>}}} | {{Decklist/list|title = [[Link Monster]]s |cards = {{{link monsters}}}}} }}<!--
  }}{{
+
            -->{{ #if: {{{other extra deck monsters<includeonly>|</includeonly>}}} | {{Decklist/list|title = Other |cards = {{{other extra deck monsters}}}}} }}
     #if: {{{ritual monsters<includeonly>|</includeonly>}}} |  
+
    }}
; [[Ritual Monster]]s
+
   }}
{{{ritual monsters}}}
+
}}<!--
  }}{{
+
 
    #if: {{{other monsters<includeonly>|</includeonly>}}} |  
+
// ===============  \\
; Other
+
  Side Deck
{{{other monsters}}}
+
\\ ================ //
   }}{{
+
 
     #if: {{{monsters|}}}
+
-->{{ #vardefine: $decklist-location | Side Deck }}<!--
    | [[Category:Decklist transclusions with duplicate parameters]]
+
 
 +
-->{{ #vardefine: $decklist-side
 +
| {{ #if: {{{side monsters<includeonly>|</includeonly>}}}{{{side normal monsters|}}}{{{side effect monsters|}}}{{{side flip monsters|}}}{{{side toon monsters|}}}{{{side spirit monsters|}}}{{{side union monsters|}}}{{{side gemini monsters|}}}{{{side tuner monsters|}}}{{{side dark tuner monsters|}}}{{{side pendulum monsters|}}}{{{side maximum monsters|}}}{{{side ritual monsters|}}}{{{side fusion monsters|}}}{{{side synchro monsters|}}}{{{side dark synchro monsters|}}}{{{side xyz monsters|}}}{{{side link monsters|}}}{{{other side deck monsters|}}}{{{side spells|}}}{{{side magic|}}}{{{side traps|}}}
 +
   | {{Decklist/Deck
 +
    | title  = [[Side Deck]]
 +
     | column1 = <!--
 +
    -->{{ #if: {{{side monsters<includeonly>|</includeonly>}}} | {{Decklist/list|title = [[Monster Card]]s |cards = {{{side monsters}}}}} }}<!--
 +
    -->{{ #if: {{{side normal monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Normal Monster]]s |cards = {{{side normal monsters}}}}} }}<!--
 +
    -->{{ #if: {{{side effect monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Effect Monster]]s |cards = {{{side effect monsters}}}}} }}<!--
 +
    -->{{ #if: {{{side flip monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Flip monster]]s |cards = {{{side flip monsters}}}}} }}<!--
 +
     -->{{ #if: {{{side toon monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Toon monster]]s |cards = {{{side toon monsters}}}}} }}<!--
 +
    -->{{ #if: {{{side spirit monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Spirit monster]]s |cards = {{{side spirit monsters}}}}} }}<!--
 +
    -->{{ #if: {{{side union monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Union monster]]s |cards = {{{side union monsters}}}}} }}<!--
 +
    -->{{ #if: {{{side gemini monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Gemini monster]]s |cards = {{{side gemini monsters}}}}} }}<!--
 +
    -->{{ #if: {{{side tuner monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Tuner monster]]s |cards = {{{side tuner monsters}}}}} }}<!--
 +
     -->{{ #if: {{{side dark tuner monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Dark Tuner monster]]s |cards = {{{side dark tuner monsters}}}}} }}<!--
 +
    -->{{ #if: {{{side pendulum monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Pendulum Monster]]s |cards = {{{side pendulum monsters}}}}} }}<!--
 +
     -->{{ #if: {{{side maximum monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Maximum Monster]]s |cards = {{{side maximum monsters}}}}} }}<!--
 +
    -->{{ #if: {{{side ritual monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Ritual Monster]]s |cards = {{{side ritual monsters}}}}} }}<!--
 +
    -->{{ #if: {{{side fusion monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Fusion Monster]]s |cards = {{{side fusion monsters}}}}} }}<!--
 +
    -->{{ #if: {{{side synchro monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Synchro Monster]]s |cards = {{{side synchro monsters}}}}} }}<!--
 +
     -->{{ #if: {{{side dark synchro monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Dark Synchro Monster]]s |cards = {{{side dark synchro monsters}}}}} }}<!--
 +
    -->{{ #if: {{{side xyz monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Xyz Monster]]s |cards = {{{side xyz monsters}}}}} }}<!--
 +
     -->{{ #if: {{{side link monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Link Monster]]s |cards = {{{side link monsters}}}}} }}<!--
 +
    -->{{ #if: {{{other side deck monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = Other monsters |cards = {{{other side deck monsters}}}}} }}
 +
 
 +
    | column2 = {{Decklist/list
 +
      | title = {{ #if: {{{side spells<includeonly>|</includeonly>}}} | [[Spell Card]]s   | [[Magic Card]]s }}
 +
      | cards = {{ #if: {{{side spells<includeonly>|</includeonly>}}} | {{{side spells}}} | {{{side magic|}}} }}
 +
      }}
 +
 
 +
     | column3 = {{ #if: {{{side traps<includeonly>|</includeonly>}}} | {{Decklist/list|title = [[Trap Card]]s|cards = {{{side traps}}}}} }}
 +
    }}
 
   }}
 
   }}
   | {{
+
}}<!--
     #if: {{{monsters|}}}
+
 
     |  
+
// ================ \\
{{{monsters}}}
+
  Main Deck
 +
\\ ================ //
 +
 
 +
-->{{ #vardefine: $decklist-location | Main Deck }}<!--
 +
 
 +
-->{{ #vardefine: $decklist-has-non-main | {{ #if: {{ #var: $decklist-extra }}{{ #var: $decklist-side }} | 1 }} }}<!--
 +
 
 +
-->{{ #vardefine: $decklist-main
 +
| {{Decklist/Deck
 +
  | title  = {{ #if: {{ #var: $decklist-has-non-main }} | [[Main Deck]] }}
 +
   | column1 = <!--
 +
    -->{{Decklist/list
 +
    | title      = [[Monster Card]]s
 +
    | total      = {{{total m<includeonly>|</includeonly>}}}
 +
    | force_title = {{ #var: $decklist-has-main-monsters }}
 +
    | cards      = {{{monsters<includeonly>|</includeonly>}}}
 +
    }}<!--
 +
    -->{{ #if: {{{normal monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Normal Monster]]s |cards = {{{normal monsters}}}}} }}<!--
 +
    -->{{ #if: {{{effect monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Effect Monster]]s |cards = {{{effect monsters}}}}} }}<!--
 +
    -->{{ #if: {{{flip monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Flip monster]]s |cards = {{{flip monsters}}}}} }}<!--
 +
     -->{{ #if: {{{toon monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Toon monster]]s |cards = {{{toon monsters}}}}} }}<!--
 +
     -->{{ #if: {{{spirit monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Spirit monster]]s |cards = {{{spirit monsters}}}}} }}<!--
 +
    -->{{ #if: {{{union monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Union monster]]s |cards = {{{union monsters}}}}} }}<!--
 +
    -->{{ #if: {{{gemini monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Gemini monster]]s |cards = {{{gemini monsters}}}}} }}<!--
 +
    -->{{ #if: {{{tuner monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Tuner monster]]s |cards = {{{tuner monsters}}}}} }}<!--
 +
    -->{{ #if: {{{dark tuner monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Dark Tuner monster]]s |cards = {{{dark tuner monsters}}}}} }}<!--
 +
    -->{{ #if: {{{pendulum monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Pendulum Monster]]s |cards = {{{pendulum monsters}}}}} }}<!--
 +
    -->{{ #if: {{{maximum monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Maximum Monster]]s |cards = {{{maximum monsters}}}}} }}<!--
 +
    -->{{ #if: {{{ritual monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Ritual Monster]]s |cards = {{{ritual monsters}}}}} }}<!--
 +
    -->{{ #if: {{{other monsters<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = Other monsters |cards = {{{other monsters}}}}} }}
 +
 
 +
  | column2 = {{Decklist/list
 +
    | title = {{ #if: {{{magic<includeonly>|</includeonly>}}} | [[Magic Card]]s | [[Spell Card]]s }}
 +
    | total = {{{total s<includeonly>|</includeonly>}}}
 +
    | force_title = {{ #var: $decklist-has-main-spells }}
 +
    | cards = {{ #if: {{{spells<includeonly>|</includeonly>}}} | {{{spells}}}    | {{{magic|}}} }}
 +
    }}<!--
 +
    -->{{ #if: {{{normal spells<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Normal Spell]]s |cards = {{{normal spells}}}}} }}<!--
 +
    -->{{ #if: {{{equip spells<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Equip Spell]]s |cards = {{{equip spells}}}}} }}<!--
 +
    -->{{ #if: {{{field spells<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Field Spell]]s |cards = {{{field spells}}}}} }}<!--
 +
    -->{{ #if: {{{ritual spells<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Ritual Spell]]s |cards = {{{ritual spells}}}}} }}<!--
 +
    -->{{ #if: {{{continuous spells<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Continuous Spell]]s |cards = {{{continuous spells}}}}} }}<!--
 +
    -->{{ #if: {{{quick-play spells<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Quick-Play Spell]]s |cards = {{{quick-play spells}}}}} }}<!--
 +
    -->{{ #if: {{{link spells<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Link Spell]]s |cards = {{{link spells}}}}} }}
 +
 
 +
  | column3 = {{Decklist/list
 +
    | title = [[Trap Card]]s
 +
    | total = {{{total t<includeonly>|</includeonly>}}}
 +
    | force_title = {{ #var: $decklist-has-main-traps }}
 +
    | cards = {{{traps<includeonly>|</includeonly>}}}
 +
    }}<!--
 +
    -->{{ #if: {{{normal traps<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Normal Trap]]s |cards = {{{normal traps}}}}} }}<!--
 +
    -->{{ #if: {{{counter traps<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Counter Trap]]s |cards = {{{counter traps}}}}} }}<!--
 +
    -->{{ #if: {{{continuous traps<includeonly>|</includeonly>}}} | {{Decklist/list|subtitle = [[Continuous Trap]]s |cards = {{{continuous traps}}}}} }}
 +
 
 +
  | column4 = <!--
 +
    -->{{ #if: {{{other<includeonly>|</includeonly>}}} | {{Decklist/list|title = Other cards |cards = {{{other}}}|total={{{total o<includeonly>|</includeonly>}}}}} }}<!--
 +
    -->{{ #if: {{{tokens<includeonly>|</includeonly>}}} | {{Decklist/list|title = [[Monster Token|Tokens]] |cards = {{{tokens}}}}} }}<!--
 +
    -->{{ #if: {{{equips<includeonly>|</includeonly>}}} | {{Decklist/list|title = [[Equip Card]]s |cards = {{{equips}}}}} }}<!--
 +
    -->{{ #if: {{{illusions<includeonly>|</includeonly>}}} | {{Decklist/list|title = [[Illusion Card]]s |cards = {{{illusions}}}}} }}<!--
 +
    -->{{ #if: {{{smpus<includeonly>|</includeonly>}}} | {{Decklist/list|title = [[Slot Machine Power Unit]]s |cards = {{{smpus}}}}} }}<!--
 +
    -->{{ #if: {{{viruses<includeonly>|</includeonly>}}} | {{Decklist/list|title = [[Virus Card]]s |cards = {{{viruses}}}}} }}<!--
 +
    -->{{ #if: {{{hybrids<includeonly>|</includeonly>}}} | {{Decklist/list|title = Hybrid cards |cards = {{{hybrids}}}}} }}<!--
 +
    -->{{ #if: {{{unknowns<includeonly>|</includeonly>}}} | {{Decklist/list|title = Unknown |cards = {{{unknowns}}}}} }}
 
   }}
 
   }}
}}
+
}}<!--
 +
 
 +
// =================== \\
 +
  Display everything
 +
\\ =================== //
 +
 
 +
--><templatestyles src="Template:Decklist/styles.css" /><!--
 +
 
 +
--><div class="decklist decklist-sandbox {{ #if: {{ #var: $decklist-has-non-main }} || decklist-main-only }}"><!--
 +
  -->{{Collapse top
 +
  | bg      = #337C97
 +
  | fc      = white
 +
  | title  = {{ #replace: {{ #var: $name | Deck }} | !! | &#33;&#33; }}<!-- remove this #replace after {{Collapse top}}/{{Collapse bottom}} are changed to not break with !! in input -->{{ #if: {{{level<includeonly>|</includeonly>}}}
 +
    | &#32;{{explain|★{{{level}}}|Level {{{level}}}}}
 +
    }}
 +
  | border2 = {{ #if: {{ #var: $decklist-has-non-main }} | 0        | 1px silver }}
 +
  | padding = {{ #if: {{ #var: $decklist-has-non-main }} | 0 1px 1px | .6em }}
 +
  | expand  = {{ #if: {{ #var: $decklist-has-non-main }} | yes }}
 +
  }}<!--
 +
  -->{{ #if: {{{ja_name<includeonly>|</includeonly>}}}
 +
  | <div style="text-align: center; font-size: .85724em;">'''Japanese''': {{{ja_name}}} {{ #if: {{{romaji_name<includeonly>|</includeonly>}}}
 +
    | &middot; '''''Rōmaji''''': ''{{{romaji_name}}}''
 +
    }} {{ #if: {{{ja_trans_name<includeonly>|</includeonly>}}}
 +
    | &middot; '''Translated''': {{{ja_trans_name}}}
 +
    }}</div>
 +
  }}{{ #if: {{{description<includeonly>|</includeonly>}}}
 +
  | <div style="text-align: center;">{{{description}}}</div>
 +
  }}{{ #if: {{{skill<includeonly>|</includeonly>}}}
 +
  | <div style="text-align: center;">'''[[Skill Card]]:''' <div class="hlist" style="display: inline-block;">
 +
{{{skill}}}</div></div>
 +
  }}<!--
 +
  -->{{ #var: $decklist-main  }}<!--
 +
  -->{{ #var: $decklist-extra }}<!--
 +
  -->{{ #var: $decklist-side  }}
 +
  {{Collapse bottom}}
 +
</div><!--
 +
 
 +
// =================== \\
 +
  Semantic properties
 +
\\ =================== //
  
| list1r2title = {{#ifeq: {{{style|}}} | previous| [[Fusion Deck]] | [[Extra Deck]]}} {{ #if: {{{total e|}}} |({{{total e}}}) }}
+
// Subobject containing properties of the Deck itself.
| list1r2      = {{
+
// The `/list` subtemplate will add more subobjects for each card, which link to this subobject.
  #if: {{{fusion monsters<includeonly>|</includeonly>}}}{{{synchro monsters|}}}{{{xyz monsters|}}}{{{dark synchro monsters|}}}
+
-->{{ #if: {{ #var: $decklist-store-properties }}
   | {{
+
| {{ #subobject: Decklist-{{ #var: $decklist-counter }}
    #if: {{{fusion monsters<includeonly>|</includeonly>}}} |  
+
  | English name    = {{ #var: $name | Deck }}
; [[Fusion Monster]]s
+
  | Japanese name  = {{{ja_name|}}}
{{{fusion monsters}}}
+
  | Romaji name    = {{{romaji_name|}}}
   }}{{
+
  | Translated Japanese name = {{{ja_trans_name|}}}
    #if: {{{synchro monsters<includeonly>|</includeonly>}}} |  
+
  | Deck Level      = {{{level|}}}
; [[Synchro Monster]]s
+
   | Owner          = {{ #if: {{{owner|}}}     | {{{owner}}}      | {{PAGENAME}} }}
{{{synchro monsters}}}
+
   | Owner name      = {{ #if: {{{owner_name|}}}
  }}{{
+
    | {{{owner_name}}}
    #if: {{{xyz monsters<includeonly>|</includeonly>}}} |  
+
    | {{Strip disambiguation|{{ #if: {{{owner|}}} | {{{owner}}} | {{PAGENAME}} }}}}
; [[Xyz Monster]]s
+
    }}
{{{xyz monsters}}}
 
  }}{{
 
    #if: {{{dark synchro monsters<includeonly>|</includeonly>}}} |
 
; [[Dark Synchro Monster]]s
 
{{{dark synchro monsters}}}
 
 
   }}
 
   }}
}}
+
}}<!--
 +
 
 +
// ==================  \\
 +
  Tracking categories
 +
\\ =================== //
 +
 
 +
// Flag if a Deck has no cards.
 +
-->{{ #if: {{ #var: $decklist-has-cards }} || [[Category:Empty ((Decklist)) transclusions]] }}<!--
 +
 
 +
// Removed parameters
 +
-->{{ #if: {{{color|}}}{{{Color|}}}
 +
| [[Category:((Decklist)) transclusions using color]]
 +
| {{ #ifeq: {{{color|¬}}}{{{Color|¬}}} | ¬¬ || [[Category:((Decklist)) transclusions with empty color parameter]] }}
 +
}}<!--
 +
 
 +
-->{{ #if: {{{color2|}}}{{{Color2|}}}
 +
| [[Category:((Decklist)) transclusions using color2]]
 +
| {{ #ifeq: {{{color2|¬}}}{{{Color2|¬}}} | ¬¬ || [[Category:((Decklist)) transclusions with empty color2 parameter]] }}
 +
}}<!--
 +
 
 +
-->{{ #ifeq: {{{total m|¬}}} | ¬ || [[Category:((Decklist)) transclusions using "total m"]]  }}<!--
 +
-->{{ #ifeq: {{{total me|¬}}} | ¬ || [[Category:((Decklist)) transclusions using "total me"]] }}<!--
 +
-->{{ #ifeq: {{{total s|¬}}} | ¬ || [[Category:((Decklist)) transclusions using "total s"]]  }}<!--
 +
-->{{ #ifeq: {{{total t|¬}}} | ¬ || [[Category:((Decklist)) transclusions using "total t"]]  }}<!--
 +
-->{{ #ifeq: {{{total o|¬}}} | ¬ || [[Category:((Decklist)) transclusions using "total o"]]  }}<!--
 +
-->{{ #ifeq: {{{total_other|¬}}} | ¬ || [[Category:((Decklist)) transclusions using "total_other"]]  }}<!--
  
| list2title = [[Spell Card|{{ #if: {{{spells<includeonly>|</includeonly>}}} | Spells | Magic }}]] {{ #if: {{{total s|}}} | ({{{total s}}}) }}
+
// Clear variables
| list2      = {{ #if: {{{spells<includeonly>|</includeonly>}}} | {{{spells}}} | {{{magic<includeonly>|</includeonly>}}} }}
+
-->{{ #vardefine: $decklist-location | }}<!--
  
| list3title = [[Trap Card|Traps]] {{ #if: {{{total t|}}} | ({{{total t}}}) }}
+
// Check for unknown parameters
| list3      = {{{traps<includeonly>|</includeonly>}}}
+
-->{{ #invoke: Check for unknown parameters | check
 +
| unknown = [[Category:Pages using unknown parameter(s) for ((Decklist))]]
 +
| showblankpositional = 1
 +
| preview = unknown <nowiki>{{Decklist}}</nowiki> parameter "_VALUE_"
 +
| 1 | name | store_properties | has_fusion_deck
 +
| color | Color | color2 | Color2
 +
| level | ja_name | romaji_name | ja_trans_name | owner | owner_name | description | skill
 +
| total m | total me | total s | total t | total o | total_other
 +
| monsters | normal monsters | effect monsters | flip monsters | toon monsters | spirit monsters | union monsters | gemini monsters | tuner monsters | dark tuner monsters | pendulum monsters | maximum monsters | ritual monsters | other monsters
 +
| fusion monsters | synchro monsters | dark synchro monsters | xyz monsters | link monsters | other extra deck monsters
 +
| spells | magic | normal spells | equip spells | field spells | ritual spells | continuous spells | quick-play spells | link spells
 +
| traps | normal traps | counter traps | continuous traps
 +
| other | equips | illusions | smpus | viruses | hybrids | tokens | unknowns
 +
| side monsters | side normal monsters | side effect monsters | side flip monsters | side toon monsters | side spirit monsters | side union monsters | side gemini monsters | side tuner monsters | side dark tuner monsters | side pendulum monsters | side maximum monsters | side ritual monsters | side fusion monsters | side synchro monsters | side dark synchro monsters | side xyz monsters | side link monsters | other side deck monsters
 +
| side spells | side magic | side traps
 +
}}<!--
  
| list4title = Other cards {{ #if: {{{total o|}}} | ({{{total o}}}) }}
+
--><noinclude>{{documentation}}</noinclude>
| list4      = {{{other<includeonly>|</includeonly>}}}
 
}}
 
}}<noinclude>
 
{{documentation}}
 
</noinclude>
 

Latest revision as of 12:55, 26 March 2024

{{{name}}} ★{{{level}}}
Japanese: {{{ja_name}}} · Rōmaji: {{{romaji_name}}} · Translated: {{{ja_trans_name}}}
{{{description}}}
Skill Card:
{{{skill}}}

Monster Cards ({{{total m}}})

{{{monsters}}}

Normal Monsters

{{{normal monsters}}}

Effect Monsters

{{{effect monsters}}}

Flip monsters

{{{flip monsters}}}

Toon monsters

{{{toon monsters}}}

Spirit monsters

{{{spirit monsters}}}

Union monsters

{{{union monsters}}}

Gemini monsters

{{{gemini monsters}}}

Tuner monsters

{{{tuner monsters}}}

Dark Tuner monsters

{{{dark tuner monsters}}}

Pendulum Monsters

{{{pendulum monsters}}}

Maximum Monsters

{{{maximum monsters}}}

Ritual Monsters

{{{ritual monsters}}}

Other monsters

{{{other monsters}}}

Magic Cards ({{{total s}}})

{{{spells}}}

Normal Spells

{{{normal spells}}}

Equip Spells

{{{equip spells}}}

Field Spells

{{{field spells}}}

Ritual Spells

{{{ritual spells}}}

Continuous Spells

{{{continuous spells}}}

Quick-Play Spells

{{{quick-play spells}}}

Link Spells

{{{link spells}}}

Trap Cards ({{{total t}}})

{{{traps}}}

Normal Traps

{{{normal traps}}}

Counter Traps

{{{counter traps}}}

Continuous Traps

{{{continuous traps}}}

Other cards ({{{total o}}})

{{{other}}}

Tokens

{{{tokens}}}

Equip Cards

{{{equips}}}

Illusion Cards

{{{illusions}}}

Slot Machine Power Units

{{{smpus}}}

Virus Cards

{{{viruses}}}

Hybrid cards

{{{hybrids}}}

Unknown

{{{unknowns}}}
Extra Deck ({{{total me}}})

Fusion Monsters

{{{fusion monsters}}}

Synchro Monsters

{{{synchro monsters}}}

Dark Synchro Monsters

{{{dark synchro monsters}}}

Xyz Monsters

{{{xyz monsters}}}

Link Monsters

{{{link monsters}}}

Other

{{{other extra deck monsters}}}

Monster Cards

{{{side monsters}}}

Normal Monsters

{{{side normal monsters}}}

Effect Monsters

{{{side effect monsters}}}

Flip monsters

{{{side flip monsters}}}

Toon monsters

{{{side toon monsters}}}

Spirit monsters

{{{side spirit monsters}}}

Union monsters

{{{side union monsters}}}

Gemini monsters

{{{side gemini monsters}}}

Tuner monsters

{{{side tuner monsters}}}

Dark Tuner monsters

{{{side dark tuner monsters}}}

Pendulum Monsters

{{{side pendulum monsters}}}

Maximum Monsters

{{{side maximum monsters}}}

Ritual Monsters

{{{side ritual monsters}}}

Fusion Monsters

{{{side fusion monsters}}}

Synchro Monsters

{{{side synchro monsters}}}

Dark Synchro Monsters

{{{side dark synchro monsters}}}

Xyz Monsters

{{{side xyz monsters}}}

Link Monsters

{{{side link monsters}}}

Other monsters

{{{other side deck monsters}}}

Spell Cards

{{{side spells}}}

Trap Cards

{{{side traps}}}