Jump to content

Template:LocationInfo2x2

From All Out Hell Wiki
{{{location}}}
{{{suburb}}}, ({{{coordinates}}})
{{{{{NW_tile}}}}}
{{{NW_location}}}
{{{{{NNW_tile}}}}}
{{{NNW_location}}}
{{{{{NNE_tile}}}}}
{{{NNE_location}}}
{{{{{NE_tile}}}}}
{{{NE_location}}}
{{{{{WNW_tile}}}}}
{{{WNW_location}}}
{{{{{this_NW_tile}}}}}
{{{this_NW_location}}}
{{{{{this_NE_tile}}}}}
{{{this_NE_location}}}
{{{{{ENE_tile}}}}}
{{{ENE_location}}}
{{{{{WSW_tile}}}}}
{{{WSW_location}}}
{{{{{this_SW_tile}}}}}
{{{this_SW_location}}}
{{{{{this_SE_tile}}}}}
{{{this_SE_location}}}
{{{{{ESE_tile}}}}}
{{{ESE_location}}}
{{{{{SW_tile}}}}}
{{{SW_location}}}
{{{{{SSW_tile}}}}}
{{{SSW_location}}}
{{{{{SSE_tile}}}}}
{{{SSE_location}}}
{{{{{SE_tile}}}}}
{{{SE_location}}}
Basic Info
{{{description}}}


Purpose

This template is to allow basic information per location ("block"), with links to adjacent locations.

Keywords

location: The name of the location.

suburb: The suburb where the location is in. This can be a plain text or a link to the suburb page, latter is preferred for navigation.

coordinates: Location's X and Y coordinates on the map. For a 2x2 structure, list the both the coordinates of North-West and South-East corners.

X_location: This is to name the location in the associated sector (NW, NE, etc). Location can be written as plain text that won't create a link to a page, or with link as follows:

[[Title]]

The location can also be written with a customized page link, where the first argument is the page and the second the displayed name (preferred to common tiles such as parking lots and wastelands):

[[Wasteland (6,1)|Wasteland]]

this_X_location: Same as above location, but for the 1x2 building in question. Names should be written as plain text as the locations can be described on the page proper.

X_tile: The building tile for the associated sector (NW, NE, etc). This looks for tile keywords from Category:Map Tiles. To call for the tile, remove preceding "Template:" when using the page name as a keyword.

this_X_tile: Same as above tiles, but for the 1x2 building in question.

For reference purpose, the tile locations are as follows (green tiles belong to the structure):

NW NNW NNE NE
WNW this_NW this_NE ENE
WSW this_SW this_SE ESE
SW SSW SSE SE

description: free-form text field for added information.


How to use

By writing the template as below:

{{LocationInfo2x2
|location=Test Mall
|suburb=[[Test Suburbia]]
|coordinates=690,420-691,421

|this_NW_location=Mall
|this_NW_tile=MallNW
|this_NE_location=Mall
|this_NE_tile=MallNE

|this_SW_location=Mall
|this_SW_tile=MallSW
|this_SE_location=Mall
|this_SE_tile=MallSE

|NW_location=Church
|NW_tile=Temple
|NNW_location=Grime City PD
|NNW_tile=PoliceDept
|NNE_location=Restaurant
|NNE_tile=Restaurant
|NE_location=Junkyard
|NE_tile=Junkyard

|WNW_location=Wasteland
|WNW_tile=Wasteland
|ENE_location=Street
|ENE_tile=Street

|WSW_location=Goblin General
|WSW_tile=Hospital
|ESE_location=Dupe Street
|ESE_tile=Street

|SW_location=Street
|SW_tile=Street
|SSW_location=Parking Lot
|SSW_tile=ParkingLot
|SSE_location=Big Building
|SSE_tile=Building
|SE_location=Hell'Vron
|SE_tile=GasStation

|description=A mall
}}

will create the following box (below right):

Test Mall
Test Suburbia, (690,420-691,421)
Church
Grime City PD
Restaurant
Junkyard
Wasteland
Mall
Mall
Street
Goblin General
Mall
Mall
Dupe Street
Street
Parking Lot
Big Building
Hell'Vron
Basic Info
A mall