Template:Alert level: Difference between revisions

From Bradshaw, the companion guide to On Our Lines
m (this will either work or break with fire)
m (fix)
Line 1: Line 1:
<span style="background-color: #{{#switch:{{lc:{{{1}}}}}
<span style="
background-color: #{{#switch:{{lc:{{{1}}}}}
  | green | #default = 007a33
  | green | #default = 007a33
  | yellow = ffcd00
  | yellow = ffcd00
Line 5: Line 6:
  | 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
| yellow = ffcd00
| red = da291c
| black = 000000
| blue = 10069f
}}|ffffff}}}}}; font-variant: small-caps; border: 1px solid; padding: 0px 2px 2px 2px;">'''code {{{1}}}'''</span>

Revision as of 02:02, 6 February 2021

code {{{1}}}