Jump to content

Template:LocationInfo1x2

From All Out Hell Wiki
{{{location}}}
{{{suburb}}}, ({{{coordinates}}})
{{{{{NW_tile}}}}}
{{{NW_location}}}
{{{{{NNW_tile}}}}}
{{{NNW_location}}}
{{{{{NNE_tile}}}}}
{{{NNE_location}}}
{{{{{NE_tile}}}}}
{{{NE_location}}}
{{{{{W_tile}}}}}
{{{W_location}}}
{{{{{this_W_tile}}}}}
{{{this_W_location}}}
{{{{{this_E_tile}}}}}
{{{this_E_location}}}
{{{{{E_tile}}}}}
{{{E_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 1x2 structure, list the both X-coordinates along with the singular Y coordinate.

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
W this_W this_E E
SW SSW SSE SE

description: free-form text field for added information.


How to use

By writing the template as below:

{{LocationInfo1x2
|location=Test Casino
|suburb=[[Test Suburbia]]
|coordinates=690-691,420

|this_W_location=Grimes City Casino
|this_W_tile=CasinoW
|this_E_location=Grimes City Casino
|this_E_tile=CasinoE

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

|W_location=Wasteland
|W_tile=Wasteland
|E_location=Street
|E_tile=Street

|SW_location=Street
|SW_tile=Street
|SSW_location=Street
|SSW_tile=Street
|SSE_location=Big Building
|SSE_tile=Building
|SE_location=[[Border]]
|SE_tile=Border

|description=Casino
}}

will create the following box (below right):

Test Casino
Test Suburbia, (690-691,420)
Grove Street
Grime City PD
Restaurant
Junkyard
Wasteland
Grimes City Casino
Grimes City Casino
Dun Street
Street
Worksite
Big Building
Basic Info
Casino