Difference between revisions of "Template:Star"

From Yugipedia
Jump to: navigation, search
(If the fuzzy background on the SummonCrestIcons was deliberate and should not be removed, tell me.)
Line 1: Line 1:
 
<span class="{{ #if: {{{xyz|}}} | rank }}stars" title="{{{1|?}}}">{{
 
<span class="{{ #if: {{{xyz|}}} | rank }}stars" title="{{{1|?}}}">{{
 
   #iferror: {{ #expr: {{{1}}} }}
 
   #iferror: {{ #expr: {{{1}}} }}
   | [[File:Question{{ #if: {{{xyz|}}} | Rank }}Star.svg|alt=]]
+
   | [[File:{{ #if: {{{xyz|}}} | Rank | CG }}_Star Unknown.svg|18px|alt=]]
 
   | {{
 
   | {{
 
     #switch: {{{medium}}}
 
     #switch: {{{medium}}}
Line 29: Line 29:
 
         }}
 
         }}
 
       | Labyrinth Game        = {{Repeat|★|{{{1}}}}}
 
       | Labyrinth Game        = {{Repeat|★|{{{1}}}}}
       | #default              = {{Repeat|[[File:{{ #ifexpr: {{{1}}} < 0 | Neg }}{{ #if: {{{xyz|}}} | Rank }}Star.svg|alt=]]|{{{1}}}}}
+
       | #default              = {{Repeat|[[File:{{ #ifexpr: {{{1}}} > 0 | CG }}{{ #ifexpr: {{{1}}} < 0 | Negative }}{{ #if: {{{xyz|}}} | Rank }}_Star.svg|18px|alt=]]|{{{1}}}}}
 
     }}
 
     }}
 
   }}
 
   }}

Revision as of 04:01, 27 September 2012