Template:RiskAssessment/ScoreCalculator: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
bgcolor="{{#switch:{{#expr: {{#explode:{{{score|0/0}}}|/|0|-1}}*{{#explode:{{{score}}}|/|1|-1}}}}
style="background-color: {{#switch:{{#expr: {{#explode:{{{score|0/0}}}|/|0|-1}}*{{#explode:{{{score}}}|/|1|-1}}}}
|1=#3ab54a
|1=\#3ab54a
|2=#3ab54a
|2=\#3ab54a
|3=#abd373
|3=\#abd373
|4=#abd373
|4=\#abd373
|5=#abd373
|5=\#abd373
|6=#abd373
|6=\#abd373
|8=#fff568
|8=\#fff568
|9=#fff568
|9=\#fff568
|10=#fff568
|10=\#fff568
|12=#fff568
|12=\#fff568
|15=#fbae5c
|15=\#fbae5c
|16=#fbae5c
|16=\#fbae5c
|20=#f26c4f
|20=\#f26c4f
|25=#f26c4f
|25=\#f26c4f
|#default=gray}}" | {{{score|0/0}}}
|#default=gray}}" | {{{score|0/0}}}

Latest revision as of 12:47, 11 November 2024

style="background-color: gray" | 0/0