Template:Multiblock Structure: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
m (+{{Protect}})
 
(subst'd component parts, code tidied, didn't touch the made up compass names)
 
Line 1: Line 1:
<noinclude>{{Protect}}</noinclude>
<noinclude>{{Protect}}</noinclude>
{{Locationblock/Top}}
{| align=right cellpadding=5 cellspacing=0 style="background:#EEF; border:1px solid #DDE; margin:0 0 5px 5px; width:316px"
|<span style="font-size:120%">'''{{{location_name}}}'''</span>
|- align=center
| <span style="font-size:120%">'''{{{location_name}}}'''</span>


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


{| cellpadding="5" cellspacing="1" align="center" style="border:1px solid #000000; text-align:center" width="100%"
{| align=center cellpadding=5 cellspacing=1 style="border:1px solid black; text-align:center; font-size:90%; width:100%"
|style="width: 72px; height: 58px; font-size: 90%; {{{{{NW_color}}}}}"|{{{NW_location}}}
|style="width:72px; height:58px; {{{{{NW_color}}}}}"|{{{NW_location}}}
|style="width: 72px; height: 58px; font-size: 90%; {{{{{WN_color}}}}}"|{{{WN_location}}}  
|style="width:72px; height:58px; {{{{{WN_color}}}}}"|{{{WN_location}}}  
|style="width: 72px; height: 58px; font-size: 90%; {{{{{EN_color}}}}}"|{{{EN_location}}}
|style="width:72px; height:58px; {{{{{EN_color}}}}}"|{{{EN_location}}}
|style="width: 72px; height: 58px; font-size: 90%; {{{{{NE_color}}}}}"|{{{NE_location}}}
|style="width:72px; height:58px; {{{{{NE_color}}}}}"|{{{NE_location}}}
|-
|-
|style="width: 72px; height: 58px; font-size: 90%; {{{{{NNW_color}}}}}"|{{{NNW_location}}}  
|style="width:72px; height:58px; {{{{{NNW_color}}}}}"|{{{NNW_location}}}  
|style="width: 72px; height: 58px; font-size: 90%; {{{{{NW_location_color}}}}}"|{{{NW_This_location}}}  
|style="width:72px; height:58px; {{{{{NW_location_color}}}}}"|{{{NW_This_location}}}  
|style="width: 72px; height: 58px; font-size: 90%; {{{{{NE_location_color}}}}}"|{{{NE_This_location}}}
|style="width:72px; height:58px; {{{{{NE_location_color}}}}}"|{{{NE_This_location}}}
|style="width: 72px; height: 58px; font-size: 90%; {{{{{NNE_color}}}}}"|{{{NNE_location}}}
|style="width:72px; height:58px; {{{{{NNE_color}}}}}"|{{{NNE_location}}}
|-
|-
|style="width: 72px; height: 58px; font-size: 90%; {{{{{SSW_color}}}}}"|{{{SSW_location}}}  
|style="width:72px; height:58px; {{{{{SSW_color}}}}}"|{{{SSW_location}}}  
|style="width: 72px; height: 58px; font-size: 90%; {{{{{SW_location_color}}}}}"|{{{SW_This_location}}}
|style="width:72px; height:58px; {{{{{SW_location_color}}}}}"|{{{SW_This_location}}}
|style="width: 72px; height: 58px; font-size: 90%; {{{{{SE_location_color}}}}}"|{{{SE_This_location}}}
|style="width:72px; height:58px; {{{{{SE_location_color}}}}}"|{{{SE_This_location}}}
|style="width: 72px; height: 58px; font-size: 90%; {{{{{SSE_color}}}}}"|{{{SSE_location}}}
|style="width:72px; height:58px; {{{{{SSE_color}}}}}"|{{{SSE_location}}}
|-
|-
|style="width: 72px; height: 58px; font-size: 90%; {{{{{SW_color}}}}}"|{{{SW_location}}}
|style="width:72px; height:58px; {{{{{SW_color}}}}}"|{{{SW_location}}}
|style="width: 72px; height: 58px; font-size: 90%; {{{{{WS_color}}}}}"|{{{WS_location}}}  
|style="width:72px; height:58px; {{{{{WS_color}}}}}"|{{{WS_location}}}  
|style="width: 72px; height: 58px; font-size: 90%; {{{{{ES_color}}}}}"|{{{ES_location}}}
|style="width:72px; height:58px; {{{{{ES_color}}}}}"|{{{ES_location}}}
|style="width: 72px; height: 58px; font-size: 90%; {{{{{SE_color}}}}}"|{{{SE_location}}}
|style="width:72px; height:58px; {{{{{SE_color}}}}}"|{{{SE_location}}}
|}
|}
{{Locationblock/Bottom|{{{location_type}}}}}
'''Basic Info:'''
{| align=right cellpadding=5 cellspacing=0 style="background:#EEF; border:1px solid #DDE; font-size:90%; width:100%"
|align=left|{{Info_{{{location_type}}}}}
|}
|}
<noinclude>
|}<noinclude><br clear="right">
<br clear="right"/>
'''Usage:'''
'''Usage:'''
{|
<nowiki>{{Multiblock Structure
| <pre>
|location_name=XXXX
{{Multiblock Structure|
|suburb=XXXX
location_name=XXXX|
|coordinates=XX,YY
suburb=XXXX|
|location_type=XXXX
coordinates=XX,YY|
|NW_location=XXXX|NW_color=XXXX
location_type=XXXX|
|WN_location=XXXX|WN_color=XXXX
NW_location=XXXX|NW_color=XXXX|
|EN_location=XXXX|EN_color=XXXX
WN_location=XXXX|WN_color=XXXX|
|NE_location=XXXX|NE_color=XXXX
EN_location=XXXX|EN_color=XXXX|
NE_location=XXXX|NE_color=XXXX|


NNW_location=XXXX|NNW_color=XXXX|
|NNW_location=XXXX|NNW_color=XXXX
NW_This_location=XXXX|NW_location_color=XXXX|
|NW_This_location=XXXX|NW_location_color=XXXX
NE_This_location=XXXX|NE_location_color=XXXX|
|NE_This_location=XXXX|NE_location_color=XXXX
NNE_location=XXXX|NNE_color=XXXX|
|NNE_location=XXXX|NNE_color=XXXX


SSW_location=XXXX|SSW_color=XXXX|
|SSW_location=XXXX|SSW_color=XXXX
SW_This_location=XXXX|SW_location_color=XXXX|
|SW_This_location=XXXX|SW_location_color=XXXX
SE_This_location=XXXX|SE_location_color=XXXX|
|SE_This_location=XXXX|SE_location_color=XXXX
SSE_location=XXXX|SSE_color=XXXX|
|SSE_location=XXXX|SSE_color=XXXX


SW_location=XXXX|SW_color=XXXX|
|SW_location=XXXX|SW_color=XXXX
WS_location=XXXX|WS_color=XXXX|
|WS_location=XXXX|WS_color=XXXX
ES_location=XXXX|ES_color=XXXX|
|ES_location=XXXX|ES_color=XXXX
SE_location=XXXX|SE_color=XXXX}}</pre>
|SE_location=XXXX|SE_color=XXXX
|}
}}</nowiki>


*"'''*_This_location'''" Usually, these will all be the name of the location in question, except instances like Pole Mall. Otherwise, same usage as '''_location'''.
*"'''*_This_location'''" Usually, these will all be the name of the location in question, except instances like Pole Mall. Otherwise, same usage as '''_location'''.
*"'''*_location_color'''" Usually, these will all be the name of the location in question, except instances like Pole Mall. Otherwise, same usage as '''_color'''.
*"'''*_location_color'''" Usually, these will all be the name of the location in question, except instances like Pole Mall. Otherwise, same usage as '''_color'''.
{{Locationblock/Colors}}
{{Locationblock/Colors}}


{{Locationblock/Infos}}
{{Locationblock/Infos}}


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

Latest revision as of 15:46, 15 July 2009

Padlock.png Administration Services — Protection.
This page has been protected against editing. See the archive of recent actions or the Protections log.
{{{location_name}}}

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

{{{NW_location}}} {{{WN_location}}} {{{EN_location}}} {{{NE_location}}}
{{{NNW_location}}} {{{NW_This_location}}} {{{NE_This_location}}} {{{NNE_location}}}
{{{SSW_location}}} {{{SW_This_location}}} {{{SE_This_location}}} {{{SSE_location}}}
{{{SW_location}}} {{{WS_location}}} {{{ES_location}}} {{{SE_location}}}

Basic Info:

{{Info_{{{location_type}}}}}


Usage:

{{Multiblock Structure
|location_name=XXXX
|suburb=XXXX
|coordinates=XX,YY
|location_type=XXXX
|NW_location=XXXX|NW_color=XXXX
|WN_location=XXXX|WN_color=XXXX
|EN_location=XXXX|EN_color=XXXX
|NE_location=XXXX|NE_color=XXXX

|NNW_location=XXXX|NNW_color=XXXX
|NW_This_location=XXXX|NW_location_color=XXXX
|NE_This_location=XXXX|NE_location_color=XXXX
|NNE_location=XXXX|NNE_color=XXXX

|SSW_location=XXXX|SSW_color=XXXX
|SW_This_location=XXXX|SW_location_color=XXXX
|SE_This_location=XXXX|SE_location_color=XXXX
|SSE_location=XXXX|SSE_color=XXXX

|SW_location=XXXX|SW_color=XXXX
|WS_location=XXXX|WS_color=XXXX
|ES_location=XXXX|ES_color=XXXX
|SE_location=XXXX|SE_color=XXXX
}}
  • "*_This_location" Usually, these will all be the name of the location in question, except instances like Pole Mall. Otherwise, same usage as _location.
  • "*_location_color" Usually, these will all be the name of the location in question, except instances like Pole Mall. Otherwise, same usage as _color.
  • "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