Template:RiskAssessment/ScoreCalculator: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
No edit summary
m Swap likelihood / severity
 
(5 intermediate revisions by 2 users 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}}}|/|1|-1}}*{{#explode:{{{score}}}|/|0|-1}}}}
|1=green
|1=\#3ab54a
|2=green
|2=\#3ab54a
|#default=gray}}" | {{{score|0/0}}}
|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}}}<noinclude>
[[Category:Templates Risk Assessments]]
</noinclude>

Latest revision as of 11:03, 27 October 2025

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