Template:RiskAssessment/ScoreCalculator: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
bgcolor="{{#switch:{{#expr: {{#explode:{{{score|0/0}}}|/|0|-1}}*{{#explode:{{{score}}}|/|1|-1}}}}
bgcolor="{{#switch:{{#expr: {{#explode:{{{score|0/0}}}|/|0|-1}}*{{#explode:{{{score}}}|/|1|-1}}}}
|1=green
|1=#3ab54a
|2=green
|2=#3ab54a
|3=#abd373
|4=#abd373
|5=#abd373
|6=#abd373
|8=#fff568
|9=#fff568
|10=#fff568
|12=#fff568
|15=#fbae5c
|16=#fbae5c
|20=#f26c4f
|25=#f26c4f
|#default=gray}}" | {{{score|0/0}}}
|#default=gray}}" | {{{score|0/0}}}

Revision as of 12:44, 11 November 2024

bgcolor="gray" | 0/0