Difference between revisions of "Template:Location"

From Paradise Station Wiki
Jump to navigation Jump to search
(removed a useless variable)
(forces scroll bars for massive images)
Line 22: Line 22:
{{#if:{{{description|}}}|{{!}} {{{description}}}|}}
{{#if:{{{description|}}}|{{!}} {{{description}}}|}}
{{#if:{{{image|}}}|{{!}}- style="background: {{{imagebgcolor|#bbbbbb}}};"|}}
{{#if:{{{image|}}}|{{!}}- style="background: {{{imagebgcolor|#bbbbbb}}};"|}}
{{#if:{{{image|}}}|{{!}} colspan={{#if:{{{description|}}}|3|2}} {{!}} [[File:{{{image}}}|center]]}}
{{#if:{{{image|}}}|{{!}} colspan={{#if:{{{description|}}}|3|2}} {{!}}<div style="overflow:auto; overflow-x:auto; max-height:40em; width:80em;"> [[File:{{{image}}}|center]]}}
</div>
|}
|}


Line 75: Line 76:
| department = General
| department = General
| name = Mint and Mint Vault
| name = Mint and Mint Vault
| image = Mint.png
| image = Central Command.png
| exits = Hallway north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east
| exits = Hallway north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east
| purpose = Production and storage of coins
| purpose = Production and storage of coins

Revision as of 19:13, 22 May 2021

Undefined Area
General
Obvious exits: Undefined.
Purpose: Undefined.
Access level: Undefined.
Noteworthy contents: Undefined.
Clearance: Undefined.
Security level: Undefined.


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

Usage

Example of the finished product. Please document any changes you make to the template code in the parameters and usage sections

   {{Template:Location
   | headerbgcolor = darkblue
   | headerfontcolor = white
   | imagebgcolor = lightblue
   | department = General
   | name = Mint and Mint Vault
   | image = Mint.png
   | big_image = Burger.png
   | exits = Hallway north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east
   | purpose = Production and storage of coins
   | access = Mint for reception desks and loading area, Mint vault for vault
   | contents = Coin press, Some coins
   | clearance = [[Captain]], [[Head of Personnel]], [[Quartermaster]], [[Shaft Miner]], [[Chief Engineer]]
   | description = A semi-protected room, accessible from the south and east from [[Maintenance|maintenance]] and from the Hallways in the north. Modeled to look like a bank, it is intended to store money and other valuables. Its vault is a lot less protected than the [[Vault| main vault]] though.
   | sec_level = Medium to High
   }}

... yields:


General Area
General Description
Obvious exits: Hallway north, maintenance south, maintenance east
Purpose: Production and storage of coins
Access level: Mint for reception desks and loading area, Mint vault for vault
Noteworthy contents: Coin press, Some coins
Clearance: Captain, Head of Personnel, Quartermaster, Shaft Miner, Chief Engineer
Security level: Medium to High
A semi-protected room, accessible from the south and east from maintenance and from the hallways in the north. Modeled to look like a bank, it is intended to store money and other valuables. Its vault is a lot less protected than the main vault though.
Mint.png

And with no image defined:


General Area
General Description
Obvious exits: Hallway north, maintenance south, maintenance east
Purpose: Production and storage of coins
Access level: Mint for reception desks and loading area, Mint vault for vault
Noteworthy contents: Coin press, Some coins
Clearance: Captain, Head of Personnel, Quartermaster, Shaft Miner, Chief Engineer
Security level: Medium to High
A semi-protected room, accessible from the south and east from maintenance and from the main hallway in the north. Modeled to look like a bank, it is intended to store money and other valuables. Its vault is a lot less protected than the main vault though.