Template:Current Situation: Difference between revisions

no edit summary
imported>HoodMoney54
(Consolidated templates so we're not juggling parameters back and forth, and added code-to-number functionality. Also updated the documentation a bit.)
imported>HoodMoney54
No edit summary
Line 1: Line 1:
<div style="display: flex; border: 1px solid #aaa; background-color: #E8E8E8; max-width: 100%; padding: 5px; margin-top: 16px;">
<div style="display: flex; border: 1px solid #aaa; background-color: #E8E8E8; max-width: 100%; padding: 5px; margin-top: 16px;">
   <div style="width: 300px; border: 1px solid #aaa; text-align: center; padding: 2px; {{#switch: {{lc:{{{code|rainbow}}}}}
   <div style="width: 300px; border: 1px solid #aaa; text-align: center; padding: 2px; {{#switch: {{lc:{{{code|1}}}}}
| 1 | green      = background-color: #ccffcc; color: black;
| 1 | green      = background-color: #ccffcc; color: black;
| 2 | black      = background-color: #000000; color: white;
| 2 | black      = background-color: #000000; color: white;
Anonymous user