Difference between revisions of "ScoreColour"

From Sega Retro

(WCAG AA contrast compliance)
Line 1: Line 1:
{{#ifexpr: {{{1}}} < 21 | background: #F80000 !important; color: #FFFFFF;
+
{{#ifexpr: {{{1}}} < 21 | background: #E60000 !important; color: #FFFFFF;
 
| {{#ifexpr: {{{1}}} < 41 | background: #F8C500 !important; color: #000000;
 
| {{#ifexpr: {{{1}}} < 41 | background: #F8C500 !important; color: #000000;
 
| {{#ifexpr: {{{1}}} < 61 | background: #F8F800 !important; color: #000000;
 
| {{#ifexpr: {{{1}}} < 61 | background: #F8F800 !important; color: #000000;
| {{#ifexpr: {{{1}}} < 81 | background: #B0EA00 !important; color: #000000;
+
| {{#ifexpr: {{{1}}} < 81 | background: #008500 !important; color: #000000;
 
| background: #00D000!important; color: #FFFFFF !important; }}}}}}}}<noinclude>[[Category:Sega Retro templates]]</noinclude>
 
| background: #00D000!important; color: #FFFFFF !important; }}}}}}}}<noinclude>[[Category:Sega Retro templates]]</noinclude>

Revision as of 20:38, 18 August 2020

Expression error: Unrecognized punctuation character "{".