Template:Locationblock: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
mNo edit summary
(updating category)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Protect}}</noinclude>
<noinclude>{{Protect}}</noinclude><includeonly>[[Category:{{{suburb}}}]]</includeonly>
<includeonly>[[Category:{{{suburb}}}]][[Category:{{{location_type}}}]]</includeonly>
{| align=right cellpadding=5 cellspacing=0 style="background:#EEF; border:1px solid #DDE; margin:0 0 5px 5px; width:316px"
{{Locationblock/Top}}
|- align=center
{{Locationblock/Middle|
|'''{{{This_location}}}'''
suburb={{{suburb}}}|
 
coordinates={{{coordinates}}}|
[[{{{suburb}}}]] ''[{{{coordinates}}}]''
NW_color={{{NW_color}}}|
 
NW_location={{{NW_location}}}|
{| align=center cellpadding=5 cellspacing=1 style="border:1px solid black; text-align:center; width:100%"
N_color={{{N_color}}}|
|style="width:100px; height:80px; {{{{{NW_color}}}}}"|{{{NW_location}}}
N_location={{{N_location}}}|
|style="width:100px; height:80px; {{{{{N_color}}}}}"|{{{N_location}}}  
NE_color={{{NE_color}}}|
|style="width:100px; height:80px; {{{{{NE_color}}}}}"|{{{NE_location}}}
NE_location={{{NE_location}}}|
|-
W_color={{{W_color}}}|
|style="width:100px; height:80px; {{{{{W_color}}}}}"|{{{W_location}}}  
W_location={{{W_location}}}|
|style="width:100px; height:80px; {{{{{location_color}}}}}"|'''{{{This_location}}}'''
location_color={{{location_color}}}|
|style="width:100px; height:80px; {{{{{E_color}}}}}"|{{{E_location}}}
This_location={{{This_location}}}|
|-
E_color={{{E_color}}}|
|style="width:100px; height:80px; {{{{{SW_color}}}}}"|{{{SW_location}}}  
E_location={{{E_location}}}|
|style="width:100px; height:80px; {{{{{S_color}}}}}"|{{{S_location}}}  
SW_color={{{SW_color}}}|
|style="width:100px; height:80px; {{{{{SE_color}}}}}"|{{{SE_location}}}
SW_location={{{SW_location}}}|
|}
S_color={{{S_color}}}|
'''Basic Info:'''
S_location={{{S_location}}}|
{| align=right cellpadding=5 cellspacing=0 style="background:#EEF; border:1px solid #DDE; font-size:90%; width:100%"
SE_color={{{SE_color}}}|
|align=left|{{Info_{{ucfirst:{{{location_color}}}}}}}
SE_location={{{SE_location}}}
|}
}}
|}<noinclude><br style="clear:right" />
{{Locationblock/Bottom|{{{location_type}}}}}
|}<noinclude>
<br style="clear: right" />
'''Usage:'''
'''Usage:'''
{|
<nowiki>
|<pre>
{{Locationblock|
{{Locationblock|
suburb=XXXX|
|suburb=XXXX
coordinates=XX,YY|
|coordinates=XX,YY
location_type=XXXX|
|NW_location=[[XXXX]]|NW_color=XXXX
NW_location=[[XXXX]]|NW_color=XXXX|
|N_location=[[XXXX]]|N_color=XXXX
N_location=[[XXXX]]|N_color=XXXX|
|NE_location=[[XXXX]]|NE_color=XXXX
NE_location=[[XXXX]]|NE_color=XXXX|
|W_location=[[XXXX]]|W_color=XXXX
W_location=[[XXXX]]|W_color=XXXX|
|This_location=XXXX|location_color=XXXX
This_location=XXXX|location_color=XXXX|
|E_location=[[XXXX]]|E_color=XXXX
E_location=[[XXXX]]|E_color=XXXX|
|SW_location=[[XXXX]]|SW_color=XXXX
SW_location=[[XXXX]]|SW_color=XXXX|
|S_location=[[XXXX]]|S_color=XXXX
S_location=[[XXXX]]|S_color=XXXX|
|SE_location=[[XXXX]]|SE_color=XXXX
SE_location=[[XXXX]]|SE_color=XXXX}}</pre>
}}</nowiki>
|}


{{Locationblock/Colors}}
{{Locationblock/Colors}}
Line 49: Line 44:


{{Locationblock/Infos}}
{{Locationblock/Infos}}
 
[[Category:Location Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]
</noinclude>

Latest revision as of 17:11, 19 April 2011

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_{{{location_color}}}}}


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