Difference between revisions of "Template:Star"

From Yugipedia
Jump to: navigation, search
(one less #ifexpr (there are no Level 0 monsters, so we don't really have to worry about that case); add mouseover text directly on the images as well)
(add support for the DM video games)
Line 3: Line 3:
 
   | [[File:{{ #if: {{{xyz|}}} | Rank | CG }} Star Unknown.svg|18px|?|alt=]]
 
   | [[File:{{ #if: {{{xyz|}}} | Rank | CG }} Star Unknown.svg|18px|?|alt=]]
 
   | {{
 
   | {{
     #switch: {{{medium}}}
+
     #switch: {{ lc: {{{medium}}} }}
     | Manga
+
     | manga
     | First series anime = {{Repeat|{{ #if: {{{xyz|}}} | ☆ | ★ }}|{{{1}}}}}
+
     | first series anime = {{Repeat|{{ #if: {{{xyz|}}} | ☆ | ★ }}|{{{1}}}}}
 
     | #default          = {{
 
     | #default          = {{
 
       #switch: {{{game}}}
 
       #switch: {{{game}}}
 
       | Bandai                = {{Repeat|[[File:Bandai Star.svg|18px|{{{1}}}|alt=]]|{{{1}}}}}
 
       | Bandai                = {{Repeat|[[File:Bandai Star.svg|18px|{{{1}}}|alt=]]|{{{1}}}}}
 +
      | Capsule Monster Chess = [[File:CapMonLevel{{{1}}}.svg|25px|{{{1}}}|alt=]]
 +
      | Duel Monsters
 +
      | Labyrinth Game        = {{Repeat|★|{{{1}}}}}
 
       | Dungeon Dice Monsters = [[File:SummonCrestIconLevel{{{1}}}.svg|25px|{{{1}}}|alt=]]
 
       | Dungeon Dice Monsters = [[File:SummonCrestIconLevel{{{1}}}.svg|25px|{{{1}}}|alt=]]
      | Capsule Monster Chess = [[File:CapMonLevel{{{1}}}.svg|25px|{{{1}}}|alt=]]
 
 
       | Early Duel Monsters  = {{  
 
       | Early Duel Monsters  = {{  
 
           #ifexpr: 0 < {{{1}}} | [[File:DM Star 1.svg|18px|{{{1}}}|alt=]]
 
           #ifexpr: 0 < {{{1}}} | [[File:DM Star 1.svg|18px|{{{1}}}|alt=]]
Line 28: Line 30:
 
           #ifexpr: 7 < {{{1}}} | [[File:DM Star 8.svg|18px|{{{1}}}|alt=]]
 
           #ifexpr: 7 < {{{1}}} | [[File:DM Star 8.svg|18px|{{{1}}}|alt=]]
 
         }}
 
         }}
      | Labyrinth Game        = {{Repeat|★|{{{1}}}}}
 
 
       | #default              = {{Repeat|[[File:{{ #if: {{{xyz|}}} | Rank | {{ #ifexpr: {{{1}}} < 0 | Negative | CG }} }} Star.svg|18px|{{{1}}}|alt=]]|{{{1}}}}}
 
       | #default              = {{Repeat|[[File:{{ #if: {{{xyz|}}} | Rank | {{ #ifexpr: {{{1}}} < 0 | Negative | CG }} }} Star.svg|18px|{{{1}}}|alt=]]|{{{1}}}}}
 
     }}
 
     }}

Revision as of 09:07, 18 December 2012