Template:Location

Revision as of 12:11, 25 April 2020 by Helpful Herbert (talk | contribs) (Reverted empty-/missing-behaviour for color-parameters as they broke for some values. Added another example where it broke.)

About

This template is intended to be at the top of each of the Locations pages to provide a basic overview of each location.

Parameter-Usage

Parameter Default Description
location Undefined Location Title of the box
image NPA.png Small image of the location to be displayed
big_image Big version of the image, linked with the displayed small image
description Short decription below the image
purpose Unknown Purpose / usage and general context
items None Key items
workers None Workers
access Everyone List of roles that have access to the location
exits Not defined List of links for neighboring locations
department Department the location belongs to
headerbgcolor #aaaaaa Background-color of the header
headerfontcolor #000000 Font-color of the header
footerbgcolor #aaaaaa Background-color of the footer
footerfontcolor #000000 Font-color of the footer

Examples

Bare 1

Undefined Location
link=File:}}
Purpose: Unknown
Key items: None
Workers: None
Access: Everyone
Exits: Not defined
{{Location}}

Bare 2

Undefined Location
link=File:}}
Purpose: Unknown
Key items: None
Workers: None
Access: Everyone
Exits: Not defined
{{Location
|headerbgcolor=
|headerfontcolor=
|image=
|location=
|description=
|purpose=
|items=
|workers=
|access=
|exits=
|department=
|footerbgcolor=
|footerfontcolor=
}}

Normal

'Space'
link=File:Space.png}}
The Final Frontier.
Purpose: A cold, horrible place full of vacuum and a few locations floating around
Key items: Vacuum and dark matter
Workers: None
Access: Everyone
Exits: Space Station 13, Abandoned Satellite, Derelict, Mining Station
Outside
{{Location
|headerbgcolor=black
|headerfontcolor=white
|image=Space.png
|location=Space
|description=The Final Frontier.
|purpose=A cold, horrible place full of vacuum and a few locations floating around
|items=Vacuum and dark matter
|workers=None
|access=Everyone
|exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
|department=Outside
|footerbgcolor=black
|footerfontcolor=white
}}

Another

{{Location
 |headerbgcolor=#a885a2
 |headerfontcolor = black
 |image=RD_Lab.png
 |location=Research and Development Lab
 |description=The toy manufacturing room.
 |purpose=To research and develop.
 |items=[[Destructive Analyzer]], [[Protolathe]], [[R&D Console]] and a [[Circuit Imprinter]]
 |workers=[[Scientist]], [[Research Director]]
 |access=[[Scientist]], [[Roboticist]], [[Research Director]]
 |exits=[[Research Division]] south
 |department=Science
 |footerbgcolor=#a885a2
 |footerfontcolor = black
 }}
'Research and Development Lab'
link=File:RD_Lab.png}}
The toy manufacturing room.
Purpose: To research and develop.
Key items: Destructive Analyzer, Protolathe, R&D Console and a Circuit Imprinter
Workers: Scientist, Research Director
Access: Scientist, Roboticist, Research Director
Exits: Research Division south
Science