Template:DEMpos

From The Urban Dead Wiki
Revision as of 06:19, 12 December 2012 by Robbie McGregor (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 Robbie McGregor .

{{DEMpos|MPDC}} produces Winnan .

Page Code

{{switch

|{{{1}}} <!-- DEM Active Member Count --> |case: MEMBERS=50 <!-- DEM Command and Academy Staff --> |case: DEMChair=[http://s1.zetaboards.com/brainstock/profile/1215081/ Robbie McGregor] |case: DEMAC=[http://s1.zetaboards.com/brainstock/profile/683554/ Allison Wolf] |case: DEMNCLI=[http://tinyurl.com/TheDEM Vacant] |case: DEMNCFI=[[User:Charles Whipplebotum|Charles Whipplebotum]] |case: DEMNCAI1=[[User:Peralta|Johnny Twotoes]] |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: MCDUGeneral=[http://s1.zetaboards.com/brainstock/profile/760416/ Weeks] |case: MCDUSCO=[http://tinyurl.com/TheDEM Vacant] |case: MCDU3CO=[http://tinyurl.com/TheDEM Vacant] |case: MCDU3XO=[http://tinyurl.com/TheDEM Vacant] |case: MCDU4CO=[http://tinyurl.com/TheDEM Vacant] |case: MCDU4XO=[http://s1.zetaboards.com/brainstock/profile/1531284/ Liam McFlear] |case: MCDU4SL=[http://tinyurl.com/TheDEM Vacant] |case: MCDU7CO=[http://tinyurl.com/TheDEM Vacant] |case: MCDU7XO=[http://s1.zetaboards.com/brainstock/profile/759946/ yoyofoshow] <!-- Malton Emergency Medical Service --> |case: MEMSCMO=[http://s1.zetaboards.com/brainstock/profile/683543/ RennisZotorman] |case: MEMSACMO=[http://tinyurl.com/TheDEM Vacant] |case: MEMSCONE=[http://tinyurl.com/TheDEM Vacant] |case: MEMSCONW=[http://tinyurl.com/TheDEM Vacant] |case: MEMSCOSE=[http://tinyurl.com/TheDEM Vacant] |case: MEMSCOSW=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCNE1=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCNE2=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCNE3=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCNE4=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCNE5=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCNW1=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCNW2=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCNW3=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCNW4=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCNW5=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCSE1=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCSE2=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCSE3=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCSE4=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCSE5=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCSW1=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCSW2=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCSW3=[http://tinyurl.com/TheDEM Vacant] |case: MEMSDCSW4=[http://http://s1.zetaboards.com/brainstock/profile/728755/ Consultant risen_jihad former CMO] |case: MEMSDCSW5=[http://http://s1.zetaboards.com/brainstock/profile/760412/ Consultant Labine] <!-- Malton Fire Department --> |case: MFDFC=[http://s1.zetaboards.com/brainstock/profile/1215081/ Robbie McGregor] |case: MFDAFC=[http://tinyurl.com/TheDEM Vacant] |case: MFDBCE=[http://s1.zetaboards.com/brainstock/profile/761178/ Zippo Marx] |case: MFDBCW=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMNE1=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMNE2=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMNE3=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMNE4=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMNE5=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMNE5=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMNW1=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMNW2=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMNW3=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMNW4=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMNW5=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMSE1=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMSE2=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMSE3=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMSE4=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMSE5=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMSW1=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMSW2=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMSW3=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMSW4=[http://tinyurl.com/TheDEM Vacant] |case: MFDFMSW5=[http://tinyurl.com/TheDEM Vacant] <!-- Malton Forensics Unit --> |case: MFUCoF=[http://s1.zetaboards.com/brainstock/profile/1444241/ HotelAlpha] |case: MFUHCNE=[http://tinyurl.com/TheDEM Vacant] |case: MFUHCNW=[http://tinyurl.com/TheDEM Vacant] |case: MFUHCSE=[http://tinyurl.com/TheDEM Vacant] |case: MFUHCSW=[http://s1.zetaboards.com/brainstock/profile/1363596/ Kurt Kreti] |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=[http://s1.zetaboards.com/brainstock/profile/1621897/ fortnox] |case: MMCL2=[http://s1.zetaboards.com/brainstock/profile/760488/ Baz Baziah] <!-- Malton Police Department --> |case: MPDC=[http://s1.zetaboards.com/brainstock/profile/683540/ Winnan] |case: MPDDC=[http://tinyurl.com/TheDEM Vacant] |case: MPDSIN=[http://tinyurl.com/TheDEM Vacant] |case: MPDSIS=[http://s1.zetaboards.com/brainstock/profile/759841/ Verratio] |case: MPDSIR=[http://s1.zetaboards.com/brainstock/profile/761157/ Thor Ellis] |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://s1.zetaboards.com/brainstock/profile/759933/ Officer Maddox] |case: MPDCISE3=[http://tinyurl.com/TheDEM Vacant] |case: MPDCISE4=[http://tinyurl.com/TheDEM Vacant] |case: MPDCISE5=[http://tinyurl.com/TheDEM Vacant] |case: MPDCISW1=[http://s1.zetaboards.com/brainstock/profile/759841/ Verratio] |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|MPDC}}</nowiki> produces {{DEMpos|MPDC}}. ==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>