Difference between revisions of "Template:Star"

From Yugipedia
Jump to: navigation, search
(In the manga, Ranks use plain stars (★).)
(Classes)
Line 1: Line 1:
 
{{ #if:{{{rank|}}}
 
{{ #if:{{{rank|}}}
| {{ #iferror: +{{{rank}}}
+
| <span class="rankstars">{{ #iferror: +{{{rank}}}
 
   | [[File:QuestionRankStar.svg|alt=]]
 
   | [[File:QuestionRankStar.svg|alt=]]
 
   | {{ #switch: {{{medium}}}
 
   | {{ #switch: {{{medium}}}
Line 6: Line 6:
 
     | #default = {{Repeat|[[File:RankStar.svg|alt=]]|{{{rank|}}}}}
 
     | #default = {{Repeat|[[File:RankStar.svg|alt=]]|{{{rank|}}}}}
 
     }}
 
     }}
   }}
+
   }}</span>
| {{ #iferror: +{{{level}}}
+
| <span class="stars">{{ #iferror: +{{{level}}}
 
   | [[File:QuestionStar.svg|alt=]]
 
   | [[File:QuestionStar.svg|alt=]]
 
   | {{ #switch: {{{game|}}}
 
   | {{ #switch: {{{game|}}}
Line 20: Line 20:
 
       }}
 
       }}
 
     }}
 
     }}
   }}
+
   }}</span>
 
}}<noinclude>
 
}}<noinclude>
  
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 14:51, 23 August 2012

String Module Error: function rep expects a number as second parameter, received ""