Actions

Template

Difference between revisions of "ScoreColour"

From NEC Retro

m (Text replacement - "Category:NEC Retro templates" to "Category:Templates")
 
Line 25: Line 25:
 
|}
 
|}
  
[[Category:NEC Retro templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 12:37, 1 January 2022


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