Difference between revisions of "ScoreColour"
From Sega Retro
Scarred Sun (talk | contribs) m (Protected "Template:ScoreColour": High-traffic template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
m (Text replacement - "Category:Sega Retro templates" to "Category:Templates") |
||
Line 25: | Line 25: | ||
|} | |} | ||
− | [[Category: | + | [[Category:Templates]]</noinclude> |
Latest revision as of 17:07, 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 |