Template:Alert level: Difference between revisions

From Bradshaw, the companion guide to On Our Lines
m (this will either work or break with fire)
(+cat)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<span style="background-color: #{{#switch:{{lc:{{{1}}}}}
<span style="
  | green | #default = 007a33
background-color: #{{#switch:{{lc:{{{1}}}}}
  | none | #default = #ffffff
| green = 007a33
  | yellow = ffcd00
  | yellow = ffcd00
  | red = da291c
  | red = da291c
  | black = 000000
  | black = 000000
  | blue = 10069f
  | blue = 10069f
}}; color: #{{Greater colour contrast ratio|{{#switch:{{lc:{{{1}}}}}
}}; color:{{Greater colour contrast ratio|{{{1|#00ff00}}}}};;font-variant: small-caps; border: 1px solid; padding: 0px 2px 2px 2px;">'''code {{{1}}}'''</span>
| green | #default = 007a33
<noinclude>[[Category:Templates]] [[Category:SimSig Sessions]]</noinclude>
| yellow = ffcd00
| red = da291c
| black = 000000
| blue = 10069f
}}|ffffff}}}}}; font-variant: small-caps; border: 1px solid; padding: 0px 2px 2px 2px;">'''code {{{1}}}'''</span>

Latest revision as of 16:59, 26 February 2021

code {{{1}}}