Template:Rating/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Usage

[edit]
  • {{Rating|rating}}
  • {{Rating|rating|width}}

Examples

[edit]
Code Output
{{Rating|0}}
{{Rating|0.5}}
{{Rating|1}}
{{Rating|1.5}}
{{Rating|2}}
{{Rating|2.5}}
{{Rating|3}}
{{Rating|3.5}}
{{Rating|4}}
{{Rating|4.5}}
{{Rating|5}}

Increasing Width

[edit]

By default, this template has image width of 50px. You can use custom width in parameter. For example {{Rating|3.5|150px}} will output following.