Difference between revisions of "Template:Rating"

From Dolphin Emulator Wiki
Jump to: navigation, search
(use {{plural}} magic word for alt text)
(error category, documentation template)
Line 1: Line 1:
 
<span style="font-size:0;">{{{1}}}</span>{{#switch:{{{1}}}
 
<span style="font-size:0;">{{{1}}}</span>{{#switch:{{{1}}}
  |0|1|2|3|4|5|6 = [[File:Stars{{{1}}}.png|link=|alt={{{1}}} star{{plural:{{{1}}}||s}}]]
+
  | 0|1|2|3|4|5|6 = [[File:Stars{{{1}}}.png|link=|alt={{{1}}} star{{plural:{{{1}}}||s}}]]
  | [[File:Ratingerror.png|link=|alt=undef. rating]]
+
  | #default = [[File:Ratingerror.png|link=|alt=undef. rating]][[Category:Pages with rating template issues]]
  }}
+
  }}<noinclude>
 +
{{documentation}}
 +
</noinclude>

Revision as of 01:20, 26 June 2011

{{{1}}}File:Ratingerror.png

[edit] [purge] Template documentation

Example

{{rating|0}}
{{rating|1}}
{{rating|2}}
{{rating|3}}
{{rating|4}}
{{rating|5}}

Produces:

0***** 1***** 2***** 3***** 4***** 5*****

Used By

D

R

S