Template:Location: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
m (tg to yogs)
(updated the template to look nicer and be more compact)
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: 1px solid {{{imagebgcolor|#bbbbbb}}}"
{|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}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{department|Undefined}}} Area'''</font>
|bgcolor="{{{headerbgcolor|#aaaaaa}}}" style="border-bottom: 1px solid; border-color: #d3d3d3" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{location|Undefined}}}'''</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:{{{image|NPA.png}}}|frameless|300px|center|link={{{big_image|File:{{{image}}}}}}]]
|-
|-
|colspan=2|{{{description|}}}
|style="border-bottom: 2px dashed; border-color: #d3d3d3" align="center" colspan=2|<span style="font-size:95%;">''{{{description|}}}''</span>
|-
|'''Obvious exits'''
|{{{exits|Not defined}}}
|-
|-
|'''Purpose'''
|'''Purpose'''
|{{{purpose|Not defined}}}
|{{{purpose|}}}
|-
|-
|'''Access level'''
|'''Key items'''
|{{{access|Not defined}}}
|{{{items|}}}
|-
|-
|'''Noteworthy contents'''
|'''Workers'''
|{{{contents|Not defined}}}
|{{{workers|}}}
|-
|-
|'''Clearance'''
|'''Clearance'''
|{{{clearance|Not defined}}}
|{{{clearance|}}}
|-
|-
|'''Security level'''
|'''Exits'''
|{{{sec_level|Not defined}}}
|{{{exits|Not defined}}}
|-
|'''Style'''
|{{{style|Not defined}}}
|-
|'''Balance Requirements'''
|{{{balance|No major balance requirements}}}
|-
|'''Other Notes'''
|{{{other|--}}}
|-
|-
|colspan=2 align=center style="border-top: 8px solid {{{imagebgcolor|#bbbbbb}}}"|[[File:jobstemp.png|32px|link=Locations]] '''[[Locations]] on yogstation'''
|bgcolor="{{{footerbgcolor|#aaaaaa}}}" style="border-top: 1px solid; border-color: #d3d3d3" align="center" colspan=2|<font color="{{{footerfontcolor|#000000}}}">'''{{{department|Undefined}}}'''</font>
|}
|}
</includeonly>
</includeonly>
Line 43: Line 31:
Example of the finished product. Please document any changes you make to the template code in the parameters and usage sections
Example of the finished product. Please document any changes you make to the template code in the parameters and usage sections


<pre>{{Location
<pre> {{Location
  |headerbgcolor=black
  |headerbgcolor=black
  |headerfontcolor=white
  |headerfontcolor=white
|imagebgcolor=grey
|department=Space
|name=Space
  |image=Space.png
  |image=Space.png
  |big_image=Space.png
  |location=Space
  |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
  |description=The Final Frontier.
  |purpose=A cold, horrible place full of vacuum and a few locations floating around
  |purpose=A cold, horrible place full of vacuum and a few locations floating around
  |access=
  |items=Vacuum and dark matter
  |contents=Vacuum, dark matter
  |workers=None
  |clearance=Anyone
  |clearance=Anyone
  |description=The Final Frontier.
  |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
|sec_level=None
  |department=Outside
  |style=Space
  |footerbgcolor=black
  |balance=--
  |footerfontcolor=white
  |other=--
  }}</pre>
  }}</pre>


Line 67: Line 51:
  |headerbgcolor=black
  |headerbgcolor=black
  |headerfontcolor=white
  |headerfontcolor=white
|imagebgcolor=grey
|name=Space
  |image=Space.png
  |image=Space.png
  |department=Space
  |location=Space
  |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
  |description=The Final Frontier.
  |purpose=A cold, horrible place full of vacuum and a few locations floating around
  |purpose=A cold, horrible place full of vacuum and a few locations floating around
  |access=
  |items=Vacuum and dark matter
  |contents=Vacuum, dark matter
  |workers=None
  |clearance=Anyone
  |clearance=Anyone
  |description=The Final Frontier.
  |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
|sec_level=None
  |department=Outside
  |style=Space
  |footerbgcolor=black
  |balance=--
  |footerfontcolor=white
  |other=--
  }}
  }}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 09:08, 16 September 2019


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

 {{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
 |clearance=Anyone
 |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
 |department=Outside
 |footerbgcolor=black
 |footerfontcolor=white
 }}

...yields:

Space
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
Clearance Anyone
Exits Space Station 13, Abandoned Satellite, Derelict, Mining Station
Outside