Template:RatingColored/doc
Jump to navigation
Jump to search
Displays a rating with a colored background.
Parameters
1
number in the range 1-5.- 1 is very low and red
- 2 is low and orange
- 3 is medium and yellow
- 4 is high and yellow-green
- 5 is very high and green
2
(optional) name of the ratingredhigh
(optional) if set, the colors are swappedblock
(optional) if set, the html-element is a block (e.g. fills out a table-cell)
Examples
{{RatingColored|1}}
very low
{{RatingColored|3}}
medium
{{RatingColored|3|moderate}}
moderate
{{RatingColored|1|redhigh=1}}
very low
{{RatingColored|5|redhigh=1|block=1}}
very high
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.