Template:Rating/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Rating (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

This template is designed to provide a star rating system. If more than 6 stars are used, their size is decreased.

[edit] When to use this template

Please only use this star template if the rating was actually given in stars. For example, if a reviewer awards something a rating of "8.6" (expressed in digits) on a scale of ten, you should write it as "8.6" or "8.6/10.0" in your article. Do not use {{rating|8.6|10}} as it is inaccurate and misleading. Note that it is quite rare for a rating on a scale of ten to be expressed with stars as it is very hard to read.

[edit] Examples

  • {{Rating|4|5}} displays as 4/5 stars4/5 stars4/5 stars4/5 stars4/5 stars
  • {{Rating|0|3}} displays as 0/3 stars0/3 stars0/3 stars
  • {{Rating|3.5|6}} displays as 3.5/6 stars3.5/6 stars3.5/6 stars3.5/6 stars3.5/6 stars3.5/6 stars
  • {{Rating|8|8}} displays as 8/8 stars8/8 stars8/8 stars8/8 stars8/8 stars8/8 stars8/8 stars8/8 stars
  • {{Rating|5|10}} displays as 5/10 stars5/10 stars5/10 stars5/10 stars5/10 stars5/10 stars5/10 stars5/10 stars5/10 stars5/10 stars

[edit] See also