Template:Locationblock

From The Urban Dead Wiki
Revision as of 15:22, 15 July 2009 by The Rooster (talk | contribs) (subst'd component templates, removed redundant variable, minor code tidy)
Jump to navigationJump to search
Padlock.png Administration Services — Protection.
This page has been protected against editing. See the archive of recent actions or the Protections log.
{{{This_location}}}

[[{{{suburb}}}]] [{{{coordinates}}}]

{{{NW_location}}} {{{N_location}}} {{{NE_location}}}
{{{W_location}}} {{{This_location}}} {{{E_location}}}
{{{SW_location}}} {{{S_location}}} {{{SE_location}}}

Basic Info:

{{Info_{{{This_location}}}}}


Usage:

{{Locationblock|
|suburb=XXXX
|coordinates=XX,YY
|NW_location=[[XXXX]]|NW_color=XXXX
|N_location=[[XXXX]]|N_color=XXXX
|NE_location=[[XXXX]]|NE_color=XXXX
|W_location=[[XXXX]]|W_color=XXXX
|This_location=XXXX|location_color=XXXX
|E_location=[[XXXX]]|E_color=XXXX
|SW_location=[[XXXX]]|SW_color=XXXX
|S_location=[[XXXX]]|S_color=XXXX
|SE_location=[[XXXX]]|SE_color=XXXX
}}
  • "suburb" is the name of the suburb this location is in. This will generate an automatic link to that suburbs page.
  • "coordinates" is the x-y coordinates of that location, in the format XX,YY.
  • "*_location" is the name of the location in that direction, "This_location" being the name of the location the template shows.
  • "*_color" is the Hex Color Code (In full caps) for that location, or the type of building the location is. Valid entries for Colors are show below.
Valid Entries, Words Deprecated Entries, Words
Armoury

Arms

Auto Repair

Bank

Border

Building

Carpark

Cemetery

Church

Cinema

Club

Factory

Fire Station

Hospital

Hotel

Junkyard

Library

Mall

Mansion

Monument

Motel

Museum

NecroTech

Park

Police Dept

Power Station

Railway Station

School

Stadium

Street

Tower

Warehouse

Wasteland

Zoo

Car Park

Necrotech

Police Station


  • "location_type" is the type of location that the template shows. Valid entries are shown below.
Location Types
Valid Entries Deprecated Entries
Armoury

Arms

Auto Repair

Bank

Building

Carpark

Cathedral

Cemetery

Church

Cinema

Club

Factory

Fire Station

Fort

Hospital

Hotel

Junkyard

Library

Mall

Mansion

Monument

Motel

Museum

NecroTech

Park

Police Dept

Power Station

Railway Station

School

Stadium

Street

Tower

Warehouse

Wasteland

Zoo

Car Park

Necrotech

Police Station