Template:Location: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
(Undo revision 25591 by Jando (talk))
mNo edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|width=300 cellpadding=2 cellspacing=0 bgcolor=#FFFFFF style="float: right; clear: left; margin: 0 0 20px 20px; border: 1px solid {{{imagebgcolor|#bbbbbb}}}"
<includeonly>
|bgcolor="{{{headerbgcolor|#aaaaaa}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{department|Undefined}}} Area'''</font>
{|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;"
|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>
|-
|-
|align=center bgcolor="{{{imagebgcolor|#bbbbbb}}}" width="350" colspan=2 |[[File:{{{image|NPA.png}}}|frameless|300px|center|link={{{big_image|File:{{{image}}}}}}]] '''{{{name|Undefined Location}}}'''
|align=center width="350" colspan=2 |[[File:{{#if: {{{image|}}}|{{{image}}}|NPA.png}}|frameless|300px|center|link={{{big_image|File:{{{image|}}}|{{{image}}}|NPA.png}}}}}]]
|-
|-
|colspan=2|{{{description|}}}
|style="border-bottom: 2px dashed; border-color: #d3d3d3" align="center" colspan=2|<span style="font-size:95%;">{{#if: {{{description|}}}|''{{{description}}}''|}}</span>
|-  style="border-bottom: 2px dashed; border-color: #d3d3d3; background-color: #f5f5f5;"
| style="border-color: #d3d3d3"| '''Purpose:'''
|{{#if: {{{purpose|}}}|{{{purpose}}}|Unknown}}
|-
|-
|'''Obvious exits'''
| style="border-color: #d3d3d3"| '''Key&nbsp;items:'''
|{{{exits|Not defined}}}
|{{#if: {{{items|}}}|{{{items}}}|None}}
|-  style="border-bottom: 2px dashed; border-color: #d3d3d3; background-color: #f5f5f5;"
| style="border-color: #d3d3d3"| '''Workers:'''
|{{#if: {{{workers|}}}|{{{workers}}}|None}}
|-
|-
|'''Purpose'''
| style="border-color: #d3d3d3"| '''Access:'''
|{{{purpose|Not defined}}}
|{{#if: {{{access|}}}|{{{access}}}|Everyone}}
|-  style="border-bottom: 2px dashed; border-color: #d3d3d3; background-color: #f5f5f5;"
| style="border-color: #d3d3d3"| '''Exits:'''
|{{#if: {{{exits|}}}|{{{exits}}}|Not defined}}
|-
|-
|'''Access level'''
|bgcolor="{{{footerbgcolor|#aaaaaa}}}" style="border-top: 1px solid; border-color: #d3d3d3" align="center" colspan=2|<font color="{{{footerfontcolor|#000000}}}">{{#if: {{{department|}}}|'''{{{department}}}'''|}}</font>
|{{{access|Not defined}}}
|}
</includeonly><noinclude>
== 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 ==
{| class="wikitable"
!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
|-
|-
|'''Noteworthy contents'''
!items
|{{{contents|Not defined}}}
|None
|Key items
|-
|-
|'''Clearance'''
!workers
|{{{clearance|Not defined}}}
|None
|Workers
|-
|-
|'''Security level'''
!access
|{{{sec_level|Not defined}}}
|Everyone
|List of roles that have access to the location
|-
|-
|'''Style'''
!exits
|{{{style|Not defined}}}
|Not defined
|List of links for neighboring locations
|-
|-
|'''Balance Requirements'''
!department
|{{{balance|No major balance requirements}}}
|
|Department the location belongs to
|-
|-
|'''Other Notes'''
!headerbgcolor
|{{{other|--}}}
|#aaaaaa
|Background-color of the header
|-
|-
|colspan=2 align=center style="border-top: 8px solid {{{imagebgcolor|#bbbbbb}}}"|[[File:jobstemp.png|32px|link=Locations]] '''[[Locations]] on yogstation'''
!headerfontcolor
|#000000
|Font-color of the header
|-
!footerbgcolor
|#aaaaaa
|Background-color of the footer
|-
!footerfontcolor
|#000000
|Font-color of the footer
|}
|}


<noinclude>
== Examples ==
This template is intended to be at the top of each of the location pages to provide a basic overview of each location.
=== Bare 1 ===
== Usage ==
{{Location}}
Example of the finished product. Please document any changes you make to the template code in the parameters and usage sections
<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
|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
}}
<pre>{{Location
<pre>{{Location
|headerbgcolor=black
|headerbgcolor=black
|headerfontcolor=white
|headerfontcolor=white
|imagebgcolor=grey
|image=Space.png
|department=Space
|location=Space
|name=Space
|description=The Final Frontier.
|image=Space.png
|purpose=A cold, horrible place full of vacuum and a few locations floating around
|big_image=Space.png
|items=Vacuum and dark matter
|exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
|workers=None
  |purpose=A cold, horrible place full of vacuum and a few locations floating around
|access=Everyone
  |access=
|exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
  |contents=Vacuum, dark matter
|department=Outside
  |clearance=Anyone
|footerbgcolor=black
  |description=The Final Frontier.
|footerfontcolor=white
  |sec_level=None
}}</pre>
  |style=Space
 
  |balance=--
=== Another ===
  |other=--
<pre>{{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
  }}</pre>
  }}</pre>
 
{{Location
...yields:
  |headerbgcolor=#a885a2
{{Location
  |headerfontcolor = black
  |headerbgcolor=black
  |image=RD_Lab.png
  |headerfontcolor=white
  |location=Research and Development Lab
  |imagebgcolor=grey
  |description=The toy manufacturing room.
  |name=Space
  |purpose=To research and develop.
  |image=Space.png
  |items=[[Destructive Analyzer]], [[Protolathe]], [[R&D Console]] and a [[Circuit Imprinter]]
  |department=Space
  |workers=[[Scientist]], [[Research Director]]
  |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
  |access=[[Scientist]], [[Roboticist]], [[Research Director]]
  |purpose=A cold, horrible place full of vacuum and a few locations floating around
  |exits=[[Research Division]] south
  |access=
  |department=Science
|contents=Vacuum, dark matter
  |footerbgcolor=#a885a2
  |clearance=Anyone
  |footerfontcolor = black
  |description=The Final Frontier.
  |sec_level=None
  |style=Space
|balance=--
|other=--
  }}
  }}
 
[[Category:Templates]]
[[Category:Templates]]</noinclude>
</noinclude>

Latest revision as of 15:09, 25 April 2020

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