Difference between revisions of "Template:Location"

From Paradise Station Wiki
Jump to navigation Jump to search
(Woops.)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude><code></noinclude>
<div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: margin: 1em 0 1em 0; padding: 1px; margin-top: 2em;">
{| class="wikitable" width="100%" cellpadding="2" cellspacing="0"
<div style="background:#{{ColorPalette‎‎|{{{Theme}}}|Tertiary}}; border-radius: .2em; color: {{{textcolour|#FFF}}}; padding: .2em .2em .2em; line-height:1.2em;">
| bgcolor="{{{headerbgcolor|#aaaaaa}}}" align="center" colspan=3 | {{Color|{{{headerfontcolor|#000000}}}|'''{{{department|Undefined}}} Area'''}}
<div style="background:#{{ColorPalette‎‎|{{{Theme}}}|Primary}}; color:#{{ColorPalette‎‎|{{{Theme}}}|Header Text}}; border-radius: .2em; color: {{{textcolour|#FFF}}}; padding: .4em .4em .4em; line-height:1.2em; font-size:1.2em;"><center>'''{{{department|Undefined}}} Area'''</center></div>
|- style="font-weight: bold; text-align: center; background: {{{imagebgcolor|#bbbbbb}}};"
<div style="padding: .15em 0 .15em; margin-bottom:.5em; align-items: stretch; display: flex;">
| General
<div style="background:#{{ColorPalette‎‎|{{{Theme}}}|Very Light}}; color:black; border-color:#{{ColorPalette‎‎|{{{Theme}}}|Light}}; border-radius:.2em; box-shadow: 0 0 .3em #999; width:50%; margin-right: .2em; padding:.2em;">
{{#if:{{{description|}}}|{{!}} Description|}}
<center>'''General'''</center>
|- valign="top"
<hr>
|
{|
{|
| '''Obvious exits:''' || {{{exits|Undefined.}}}
| '''Obvious exits:''' || {{{exits|Undefined.}}}
Line 18: Line 17:
| '''Clearance:''' || {{{clearance|Undefined.}}}
| '''Clearance:''' || {{{clearance|Undefined.}}}
|-
|-
| '''Security level:''' || {{{sec_level|Undefined.}}}
| '''Security Level:''' ||{{Location/Security Level|sec_level={{{sec_level|}}}}}
|}
|}
{{#if:{{{description|}}}|{{!}} {{{description}}}|}}
</div>
{{#if:{{{image|}}}|{{!}}- style="background: {{{imagebgcolor|#bbbbbb}}};"|}}
<div style="background:#{{ColorPalette‎‎|{{{Theme}}}|Very Light}}; color:black; border-color:#{{ColorPalette‎‎|{{{Theme}}}|Light}}; border-radius:.2em; box-shadow: 0 0 .3em #999; width:50%; padding:.2em;">
{{#if:{{{image|}}}|{{!}} colspan={{#if:{{{description|}}}|3|2}} {{!}} [[File:{{{image}}}|center|link={{{big_image|File:{{{image}}}}}}|caption={{{name|}}}]]|}}
<center>'''Description'''</center>
|}
<hr>
 
{{{description|}}}
[[Category:locations]]<noinclude></code>
</div>
 
</div>
This template is intended to be at the top of each of the location pages to provide a basic overview of each location.
{{#if:{{{image|}}}|<div style="overflow:auto; overflow-x:auto; max-height:40em; width:100%;"> [[File:{{{image}}}|center]]</div>|}}
 
</div></div>
== Usage ==
Example of the finished product. Please document any changes you make to the template code in the parameters and usage sections
    <nowiki>{{Template:Location</nowiki>
    <nowiki>| headerbgcolor = darkblue</nowiki>
    <nowiki>| headerfontcolor = white</nowiki>
    <nowiki>| imagebgcolor = lightblue</nowiki>
    <nowiki>| department = General</nowiki>
    <nowiki>| name = Mint and Mint Vault</nowiki>
    <nowiki>| image = Mint.png</nowiki>
    <nowiki>| big_image = Mint_big.png</nowiki>
    <nowiki>| exits = [[Hallway|Hallway]] north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east</nowiki>
    <nowiki>| purpose = Production and storage of [[Coins|coins]]</nowiki>
    <nowiki>| access = Mint for reception desks and loading area, Mint vault for vault</nowiki>
    <nowiki>| contents = Coin press, Some [[Coins|coins]]</nowiki>
    <nowiki>| clearance = [[Captain]], [[Head of Personnel]], [[Quartermaster]], [[Shaft Miner]], [[Chief Engineer]]</nowiki>
    <nowiki>| description = A semi-protected room, accessible from the south and east from [[Maintenance|maintenance]] and from the [[Hallways|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 [[Vault| main vault]] though.</nowiki>
    <nowiki>| sec_level = Medium to High</nowiki>
    <nowiki>}}</nowiki>
 
... yields:
 
{{Template:Location
| headerbgcolor = darkblue
| headerfontcolor = white
| imagebgcolor = lightblue
| department = General
| name = Mint and Mint Vault
| image = Mint.png
| big_image = Mint_big.png
| exits = [[Hallway|Hallway]] north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east
| purpose = Production and storage of [[Coins|coins]]
| access = Mint for reception desks and loading area, Mint vault for vault
| contents = Coin press, Some [[Coins|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|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 [[Vault| main vault]] though.
| sec_level = Medium to High
}}
 
And with no image defined:
 
{{Template:Location
| headerbgcolor = darkblue
| headerfontcolor = white
| imagebgcolor = lightblue
| department = General
| name = Mint and Mint Vault
| image = Mint.png
| exits = [[Hallway|Hallway]] north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east
| purpose = Production and storage of [[Coins|coins]]
| access = Mint for reception desks and loading area, Mint vault for vault
| contents = Coin press, Some [[Coins|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|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 [[Vault| main vault]] though.
| sec_level = Medium to High
}}


[[Category:Templates]]</noinclude>
<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 03:09, 27 November 2023

Undefined Area
General

Obvious exits: Undefined.
Purpose: Undefined.
Access level: Undefined.
Noteworthy contents: Undefined.
Clearance: Undefined.
Security Level: Undefined.
Description