Template:Current Situation: Difference between revisions

From Daniel Larson Wiki
Jump to navigation Jump to search
(WIP)
(Done mostly)
Line 1: Line 1:
<div style="display: flex; border: 1px solid #aaa; background-color: #f9f9f9; max-width: 700px; padding: 10px;">
<div style="display: flex; border: 1px solid #aaa; background-color: #f9f9f9; max-width: 100%; padding: 10px;">


<div style="width: 200px; border: 1px solid #aaa; text-align: center;">
<div style="width: 300px; border: 1px solid #aaa; text-align: center;">
<div style="padding:5px;">'''Code eh'''</div><div style="margin-top: 5px; padding-bottom:5px;">Bombaclot</div>
{{#switch: {{{codenumber|1}}}
  | 1 = {{Current Situation/Code|codename=Green|codedescription=Daniel is posting on social media "normally"}}
  | 2 = {{Current Situation/Code|codename=Black|codedescription=Daniel is not posting on social media and is seemingly missing}}
  | 3 = {{Current Situation/Code|codename=Burgundy|codedescription=Daniel is "in college" or is getting any sort of training}}
  | 4 = {{Current Situation/Code|codename=Ticonderoga|codedescription=Chat logs or photos of Daniel have been leaked}}
  | 5 = {{Current Situation/Code|codename=Rainbow |codedescription=Daniel has been kicked out of an establishment}}
  | 6 = {{Current Situation/Code|codename=F--king Death|codedescription=Daniel has been injured and is hospitalized}}
  | 7 = {{Current Situation/Code|codename=Blue|codedescription=Daniel is in jail or is institutionalized}}
  | 8 = {{Current Situation/Code|codename=Blue|codedescription=A new incident has occurred recently}}
}}
</div>
</div>


<div style="flex: 1; display: flex; flex-direction: column; justify-content: center; margin-left: 10px;">
<div style="flex: 1; display: flex; flex-direction: column; justify-content: center; margin-left: 10px;">
<span style="font-size:110%; font-weight:bold;">Current situation: {{{situation}}} in {{{location}}}</span>
<span style="font-size:120%; font-weight:bold;">Current situation: {{{housingsituation}}} in {{{location}}}</span>
</div>
</div>


Line 14: Line 23:
<noinclude>
<noinclude>
== Documentation ==
== Documentation ==
LEFTOVER CODE
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.
<h2 style="background:#E8E8E8; font-size:120%; font-weight:bold; border:1px solid #a3a3a3; text-align:left; color:#000; padding:0.2em 0.4em;">
 
<div style="border: 1px solid #aaa; padding: 10px; margin: 0 auto; max-width: 300px;text-align:left;">
Code Red - An incident occured recently - 8
    <div style="text-align: center; font-size: %130; font-weight: bold;">
 
    <div style="text-align: center; font-size: larger; font-weight: bold;">{{#switch: {{{CodeNumber|1}}}
Code Blue - Daniel is in jail or is institutionalized - 7
  | 1 = Code Red
 
  | 2 = Code Blue
Code Death - Daniel has been injured and is hospitalized - 6
  | 3 = Code red
 
}}</div>
Code Rainbow - Daniel is kicked out of an establishment - 5
</div>
 
<div style="text-align: center; font-size: smaller; color: #888;">{{{2}}}</div>
Code Ticonderoga - Chat logs or photos of Daniel have been leaked - 4
https://daniellarson.wiki/index.php/Template:Current_Situation
 
:<span>{{{Description}}} in {{{State}}}</span></h2>
Code Burgundy - Daniel is "in college" or education - 3
</noinclude>
 
Code Black - Daniel is not posting on social media - 2
 
Code Green - Daniel is posting on social media "normally" - 1
 
== Template Data ==
 
<templatedata>
{
"params": {
"2": {},
"codenumber": {
"label": "Code Number",
"example": "1 (this is code green)"
},
"housingsituation": {},
"location": {},
"Description": {},
"State": {}
},
"description": "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.\nCode Red - An incident occured recently - 8\nCode Blue - Daniel is in jail or is institutionalized - 7\nCode Death - Daniel has been injured and is hospitalized - 6\nCode Rainbow - Daniel is kicked out of an establishment - 5\nCode Ticonderoga - Chat logs or photos of Daniel have been leaked - 4\nCode Burgundy - Daniel is \"in college\" or education - 3\nCode Black - Daniel is not posting on social media - 2\nCode Green - Daniel is posting on social media \"normally\" - 1"
}
</templatedata></noinclude>

Revision as of 03:31, 27 January 2024

Code Green
Daniel is posting on social media "normally"

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 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 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