Template:Rating-5/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Rating-5 (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.
The template {{Rating-5/doc}} is deprecated. Please use {{Rating-5}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|Rating-5/doc|Rating-5}}.
The template {{Rating-5}} is deprecated. Please use {{Rating}} instead.

This template is designed to provide a Five Star system of rating.

To use this template add the following:

{{Rating-5|RATING}}

The field "RATING" refers to its rating out of Five. You can use any decimal or whole number. This will render it at an appropriate size for an infobox. If "RATING" is omitted, such as by writing {{Rating-5}} on its own, a warning, RATING NOT SPECIFIED, will be rendered.

See the following templates for other rating systems:
{{Rating-3}} {{Rating-4}} {{Rating-6}} {{Rating-10}}

[edit] Examples of ratings

  • {{Rating-5|0}} displays as 0/5 stars
  • {{Rating-5|1.8}} displays as 1.8/5 stars
  • {{Rating-5|3.5}} displays as 3.5/5 stars
  • {{Rating-5|4.1}} displays as 4.1/5 stars
  • {{Rating-5|5}} displays as 5/5 stars