Difference between revisions of "ConvertRating/Single"
From Sega Retro
Line 94: | Line 94: | ||
|6={{#vardefine:displayRating|6}}{{#vardefine:score|0}} | |6={{#vardefine:displayRating|6}}{{#vardefine:score|0}} | ||
|#default={{#vardefine:displayRating|Unknown value!}}{{#vardefine:score|}} | |#default={{#vardefine:displayRating|Unknown value!}}{{#vardefine:score|}} | ||
+ | }} | ||
|1-6+={{#switch:{{#var:value}} | |1-6+={{#switch:{{#var:value}} |
Revision as of 10:34, 1 April 2021
Rating conversion code for when there's only one value - stops Mediawiki from complaining about recursion.