Difference between revisions of "Template:Decklist"

From Yugipedia
Jump to: navigation, search
(oh)
(tweak "total m"/"total me" logic; show count parameters here)
Line 6: Line 6:
 
| title      = {{ #if: {{{1|}}} | {{{1}}} | Deck }}
 
| title      = {{ #if: {{{1|}}} | {{{1}}} | Deck }}
  
| list1title = [[Monster Card|Monsters]] {{ #if: {{{total m|}}} | ({{{total m}}}{{ #if: {{{total me|}}} | , {{{total me|}}} }}) }}
+
| list1title = [[Monster Card|Monsters]] {{ #if: {{{total m<includeonly>|</includeonly>}}}{{{total me|}}} | ({{ #if: {{{total m<includeonly>|</includeonly>}}} | {{{total m}}}{{ #if: {{{total me<includeonly>|</includeonly>}}} | ,&#32; }}{{{total me<includeonly>|</includeonly>}}} }}) }}
 
| list1      = {{
 
| list1      = {{
 
   #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|}}}
 
   #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|}}}
Line 64: Line 64:
 
}}
 
}}
  
| list1r2title = {{#ifeq: {{{style|}}} | previous| [[Fusion Deck]] | [[Extra Deck]]}} {{ #if: {{{total e|}}} |({{{total e}}}) }}
+
| list1r2title = [[{{ #ifeq: {{{style|}}} | previous | Fusion | Extra }} Deck]] {{ #if: {{{total e<includeonly>|</includeonly>}}} |({{{total e}}}) }}
 
| list1r2      = {{
 
| list1r2      = {{
 
   #if: {{{fusion monsters<includeonly>|</includeonly>}}}{{{synchro monsters|}}}{{{xyz monsters|}}}{{{dark synchro monsters|}}}
 
   #if: {{{fusion monsters<includeonly>|</includeonly>}}}{{{synchro monsters|}}}{{{xyz monsters|}}}{{{dark synchro monsters|}}}
Line 86: Line 86:
 
}}
 
}}
  
| list2title = [[Spell Card|{{ #if: {{{spells<includeonly>|</includeonly>}}} | Spells | Magic }}]] {{ #if: {{{total s|}}} | ({{{total s}}}) }}
+
| list2title = [[Spell Card|{{ #if: {{{spells<includeonly>|</includeonly>}}} | Spells | Magic }}]] {{ #if: {{{total s<includeonly>|</includeonly>}}} | ({{{total s}}}) }}
 
| list2      = {{ #if: {{{spells<includeonly>|</includeonly>}}} | {{{spells}}} | {{{magic<includeonly>|</includeonly>}}} }}
 
| list2      = {{ #if: {{{spells<includeonly>|</includeonly>}}} | {{{spells}}} | {{{magic<includeonly>|</includeonly>}}} }}
  
| list3title = [[Trap Card|Traps]] {{ #if: {{{total t|}}} | ({{{total t}}}) }}
+
| list3title = [[Trap Card|Traps]] {{ #if: {{{total t<includeonly>|</includeonly>}}} | ({{{total t}}}) }}
 
| list3      = {{{traps<includeonly>|</includeonly>}}}
 
| list3      = {{{traps<includeonly>|</includeonly>}}}
  
| list4title = Other cards {{ #if: {{{total o|}}} | ({{{total o}}}) }}
+
| list4title = Other cards {{ #if: {{{total o<includeonly>|</includeonly>}}} | ({{{total o}}}) }}
 
| list4      = {{{other<includeonly>|</includeonly>}}}
 
| list4      = {{{other<includeonly>|</includeonly>}}}
 
}}
 
}}

Revision as of 20:54, 1 April 2014

Deck
Monsters ({{{total m}}}, {{{total me}}})
Normal Monsters

{{{normal monsters}}}

Effect Monsters

{{{effect monsters}}}

Toon Monsters

{{{toon monsters}}}

Spirit monsters

{{{spirit monsters}}}

Union Monsters

{{{union monsters}}}

Gemini monsters

{{{gemini monsters}}}

Tuner monsters

{{{tuner monsters}}}

Pendulum Monsters

{{{pendulum monsters}}}

Dark Tuner monsters

{{{dark tuner monsters}}}

Ritual Monsters

{{{ritual monsters}}}

Other

{{{other monsters}}}

Spells ({{{total s}}})

{{{spells}}}

Traps ({{{total t}}})

{{{traps}}}