Template:Current Situation: Difference between revisions

From Daniel Larson Wiki
Jump to navigation Jump to search
mNo edit summary
(Consolidated templates so we're not juggling parameters back and forth, and added code-to-number functionality. Also updated the documentation a bit.)
Line 1: Line 1:
<div style="display: flex; border: 1px solid #aaa; background-color: #E8E8E8; max-width: 100%; padding: 5px; margin-top: 16.800px;">
<div style="display: flex; border: 1px solid #aaa; background-color: #E8E8E8; max-width: 100%; padding: 5px; margin-top: 16px;">
{{#switch: {{{codenumber|1}}}
  <div style="width: 300px; border: 1px solid #aaa; text-align: center; padding: 2px; {{#switch: {{lc:{{{code|rainbow}}}}}
  | 1 = {{Current Situation/Code|codename=Green|codedescription=Daniel is [[Social Media Accounts|posting on social media]] "normally"|htmlcolor=#ccffcc}}
| 1 | green      = background-color: #ccffcc; color: black;
  | 2 = {{Current Situation/Code|codename=Black|codedescription=Daniel is not posting on [[Social Media Accounts|social media]] and is seemingly missing|htmlcolor=#000|textcolor=white}}
| 2 | black      = background-color: #000000; color: white;
  | 3 = {{Current Situation/Code|codename=Burgundy|codedescription=Daniel is "[[College Arc|in college]]" or is getting any sort of training|htmlcolor=#800020|textcolor=white}}
| 3 | burgundy    = background-color: #800020; color: white;
  | 4 = {{Current Situation/Code|codename=Ticonderoga|codedescription=[[Pedophilia|Incriminating]] chat logs or photos of Daniel have been leaked|htmlcolor=#ca961c}}
| 4 | ticonderoga = background-color: gold;    color: black;
  | 5 = {{Current Situation/Code|codename=Rainbow |codedescription=Daniel has been [[List of places that have banned Daniel|kicked out of an establishment]]}}
| 5 | rainbow    = background:linear-gradient(90deg,red,orange,yellow,lime,green,teal,turquoise,blue,navy,indigo,violet); color: white; text-shadow: -1px 0 black, 0 1px black,1px 0 black, 0 -1px black;
  | 6 = {{Current Situation/Code|codename=F--king Death|codedescription=Daniel [[Daniel Larson's health|has been injured]] and is in the hospital|htmlcolor=#1a0d00|textcolor=white}}
| 6 | death      = background-color: #1a0d00; color: white;
  | 7 = {{Current Situation/Code|codename=Blue|codedescription=Daniel is in jail or is institutionalized|htmlcolor=#000099|textcolor=white}}
| 7 | blue        = background-color: #0000bb; color: white;
  | 8 = {{Current Situation/Code|codename=Red|codedescription=An [[Incidents|incident]] has occurred within the last 7 days|htmlcolor=#ff4d4d|textcolor=white}}
| 8 | red        = background-color: #ee0000; color: white;
}}
}}">
      <div style="font-family: 'Courier', monospace; font-size: 120%;">'''Code {{#switch: {{lc:{{{code|1}}}}}
| 1 | green      = Green
| 2 | black      = Black
| 3 | burgundy    = Burgundy
| 4 | ticonderoga = Ticonderoga
| 5 | rainbow    = Rainbow
| 6 | death      = F##cking Death
| 7 | blue        = Blue
| 8 | red        = Red
}}'''</div>
        <div style="padding-bottom:2px;">''{{#switch: {{lc:{{{code|}}}}}
| 1 | green      = Daniel is [[Social Media Accounts|posting on social media]] "normally"
| 2 | black      = Daniel is not posting on [[Social Media Accounts|social media]] and is seemingly missing
| 3 | burgundy    = Daniel is "[[College Arc|in college]]" or is getting any sort of training
| 4 | ticonderoga = [[Pedophilia|Incriminating]] chat logs or photos of Daniel have been leaked
| 5 | rainbow    = Daniel has been [[List of places that have banned Daniel|kicked out of an establishment]]
| 6 | death      = Daniel [[Daniel Larson's health|has been injured]] and is in the hospital
| 7 | blue        = Daniel is in jail or is institutionalized
| 8 | red        = An [[Incidents|incident]] has occurred within the last 7 days
}}''</div>
      </div>
<div style="flex: 1; display: flex; flex-direction: column; justify-content: center; margin-left: 10px;"><span style="font-family: Georgia, serif; font-size:120%; font-weight:bold;">Current situation: {{{housingsituation}}} in {{{location}}}</span></div></div><noinclude>
<div style="flex: 1; display: flex; flex-direction: column; justify-content: center; margin-left: 10px;"><span style="font-family: Georgia, serif; font-size:120%; font-weight:bold;">Current situation: {{{housingsituation}}} in {{{location}}}</span></div></div><noinclude>
== Documentation ==
== Documentation ==
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.
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 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


{| class="wikitable"
!Code name
!Number
!Meaning
|-
|style="background: #e00; color: white;" | Code Red || 8 || An incident occurred recently
|-
|style="background: #00b; color: white;" | Code Blue || 7 || Daniel is in jail or is institutionalized
|-
|style="background: #1a0d00; color: white;" | Code Death || 6 || Daniel has been injured and is hospitalized
|-
|style="background:linear-gradient(90deg,red,orange,yellow,lime,green,teal,turquoise,blue,navy,indigo,violet); color: white; text-shadow: -1px 0 black, 0 1px black,1px 0 black, 0 -1px black;" |Code Rainbow || 5 || Daniel is kicked out of an establishment
|-
|style="background: gold; color: black;" |Code Ticonderoga || 4 || Chat logs or photos of Daniel have been leaked
|-
|style="background: #800020; color: white;" | Code Burgundy || 3 || Daniel is "in college" or education
|-
|style="background: #000; color: white;" | Code Black || 2 || Daniel is not posting on social media
|-
|style="background: #ccffcc; color: black;" |Code Green || 1 || Daniel is posting on social media "normally"
|}
== Template Data ==
== Template Data ==



Revision as of 21:33, 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