Template:LocationNew: Difference between revisions

From BeeStation Wiki
Jump to navigation Jump to search
(will work on later, just copying across for now)
 
No edit summary
 
Line 1: Line 1:
<includeonly>
<includeonly>
{|width=300 cellpadding=2 cellspacing=0 bgcolor=#FFFFFF style="float: right; clear: left; margin: 0 0 20px 20px; border: 2px ridge; border-color: #d3d3d3; border-radius: 3px;"
{|width=300 cellpadding=2 cellspacing=0 bgcolor=#FFFFFF style="float: right; clear: left; margin: 0 0 20px 20px; border: 2px solid; border-color: #d3d3d3; border-radius: 3px;"
|bgcolor="{{{headerbgcolor|#aaaaaa}}}" style="border-bottom: 1px solid; border-color: #d3d3d3" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{#if: {{{location|}}}|{{{location}}}|Undefined Location}}'''</font>
|bgcolor="{{{headerbgcolor|#aaaaaa}}}" style="border-bottom: 1px solid; border-color: #d3d3d3" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{#if: {{{location|}}}|{{{location}}}|Undefined Location}}'''</font>
|-
|-
Line 10: Line 10:
|{{#if: {{{purpose|}}}|{{{purpose}}}|Unknown}}
|{{#if: {{{purpose|}}}|{{{purpose}}}|Unknown}}
|-
|-
| style="border-color: #d3d3d3"| '''Key&nbsp;items:'''
| style="border-color: #d3d3d3"| '''Key&nbsp;Items:'''
|{{#if: {{{items|}}}|{{{items}}}|None}}
|{{#if: {{{items|}}}|{{{items}}}|None}}
|-  style="border-bottom: 2px dashed; border-color: #d3d3d3; background-color: #f5f5f5;"
|-  style="border-bottom: 2px dashed; border-color: #d3d3d3; background-color: #f5f5f5;"
Line 22: Line 22:
|{{#if: {{{exits|}}}|{{{exits}}}|Not defined}}
|{{#if: {{{exits|}}}|{{{exits}}}|Not defined}}
|-
|-
|bgcolor="{{{footerbgcolor|#aaaaaa}}}" style="border-top: 1px solid; border-color: #d3d3d3" align="center" colspan=2|<font color="{{{footerfontcolor|#000000}}}">{{#if: {{{department|}}}|'''{{{department}}}'''|}}</font>
|bgcolor="{{{footerbgcolor|#aaaaaa}}}" style="border-top: 1px solid; border-color: #d3d3d3" align="center" colspan=2|<font color="{{{footerfontcolor|#000000}}}">{{#if: {{{department|}}}|'''{{{department}}}'''|Unknown department}}</font>
|}
|}
</includeonly><noinclude>
</includeonly><noinclude>
Line 29: Line 29:


== Parameter-Usage ==
== Parameter-Usage ==
{| class="wikitable"  
{|class="wikitable"  
!Parameter
!Parameter
!Default
!Default
Line 36: Line 36:
!location
!location
|Undefined Location
|Undefined Location
|Title of the box
|Name of the area (Chapel, Surgery, Bar, etc)
|-
|-
!image
!image
|NPA.png
|NPA.png
|Small image of the location to be displayed
|Image of the location to be displayed
|-
!big_image
|
|Big version of the image, linked with the displayed small image
|-
|-
!description
!description
|
|
|Short decription below the image
|Short description below the image, one sentence
|-
|-
!purpose
!purpose
|Unknown
|Unknown
|Purpose / usage and general context
|Purpose/usage and general context
|-
|-
!items
!items
|None
|None
|Key items
|Any key items of note
|-
|-
!workers
!workers
|None
|None
|Workers
|Doctors for medbay, officers for brig, etc
|-
|-
!access
!access
Line 67: Line 63:
|-
|-
!exits
!exits
|Not defined
|
|List of links for neighboring locations
|List of exits out of the location
|-
|-
!department
!department
|
|Unknown department
|Department the location belongs to
|Department of the location (Medical, Security, etc)
|-
|-
!headerbgcolor
!headerbgcolor
Line 91: Line 87:
|}
|}


== Examples ==
==Examples==
=== Bare 1 ===
===Example 1===
{{Location}}
{{LocationNew
<pre>{{Location}}</pre>
{{Clear}}
 
=== Bare 2 ===
{{Location
|headerbgcolor=
|headerfontcolor=
|image=
|location=
|description=
|purpose=
|items=
|workers=
|access=
|exits=
|department=
|footerbgcolor=
|footerfontcolor=
}}
<pre>{{Location
|headerbgcolor=
|headerfontcolor=
|image=
|location=
|description=
|purpose=
|items=
|workers=
|access=
|exits=
|department=
|footerbgcolor=
|footerfontcolor=
}}</pre>
{{Clear}}
 
=== Normal ===
{{Location
|headerbgcolor=black
|headerbgcolor=black
|headerfontcolor=white
|headerfontcolor=white
Line 146: Line 104:
|footerfontcolor=white
|footerfontcolor=white
}}
}}
<pre>{{Location
<pre>{{LocationNew
|headerbgcolor=black
|headerbgcolor=black
|headerfontcolor=white
|headerfontcolor=white
Line 162: Line 120:
}}</pre>
}}</pre>


=== Another ===
===Example 2===
<pre>{{Location
<pre>{{LocationNew
  |headerbgcolor=#a885a2
  |headerbgcolor=#a885a2
  |headerfontcolor = black
  |headerfontcolor = black
  |image=RD_Lab.png
  |image=RD_Lab.png
  |location=Research and Development Lab
  |location=Research and Development Lab
  |description=The toy manufacturing room.
  |description=The research room.
  |purpose=To research and develop.
  |purpose=To research and develop.
  |items=[[Destructive Analyzer]], [[Protolathe]], [[R&D Console]] and a [[Circuit Imprinter]]
  |items=[[Destructive Analyzer]], [[Protolathe]], [[R&D Console]] and a [[Circuit Imprinter]]
Line 178: Line 136:
  |footerfontcolor = black
  |footerfontcolor = black
  }}</pre>
  }}</pre>
{{Location
{{LocationNew
  |headerbgcolor=#a885a2
  |headerbgcolor=#a885a2
  |headerfontcolor = black
  |headerfontcolor = black

Latest revision as of 18:58, 18 September 2024

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 Name of the area (Chapel, Surgery, Bar, etc)
image NPA.png Image of the location to be displayed
description Short description below the image, one sentence
purpose Unknown Purpose/usage and general context
items None Any key items of note
workers None Doctors for medbay, officers for brig, etc
access Everyone List of roles that have access to the location
exits List of exits out of the location
department Unknown department Department of the location (Medical, Security, etc)
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

Example 1

Space
link=File:Space.png}}
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
{{LocationNew
|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
}}

Example 2

{{LocationNew
 |headerbgcolor=#a885a2
 |headerfontcolor = black
 |image=RD_Lab.png
 |location=Research and Development Lab
 |description=The research 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}}
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