Template:Current Situation: Difference between revisions

From Daniel Larson Wiki
Jump to navigation Jump to search
(Consolidated templates so we're not juggling parameters back and forth, and added code-to-number functionality. Also updated the documentation a bit.)
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;

Revision as of 21:34, 1 February 2024

Code Green
'
Current situation: {{{housingsituation}}} in {{{location}}}

Documentation

This current situation template displays a code. These are in order of hierarchy from top to bottom: if two are occurring at the same time, the one higher up is used. The number on the right is the code number.

Code name Number Meaning
Code Red 8 An incident occurred recently
Code Blue 7 Daniel is in jail or is institutionalized
Code Death 6 Daniel has been injured and is hospitalized
Code Rainbow 5 Daniel is kicked out of an establishment
Code Ticonderoga 4 Chat logs or photos of Daniel have been leaked
Code Burgundy 3 Daniel is "in college" or education
Code Black 2 Daniel is not posting on social media
Code Green 1 Daniel is posting on social media "normally"

Template Data

This current situation template displays a code. These are in order of hierarchy from top to bottom: if two are occuring at the same time, the one higher up is used. The number on the right is the code number. Code Red - An incident occured recently - 8 Code Blue - Daniel is in jail or is institutionalized - 7 Code Death - Daniel has been injured and is hospitalized - 6 Code Rainbow - Daniel is kicked out of an establishment - 5 Code Ticonderoga - Chat logs or photos of Daniel have been leaked - 4 Code Burgundy - Daniel is "in college" or education - 3 Code Black - Daniel is not posting on social media - 2 Code Green - Daniel is posting on social media "normally" - 1

Template parameters

ParameterDescriptionTypeStatus
22

no description

Unknownoptional
Code Numbercodenumber

no description

Example
1 (this is code green)
Unknownoptional
housingsituationhousingsituation

no description

Unknownoptional
locationlocation

no description

Unknownoptional
DescriptionDescription

no description

Unknownoptional
StateState

no description

Unknownoptional