UDWiki:Location Block Style Guide

From The Urban Dead Wiki
Jump to navigationJump to search
Location Style Guides


Location Style Guide
Location Block Category Guide
Location Category Style Guide
Suburb Style Guide

This page details on the purpose and the use of the 9-block Template and the 16-block Template.

It should be used in conjunction with the Location Style Guide.

What are the Navigation Blocks?

The Navigation blocks are two different templates that have been created to display the location of a site, and the blocks surrounding the site.

  • The 9-block Template is used to display single block locations.
  • The 9-block modified Template is used to display single block locations on a page that has multiple locations.
  • The 16-block Template is used to display double, triple or 4-block locations.

There are no templates for Multiblock locations with more than 4 blocks (e.g. the City Zoo). These would have to be coded on the page itself.

Why Navigation Blocks?

There are two reasons to include the Navigation blocks into each location page.

  1. To provide the user with a visual picture of the block and its environs.
  2. To enable easier navigation to adjacent blocks.

What does the Block contain?

Each block contains the following:

  1. Name of the block/location
  2. The suburb the block/location is located in
  3. Co-ordinates of the block/location
  4. A picture of the location and the blocks immediately adjacent to it.

How do I use the template?

Block Links

The template has been deliberately created such that the individual locations on each page does not automatically link to another page. Hence, each location requires to be "wrapped" with the [[ and ]] tags.

The reason it is not automatic is to allow for the locations in the edge of a suburb to display the adjacent suburb. e.g. on the Pagram Library page, the locations in Chudleyton, West Becktown and East Becktown are all shown with the adjacent suburb names in parentheses beneath the locations. Locations in Darvall Heights, the suburb where Pagram Library is located, does not have the suburb mentioned beneath the location. This is to reduce clutter.

Links to generic locations should not be created as, e.g. a carpark, but instead to a page qualified with the coordinates [[Carpark 96,3|a carpark]] which will display as a carpark. For cemeteries, it should be in the style of [[Cemetary 14,42|a cemetary]], etc.

Links to locations which has a counterpart with a different name in a separate suburb should include the suburb name in the link (as per the location style guide), e.g. [[Catherine General Hospital (Yagoton)|Catherine General Hospital]] instead of [[Catherine General Hospital]]. This will enable navigation to the correct building.

Block Colours

These are the colours used to represent each block. The colours are obtained from the game itself. It is strongly preferable however, for the place names listed to be used instead. This will make altering the colours an easier task should Kevan ever decide to change the colours.

Armory 888888   Arms 887766   Auto Repair CCCCCC   Bank DDEEDD   Border 000000
Building AAAADD   Carpark 666666   Cemetery 99CC99   Church FFFFFF   Cinema DDDDDD
Club CC99CC   Factory AAAAAA   Fire Station FFDDDD   Fort 998877   Hospital FF9999
Hotel CC9944   Junkyard 776655   Library EEEEEE   Mall EEEEFF   Mansion EEEEEE
Monument 666666   Motel CC9944   Museum 889988   Park 99CC99   Police Dept DDDDFF
Power Station AAAAAA   Railway Station 888888   School 889999   Stadium 99CC99   Street 646464
Tower EEEEEE   Warehouse 998877   Wasteland 776655   Zoo 996655

Block Display

To ensure that the location blocks are aligned correctly on the pages that have more than one location block, insert <br style="clear:both" /> at the end of each section, instead of <br><br><br><br><br><br><br><br><br><br><br><br>

Location Types

  • "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

9-block Template

The general structure of the 9-block template is as follows:

{{Locationblock|
suburb=XXXXX|
coordinates=XX,YY|
location_type=XXXXX|
NW_location=[[XXXXX]]|NW_color=XXXXX|
N_location=[[XXXXX]]|N_color=XXXXX|
NE_location=[[XXXXX]]|NE_color=XXXXX|
W_location=[[XXXXX]]|W_color=XXXXX|
This_location=XXXXX|location_color=XXXXX|
E_location=[[XXXXX]]|E_color=XXXXX|
SW_location=[[XXXXX]]|SW_color=XXXXX|
S_location=[[XXXXX]]|S_color=XXXXX|
SE_location=[[XXXXX]]|SE_color=XXXXX}}

Copy and paste the above onto a locations edit page. Replace the XXXXX's with the appropriate Information. Refer to the Map of Malton and the Color table above.

Example:

{{Locationblock|
suburb=Molebank|
coordinates=11,47|
location_type=Arms|
NW_location=[[Harrison Park]]|NW_color=Park|
N_location=[[Jouxson Cinema]]|N_color=Cinema|
NE_location=[[Stallworthy Square]]|NE_color=Street|
W_location=[[the Vaughan Arms]]|W_color=Arms|
This_location=The Hateley Arms|location_color=Arms|
E_location=[[St Jude's Cathedral]]|E_color=Church|
SW_location=[[Stockley Walk Police Dept]]|SW_color=Police Station|
S_location=[[Maishman Bank]]|S_color=Bank|
SE_location=[[St Jude's Cathedral]]|SE_color=Church}}

Above Example Rendered:

The Hateley Arms

Molebank [11,47]

Harrison Park Jouxson Cinema Stallworthy Square
the Vaughan Arms The Hateley Arms St Jude's Cathedral
Stockley Walk Police Dept Maishman Bank St Jude's Cathedral

Basic Info:

  • Pubs have no internal descriptions, apart from "...an abandoned pub."
  • Arms can be barricaded normally.


9-block modified Template

The general structure of the 9-block modified template is the same as the 9-block template, with the exception that there is no location_type field. It is as follows:

{{Locationblockmerge|
suburb=XXXXX|
coordinates=XX,YY|
NW_location=[[XXXXX]]|NW_color=XXXXX|
N_location=[[XXXXX]]|N_color=XXXXX|
NE_location=[[XXXXX]]|NE_color=XXXXX|
W_location=[[XXXXX]]|W_color=XXXXX|
This_location=XXXXX|location_color=XXXXX|
E_location=[[XXXXX]]|E_color=XXXXX|
SW_location=[[XXXXX]]|SW_color=XXXXX|
S_location=[[XXXXX]]|S_color=XXXXX|
SE_location=[[XXXXX]]|SE_color=XXXXX}}

Copy and paste the above onto a locations edit page. Replace the XXXXX's with the appropriate Information. Refer to the Map of Malton and the Color table above.

Example:

{{Locationblockmerge|
suburb=Molebank|
coordinates=11,47|
NW_location=[[Harrison Park]]|NW_color=Park|
N_location=[[Jouxson Cinema]]|N_color=Cinema|
NE_location=[[Stallworthy Square]]|NE_color=Street|
W_location=[[the Vaughan Arms]]|W_color=Arms|
This_location=The Hateley Arms|location_color=Arms|
E_location=[[St Jude's Cathedral]]|E_color=Church|
SW_location=[[Stockley Walk Police Dept]]|SW_color=Police Station|
S_location=[[Maishman Bank]]|S_color=Bank|
SE_location=[[St Jude's Cathedral]]|SE_color=Church}}

Above Example Rendered:

The Hateley Arms

Molebank [11,47]

Harrison Park Jouxson Cinema Stallworthy Square
the Vaughan Arms The Hateley Arms St Jude's Cathedral
Stockley Walk Police Dept Maishman Bank St Jude's Cathedral


Because there are multiple locations on that page, the infomation for the building type can be merged and placed near the top. to do this simply include {{infomerge|location_type}} and replace the location_type with a valid location type.

Also, between individual entries on the page <br style="clear: both" /> may be placed at the end of the code for formatting purposes.

16-block Template

The general structure of the 16-block template is as follows:

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

NNW_location=[[XXXXXX]]|NNW_color=XXXXXX|
NW_This_location=XXXXXX|NW_location_color=XXXXXX|
NE_This_location=XXXXXX|NE_location_color=XXXXXX|
NNE_location=[[XXXXXX]]|NNE_color=XXXXXX|

SSW_location=[[XXXXXX]]|SSW_color=XXXXXX|
SW_This_location=XXXXXX|SW_location_color=XXXXXX|
SE_This_location=XXXXXX|SE_location_color=XXXXXX|
SSE_location=[[XXXXXX]]|SSE_color=XXXXXX|

SW_location=[[XXXXXX]]|SW_color=XXXXXX|
WS_location=[[XXXXXX]]|WS_color=XXXXXX|
ES_location=[[XXXXXX]]|ES_color=XXXXXX|
SE_location=[[XXXXXX]]|SE_color=XXXXXX}}

Copy and paste the above onto a locations edit page. Replace the XXXXX's with the appropriate Information. Refer to either Map of Malton, or it's Mirror and the Color table above.

Example:

{{Multiblock Structure|
location_name=Caiger Mall|
suburb=[[Chudleyton]] / [[Darvall Heights]]|
coordinates=19,27] - [20,28|
location_type=Mall|
NW_location=[[18,26|a carpark]]<br /><small>([[Chudleyton]])</small>|NW_color=Carpark|
WN_location=[[Silwood Crescent]]<br /><small>([[Chudleyton]])</small>|WN_color=Street|
EN_location=[[20,26|a warehouse]]<br /><small>([[Darvall Heights]])</small>|EN_color=Warehouse|
NE_location=[[Coker Avenue]]<br /><small>([[Darvall Heights]])</small>|NE_color=Street|

NNW_location=[[Eden Library]]<br /><small>([[Chudleyton]])</small>|NNW_color=Library|
NW_This_location=Caiger Mall|NW_location_color=Mall|
NE_This_location=Caiger Mall|NE_location_color=Mall|
NNE_location=[[Holloms Auto Repair]]<br /><small>([[Darvall Heights]])</small>|NNE_color=Auto Repair|

SSW_location=[[the Tynte Building]]<br />(<small>[[Chudleyton]])</small>|SSW_color=Building|
SW_This_location=Caiger Mall|SW_location_color=Mall|
SE_This_location=Caiger Mall|SE_location_color=Mall|
SSE_location=[[the Latrobe Building]]<br /><small>([[Darvall Heights]])</small>|SSE_color=Building|

SW_location=[[the Hussey Monument]]<br /><small>([[Chudleyton]])</small>|SW_color=Monument|
WS_location=[[the Hearne Building]]<br /><small>([[Chudleyton]])</small>|WS_color=Building|
ES_location=[[Pagram Library]]<br /><small>([[Darvall Heights]])</small>|ES_color=Library|
SE_location=[[Salopia Row]]<br /><small>([[Darvall Heights]])</small>|SE_color=Street}}
Note:
There are instances of the <BR /> XHTML tag in this example, so that the suburb appears under those locations, making it easy to notice that the surrounding locations are in differing suburbs. Using the <small> XHTML tag on the suburb name can help preserve the even layout of the block template.


Above Example Rendered:


Caiger Mall

[[Chudleyton / Darvall Heights]] [19,27] - [20,28]

a carpark
(Chudleyton)
Silwood Crescent
(Chudleyton)
a warehouse
(Darvall Heights)
Coker Avenue
(Darvall Heights)
Eden Library
(Chudleyton)
Caiger Mall Caiger Mall Holloms Auto Repair
(Darvall Heights)
the Tynte Building
(Chudleyton)
Caiger Mall Caiger Mall the Latrobe Building
(Darvall Heights)
the Hussey Monument
(Chudleyton)
the Hearne Building
(Chudleyton)
Pagram Library
(Darvall Heights)
Salopia Row
(Darvall Heights)

Basic Info:

  • Malls are an excellent place to find a wide range of items; the only major items that cannot be found here are revivification syringes and fuel cans. As such, Malls are frequently used as safehouses and fortresses by survivors. Zombies often check inside (when they can get in), and organized zombie groups sometimes lay siege to them. They are listed as a Tactical Resource Point.