Template:DEMpos: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
m (Content)
Line 260: Line 260:
|case: MPDCISW5=[http://s1.zetaboards.com/brainstock/profile/759973/ Rob Thorn]
|case: MPDCISW5=[http://s1.zetaboards.com/brainstock/profile/759973/ Rob Thorn]


|default=[[Department_of_Emergency_Management|Dempos template error, code not found]]
|case: {{{1}}}=
 
|default=[[Department of Emergency Management|DEMpos template error, string not found.]]
}}
}}
<noinclude>
<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).
__NOEDITSECTION__
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 only).


==Usage==
==Usage==
'''<nowiki>{{Dempos|<string>}}</nowiki>'''
'''<nowiki>{{DEMpos|<string>}}</nowiki>'''


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


Case-sensitive (so <nowiki>{{DEMPOS|<string>}}</nowiki> won't work, nor will an incorrectly-cased <string>).
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>[<link address> <display name>]</nowiki>.
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.
To add a new position, simply copy the existing format and add a new '''|case:''' statement anywhere before the final '''|default=''' line.


==Example==
==Examples==
<nowiki>{{Dempos|DEMChair}}</nowiki> produces {{Dempos|DEMChair}}.
<nowiki>{{DEMpos|DEMChair}}</nowiki> produces {{DEMpos|DEMChair}}.


<nowiki>{{Dempos|MPDC}}</nowiki> produces {{Dempos|MPDC}}.
<nowiki>{{DEMpos|MPDC}}</nowiki> produces {{DEMpos|MPDC}}.


==Page Code==
==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>
<div style="padding: 1em; border: 1px dashed #2f6fab; color: black; background-color: #f9f9f9; line-height: 1.1em; font-family: monospace;"> {{msgnw:{{FULLPAGENAME}}}} </div>


[[Category:D Groups|{{PAGENAME}}]] [[Category:Department_of_Emergency_Management|{{PAGENAME}}]] [[Category:Templates|{{PAGENAME}}]]
[[Category:D Groups|{{PAGENAME}}]][[Category:Department_of_Emergency_Management|{{PAGENAME}}]][[Category:Templates|{{PAGENAME}}]]</noinclude>
</noinclude>

Revision as of 11:22, 19 April 2010

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 .

{{DEMpos|MPDC}} produces .

Page Code

{{switch

|{{{1}}} <!-- DEM Command and Academy Staff --> |case: DEMChair=[http://s1.zetaboards.com/brainstock/profile/678995/ G F J] |case: DEMAC=[http://s1.zetaboards.com/brainstock/profile/683554/ Allison Wolf] |case: DEMNCLI=[http://s1.zetaboards.com/brainstock/profile/945931/ Ferrum Leo] |case: DEMNCFI=[http://tinyurl.com/TheDEM Vacant] |case: DEMNCAI1=[http://s1.zetaboards.com/brainstock/profile/761295/ Arokk] |case: DEMNCAI2=[http://tinyurl.com/TheDEM Vacant] |case: DEMSCLI=[http://s1.zetaboards.com/brainstock/profile/764682/ Annie Kat] |case: DEMSCFI=[http://tinyurl.com/TheDEM Vacant] |case: DEMSCAI1=[http://s1.zetaboards.com/brainstock/profile/760416/ Weeks] |case: DEMSCAI2=[http://tinyurl.com/TheDEM Vacant] <!-- Malton Civil Defense Unit --> |case: MCDUGeneral=[http://s1.zetaboards.com/brainstock/profile/728753/ Black_catXIII] |case: MCDU2iC=[http://s1.zetaboards.com/brainstock/profile/760809/ Leon Limburger] |case: MCDUGENADJ=[http://s1.zetaboards.com/brainstock/profile/683540/ DarkOps] |case: MCDU3CO=[http://s1.zetaboards.com/brainstock/profile/760103/ Hirath] |case: MCDU3XO=[http://s1.zetaboards.com/brainstock/profile/761295/ Arokk] |case: MCDU4CO=[http://s1.zetaboards.com/brainstock/profile/760809/ Leon Limburger] |case: MCDU4XO=[http://s1.zetaboards.com/brainstock/profile/760193/ Frosting] |case: MCDU4SL=[http://s1.zetaboards.com/brainstock/profile/770076/ Forgotten86] |case: MCDU5CO=[http://s1.zetaboards.com/brainstock/profile/763260/ Humanstyle] |case: MCDU5SL=[http://s1.zetaboards.com/brainstock/profile/759982/ EchelonThree] |case: MCDU7CO=[http://s1.zetaboards.com/brainstock/profile/760416/ Weeks] |case: MCDU7XO=[http://tinyurl.com/TheDEM Vacant] <!-- Malton Emergency Medical Service --> |case: MEMSCMO=[http://s1.zetaboards.com/brainstock/profile/728755/ RisenJihad] |case: MEMSACMO=[http://tinyurl.com/TheDEM Vacant] |case: MEMSCONE=[http://s1.zetaboards.com/brainstock/profile/759609/ shusamchen] |case: MEMSCONW=[http://s1.zetaboards.com/brainstock/profile/766668/ Paul Liance] |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://s1.zetaboards.com/brainstock/profile/761203/ Spank McNightly] |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://tinyurl.com/TheDEM Vacant] |case: MEMSDCSW5=[http://tinyurl.com/TheDEM Vacant] <!-- Malton Fire Department --> |case: MFDFC=[http://s1.zetaboards.com/brainstock/profile/755914/ Choppers McGee] |case: MFDAFC=[http://s1.zetaboards.com/brainstock/profile/683560/ roger atthill] |case: MFDBCE=[http://s1.zetaboards.com/brainstock/profile/761178/ Zippo Marx] |case: MFDBCW=[http://s1.zetaboards.com/brainstock/profile/756269/ Blazing Saddle] |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: 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://s1.zetaboards.com/brainstock/profile/762319/ Ash Knott] |case: MFDFMSE1=[http://s1.zetaboards.com/brainstock/profile/761281/ Prosun] |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://s1.zetaboards.com/brainstock/profile/760692/ imtombstone] <!-- Malton Forensics Unit --> |case: MFUCoF=[http://s1.zetaboards.com/brainstock/profile/759611/ Folgore] |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/760488/ Baz Baziah] |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/687888/ Myers MD] <!-- Malton Police Department --> |case: MPDC=[http://s1.zetaboards.com/brainstock/profile/683540/ Winnan] |case: MPDDC=[http://tinyurl.com/TheDEM Vacant] |case: MPDSINE=[http://s1.zetaboards.com/brainstock/profile/759842/ Tom Reed] |case: MPDSINW=[http://s1.zetaboards.com/brainstock/profile/756219/ Marc Sweeny] |case: MPDSISE=[http://s1.zetaboards.com/brainstock/profile/761157/ Thor Ellis] |case: MPDSISW=[http://s1.zetaboards.com/brainstock/profile/759841/ Verratio] |case: MPDCINE1=[http://s1.zetaboards.com/brainstock/profile/759842/ Tom Reed] |case: MPDCINE2=[http://s1.zetaboards.com/brainstock/profile/766504/ Juunasson] |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://s1.zetaboards.com/brainstock/profile/759973/ Rob Thorn] |case: {{{1}}}= |default=[[Department of Emergency Management|DEMpos template error, string not found.]] }} <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:D Groups|{{PAGENAME}}]][[Category:Department_of_Emergency_Management|{{PAGENAME}}]][[Category:Templates|{{PAGENAME}}]]</noinclude>