Actions

Template

ScoreColour

From NEC Retro

Revision as of 12:37, 1 January 2022 by Black Squirrel (talk | contribs) (Text replacement - "Category:NEC Retro templates" to "Category:Templates")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


CSS for ratings.

{{ScoreColour|XX}}

Example

{|class="prettytable"
|style="{{ScoreColour|0}}"|0
|style="{{ScoreColour|25}}"|25
|style="{{ScoreColour|50}}"|50
|style="{{ScoreColour|75}}"|75
|style="{{ScoreColour|100}}"|100
|}

produces

0 25 50 75 100