Difference between revisions of "Template:DEMpos"

From The Urban Dead Wiki
Jump to navigationJump to search
Line 60: Line 60:
|case: MFDFMNE1=[http://tinyurl.com/TheDEM Vacant]
|case: MFDFMNE1=[http://tinyurl.com/TheDEM Vacant]


|case: MFDCPTNE1=[http://tinyurl.com/TheDEM Vacant]
|case: MFDCPTNE1=[http://s1.zetaboards.com/brainstock/profile/1480941/ Doctor Golf]


|case: MFDLTNE1=[http://s1.zetaboards.com/brainstock/profile/2126750/ Jerran]
|case: MFDLTNE1=[http://s1.zetaboards.com/brainstock/profile/2126750/ Jerran]
Line 75: Line 75:


|case: MFDCPTSE2=[http://s1.zetaboards.com/brainstock/profile/778020// Dr Heward]
|case: MFDCPTSE2=[http://s1.zetaboards.com/brainstock/profile/778020// Dr Heward]
|case: MFDCPTSE3=[http://s1.zetaboards.com/brainstock/profile/1480941/ Doctor Golf]


|case: MFDLTSE1=[http://tinyurl.com/TheDEM Vacant]
|case: MFDLTSE1=[http://tinyurl.com/TheDEM Vacant]

Revision as of 12:10, 26 August 2015

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

{{DEMpos|MFDFC}} produces Robbie McGregor .

Page Code

{{switch

|{{{1}}} <!-- DEM Active Member Count --> |case: MEMBERS=50 <!-- DEM Command and Academy Staff --> |case: DEMChair=[http://tinyurl.com/TheDEM Vacant] |case: DEMAC=[http://s1.zetaboards.com/brainstock/profile/683554/ Allison Wolf] |case: DEMNCLI=[http://tinyurl.com/TheDEM Vacant] |case: DEMNCFI=[http://s1.zetaboards.com/brainstock/profile/1642458/ RaiNo] |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=[http://s1.zetaboards.com/brainstock/profile/1687954/ Andy Bauer] |case: MCDUCA=[http://s1.zetaboards.com/brainstock/profile/760416/ Weeks] <!-- Malton Fire Department --> |case: MFDFC=[http://s1.zetaboards.com/brainstock/profile/1215081/ Robbie McGregor] |case: MFDAFC=[http://tinyurl.com/TheDEM Vacant] |case: MFDBCNW=[http://s1.zetaboards.com/brainstock/profile/1642458/ RaiNo] |case: MFDBCNE=[http://tinyurl.com/TheDEM Vacant] |case: MFDBCSW=[http://s1.zetaboards.com/brainstock/profile/1666769/ Firehound] |case: MFDBCSE=[http://s1.zetaboards.com/brainstock/profile/2119420/ Severous] |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://s1.zetaboards.com/brainstock/profile/1480941/ Doctor Golf] |case: MFDLTNE1=[http://s1.zetaboards.com/brainstock/profile/2126750/ Jerran] |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://s1.zetaboards.com/brainstock/profile/2116085/ Bear Buddy] |case: MFDCPTSE2=[http://s1.zetaboards.com/brainstock/profile/778020// Dr Heward] |case: MFDLTSE1=[http://tinyurl.com/TheDEM Vacant] <!-- Malton Forensics Unit --> |case: MFUCoF=[http://tinyurl.com/TheDEM Vacant] |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=[http://tinyurl.com/TheDEM Vacant] |case: MMCL2=[http://s1.zetaboards.com/brainstock/profile/760488/ Baz Baziah] <!-- Malton Police Department --> |case: MPDC=[http://s1.zetaboards.com/brainstock/profile/760733/ Checkered One] |case: MPDDC=[http://s1.zetaboards.com/brainstock/profile/761157/ ThunderGod] |case: MPDSIN=[http://tinyurl.com/TheDEM Vacant] |case: MPDSIS=[http://tinyurl.com/TheDEM Vacant] |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://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>