Template:RiskAssessment/ScoreCalculator: Difference between revisions
Jump to navigation
Jump to search
Add category |
m Swap likelihood / severity |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
style="background-color: {{#switch:{{#expr: {{#explode:{{{score|0/0}}}|/| | style="background-color: {{#switch:{{#expr: {{#explode:{{{score|0/0}}}|/|1|-1}}*{{#explode:{{{score}}}|/|0|-1}}}} | ||
|1=\#3ab54a | |1=\#3ab54a | ||
|2=\#3ab54a | |2=\#3ab54a | ||
| Line 14: | Line 14: | ||
|20=\#f26c4f | |20=\#f26c4f | ||
|25=\#f26c4f | |25=\#f26c4f | ||
|#default=gray}}" | {{{score|0/0}}} | |#default=gray}}" | {{{score|0/0}}}<noinclude> | ||
<noinclude> | |||
[[Category:Templates Risk Assessments]] | [[Category:Templates Risk Assessments]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 11:03, 27 October 2025
style="background-color: gray" | 0/0