Template:DEMpos: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 276: Line 276:


<nowiki>{{Dempos|AHFAE1|green}}</nowiki> produces {{Dempos|AHFAE1|green}}.
<nowiki>{{Dempos|AHFAE1|green}}</nowiki> produces {{Dempos|AHFAE1|green}}.
{{Wikitext for this page}}


</noinclude>
</noinclude>
[[Category:Group_Templates]] [[Category:Department_of_Emergency_Management|{{PAGENAME}}]]
[[Category:Group_Templates]] [[Category:Department_of_Emergency_Management|{{PAGENAME}}]]

Revision as of 20:43, 9 July 2009

Dempos template error, code not found

A template used to return the name and contact link of the current officer assigned to a given position within the DEM.

Usage

{{Dempos|<string>|[<color>]}}

<String> should be one of the position codes below and the optional <color> parameter can be the name or hash code of any X11 color.

Case-sensitive (so {{DEMPOS|<string>}} won't work, nor will {{Dempos|<string>}}, nor will an incorrectly-cased <string>).

To update an existing position, edit this page, find the appropriate |case: line and change the following:

  • The 1= section contains a link to a web page and ends in a pipe character (|).
  • The 2= section contains the title-holder's display name and ends in a pipe character (|).
  • The 3= section is static (don't change it).

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

Example

{{Dempos|DEMChair|#3D2B1F}} produces Template:Dempos.

{{Dempos|AHFAE1|green}} produces Template:Dempos.