Template:RiskAssessment/ScoreCalculator: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
Created page with "{{#vardefine:score | 3 / 4 }} Consequence: {{#explode:score| / |0|1}} Liklihood: {{#explode:score| / |1|1}} {{#switch:{{lc:{{{score|}}}}} |activity=prior to undertaking this activity |event=before hosting this event |#default=}}."
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:score | 3 / 4 }}
style="background-color: {{#switch:{{#expr: {{#explode:{{{score|0/0}}}|/|0|-1}}*{{#explode:{{{score}}}|/|1|-1}}}}
 
|1=\#3ab54a
Consequence: {{#explode:score| / |0|1}}
|2=\#3ab54a
 
|3=\#abd373
Liklihood: {{#explode:score| / |1|1}}
|4=\#abd373
 
|5=\#abd373
{{#switch:{{lc:{{{score|}}}}}
|6=\#abd373
|activity=prior to undertaking this activity
|8=\#fff568
|event=before hosting this event
|9=\#fff568
|#default=}}.
|10=\#fff568
|12=\#fff568
|15=\#fbae5c
|16=\#fbae5c
|20=\#f26c4f
|25=\#f26c4f
|#default=gray}}" | {{{score|0/0}}}

Latest revision as of 12:47, 11 November 2024

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