Template:DEMpos

From The Urban Dead Wiki
Revision as of 18:17, 4 May 2020 by Gino Byrd (talk | contribs)
Jump to navigationJump to search

This is a template used to return the name and contact link of the current officer assigned to a given position within the DEM (district level and above).

Usage

{{DEMpos|<string>}}

<string> should be one of the position codes listed in the code section of this page.

It is case-sensitive, {{DEMPOS|<string>}} won't work, nor will an incorrectly-cased <string>.

To update an existing position, edit this page, find the appropriate |case: line and change it in the format [<contact link> <display name>]. The contact link should always be the URL of the person's Brainstock account.

To add a new position, simply copy the existing format and add a new |case: statement anywhere before the final |default= line.

Examples

{{DEMpos|DEMChair}} produces Andrew Bauer .

{{DEMpos|MFDFC}} produces Robbie McGregor .

Page Code

{{switch

|{{{1}}} <!-- DEM Active Member Count --> |case: MEMBERS=15 <!-- DEM Command and Academy Staff --> |case: DEMChair=[https://www.tapatalk.com/groups/brainstock/memberlist.php?mode=viewprofile&u=772/ Andrew Bauer] |case: DEMAC=[https://www.tapatalk.com/groups/brainstock/memberlist.php?mode=viewprofile&u=9 Allison Wolf] |case: DEMNCLI=[https://www.tapatalk.com/groups/brainstock/memberlist.php?mode=viewprofile&u=747/ RaiNo] |case: DEMNCFI=[https://www.tapatalk.com/groups/brainstock/memberlist.php?mode=viewprofile&u=1106 Severous] |case: DEMNCAI1=[http://tinyurl.com/TheDEM Vacant] |case: DEMNCAI2=[http://tinyurl.com/TheDEM Vacant] |case: DEMNCAI4=[http://tinyurl.com/TheDEM Vacant] |case: DEMNCAI3=[http://tinyurl.com/TheDEM Vacant] |case: DEMSCLI=[http://tinyurl.com/TheDEM Vacant] |case: DEMSCFI=[http://tinyurl.com/TheDEM Vacant] |case: DEMSCAI1=[http://tinyurl.com/TheDEM Vacant] |case: DEMSCAI2=[http://tinyurl.com/TheDEM Vacant] <!-- Malton Civil Defense Unit --> |case: MCDUCO=[https://www.tapatalk.com/groups/brainstock/memberlist.php?mode=viewprofile&u=772/ Andrew Bauer] |case: MCDUXO=[https://www.tapatalk.com/groups/brainstock/memberlist.php?mode=viewprofile&u=190 Anne] |case: MCDUCA=[http://tinyurl.com/TheDEM Vacant] <!-- Malton Fire Department --> |case: MFDFC=[https://www.tapatalk.com/groups/brainstock/memberlist.php?mode=viewprofile&u=568/ Robbie McGregor] |case: MFDAFC=[https://www.tapatalk.com/groups/brainstock/memberlist.php?mode=viewprofile&u=768/ First Responder] |case: MFDBCNW=[https://www.tapatalk.com/groups/brainstock/memberlist.php?mode=viewprofile&u=761/ Firehound] |case: MFDBCROV=[https://www.tapatalk.com/groups/brainstock/memberlist.php?mode=viewprofile&u=1118/ Deckie] |case: MFDBCNE=[http://tinyurl.com/TheDEM Vacant] |case: MFDBCSW=[http://tinyurl.com/TheDEM Vacant] |case: MFDBCSE=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMNW1=[http://tinyurl.com/TheDEM Vacant] |case: MFDCPTNW1=[http://tinyurl.com/TheDEM Vacant] |case: MFDLTNW1=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMNE1=[http://tinyurl.com/TheDEM Vacant] |case: MFDCPTNE1=[http://tinyurl.com/TheDEM Vacant] |case: MFDLTNE1=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMSW1=[http://tinyurl.com/TheDEM Vacant] |case: MFDCPTSW1=[http://tinyurl.com/TheDEM Vacant] |case: MFDLTSW1=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMSE1=[http://tinyurl.com/TheDEM Vacant] |case: MFDCPTSE1=[http://tinyurl.com/TheDEM Vacant] |case: MFDCPTSE2=[http://tinyurl.com/TheDEM Vacant] |case: MFDLTSE1=[http://tinyurl.com/TheDEM Vacant] <!-- Malton Forensics Unit --> |case: MFUCoF=[https://www.tapatalk.com/groups/brainstock/memberlist.php?mode=viewprofile&u=717/ jmkemp] |case: ActMFUCoF=[https://www.tapatalk.com/groups/brainstock/memberlist.php?mode=viewprofile&u=669/ Toto25] |case: MFUHCNE=[http://tinyurl.com/TheDEM Vacant] |case: MFUHCNW=[http://tinyurl.com/TheDEM Vacant] |case: MFUHCSE=[http://tinyurl.com/TheDEM Vacant] |case: MFUHCSW=[http://tinyurl.com/TheDEM Vacant] |case: MFUCONE1=[http://tinyurl.com/TheDEM Vacant] |case: MFUCONE2=[http://tinyurl.com/TheDEM Vacant] |case: MFUCONE3=[http://tinyurl.com/TheDEM Vacant] |case: MFUCONE4=[http://tinyurl.com/TheDEM Vacant] |case: MFUCONE5=[http://tinyurl.com/TheDEM Vacant] |case: MFUCONW1=[http://tinyurl.com/TheDEM Vacant] |case: MFUCONW2=[http://tinyurl.com/TheDEM Vacant] |case: MFUCONW3=[http://tinyurl.com/TheDEM Vacant] |case: MFUCONW4=[http://tinyurl.com/TheDEM Vacant] |case: MFUCONW5=[http://tinyurl.com/TheDEM Vacant] |case: MFUCOSE1=[http://tinyurl.com/TheDEM Vacant] |case: MFUCOSE2=[http://tinyurl.com/TheDEM Vacant] |case: MFUCOSE3=[http://tinyurl.com/TheDEM Vacant] |case: MFUCOSE4=[http://tinyurl.com/TheDEM Vacant] |case: MFUCOSW1=[http://tinyurl.com/TheDEM Vacant] |case: MFUCOSW3=[http://tinyurl.com/TheDEM Vacant] |case: MFUCOSW4=[http://tinyurl.com/TheDEM Vacant] |case: MFUCOSW5=[http://tinyurl.com/TheDEM Vacant] <!-- Malton Marshals --> |case: MMCL=[https://www.tapatalk.com/groups/brainstock/memberlist.php?mode=viewprofile&u=110/ Baz Baziah] <!-- Malton Police Department --> |case: MPDC=[https://www.tapatalk.com/groups/brainstock/memberlist.php?mode=viewprofile&u=201 Gino Byrd] |case: MPDDC=[http://tinyurl.com/TheDEM Vacant] |case: MPDSIN=[http://tinyurl.com/TheDEM Vacant] |case: MPDSIS=[http://tinyurl.com/TheDEM Vacant] |case: MPDSIR=[https://www.tapatalk.com/groups/brainstock/memberlist.php?mode=viewprofile&u=63 Zenburg] |case: MPDCINE1=[http://tinyurl.com/TheDEM Vacant] |case: MPDCINE2=[http://tinyurl.com/TheDEM Vacant] |case: MPDCINE3=[http://tinyurl.com/TheDEM Vacant] |case: MPDCINE4=[http://tinyurl.com/TheDEM Vacant] |case: MPDCINE5=[http://tinyurl.com/TheDEM Vacant] |case: MPDCINW1=[http://tinyurl.com/TheDEM Vacant] |case: MPDCINW2=[http://tinyurl.com/TheDEM Vacant] |case: MPDCINW3=[http://tinyurl.com/TheDEM Vacant] |case: MPDCINW4=[http://tinyurl.com/TheDEM Vacant] |case: MPDCINW5=[http://tinyurl.com/TheDEM Vacant] |case: MPDCISE1=[http://tinyurl.com/TheDEM Vacant] |case: MPDCISE2=[http://tinyurl.com/TheDEM Vacant] |case: MPDCISE3=[http://tinyurl.com/TheDEM Vacant] |case: MPDCISE4=[http://tinyurl.com/TheDEM Vacant] |case: MPDCISE5=[http://tinyurl.com/TheDEM Vacant] |case: MPDCISW1=[http://tinyurl.com/TheDEM Vacant] |case: MPDCISW2=[http://tinyurl.com/TheDEM Vacant] |case: MPDCISW3=[http://tinyurl.com/TheDEM Vacant] |case: MPDCISW4=[http://tinyurl.com/TheDEM Vacant] |case: MPDCISW5=[http://tinyurl.com/TheDEM Vacant] |default= }} <noinclude>__NOEDITSECTION__This is a template used to return the name and contact link of the current officer assigned to a given position within the [[Department of Emergency Management|DEM]] (district level and above). ==Usage== '''<nowiki>{{DEMpos|<string>}}</nowiki>''' <string> should be one of the position codes listed in the code section of this page. It is case-sensitive, <nowiki>{{DEMPOS|<string>}}</nowiki> won't work, nor will an incorrectly-cased <string>. To update an existing position, edit this page, find the appropriate '''|case:''' line and change it in the format <nowiki>[<contact link> <display name>]</nowiki>. The contact link should always be the URL of the person's Brainstock account. To add a new position, simply copy the existing format and add a new '''|case:''' statement anywhere before the final '''|default=''' line. ==Examples== <nowiki>{{DEMpos|DEMChair}}</nowiki> produces {{DEMpos|DEMChair}}. <nowiki>{{DEMpos|MFDFC}}</nowiki> produces {{DEMpos|MFDFC}}. ==Page Code== <div style="padding: 1em; border: 1px dashed #2f6fab; color: black; background-color: #f9f9f9; line-height: 1.1em; font-family: monospace;"> {{msgnw:{{FULLPAGENAME}}}} </div>

[[Category:Department of Emergency Management]][[Category:Templates|{{PAGENAME}}]]</noinclude>