Template:Location: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
imported>Atlanta-Ned
(W E W who likes major template changes? Revert if this sucks, you won't hurt my feelings)
imported>Atlanta-Ned
(Cleaning up documentation)
Line 1: Line 1:
<noinclude><code>
{|width=300 cellpadding=2 cellspacing=0 bgcolor=#FFFFFF style="float: right; clear: left; margin: 0 0 20px 20px; border: 1px solid {{{imagebgcolor|#bbbbbb}}}"
</noinclude>{|width=300 cellpadding=2 cellspacing=0 bgcolor=#FFFFFF style="float: right; clear: left; margin: 0 0 20px 20px; border: 1px solid {{{imagebgcolor|#bbbbbb}}}"
|bgcolor="{{{headerbgcolor|#aaaaaa}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{department|Undefined}}} Area'''</font>
|bgcolor="{{{headerbgcolor|#aaaaaa}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{department|Undefined}}} Area'''</font>
|-
|-
Line 35: Line 34:
|-
|-
|colspan=2 align=center style="border-top: 8px solid {{{imagebgcolor|#bbbbbb}}}"|[[File:jobstemp.png|32px|link=Locations]] '''[[Locations]] on /tg/station'''
|colspan=2 align=center style="border-top: 8px solid {{{imagebgcolor|#bbbbbb}}}"|[[File:jobstemp.png|32px|link=Locations]] '''[[Locations]] on /tg/station'''
|}<noinclude></code>
|}
 
<noinclude>
This template is intended to be at the top of each of the location pages to provide a basic overview of each location.
This template is intended to be at the top of each of the location pages to provide a basic overview of each location.
== Usage ==
== Usage ==
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


  <nowiki>{{Template:Location</nowiki>
<pre>{{Location
  <nowiki>|headerbgcolor=black</nowiki>
  <nowiki>|headerfontcolor=white</nowiki>
  <nowiki>|imagebgcolor=grey</nowiki>
  <nowiki>|department=Space</nowiki>
  <nowiki>|name=Space</nowiki>
  <nowiki>|image=Space.png</nowiki>
  <nowiki>|big_image=Space.png</nowiki>
  <nowiki>|exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]</nowiki>
  <nowiki>|purpose=A cold, horrible place full of vacuum and a few locations floating around</nowiki>
  <nowiki>|access=</nowiki>
  <nowiki>|contents=Vacuum, dark matter</nowiki>
  <nowiki>|clearance=Anyone</nowiki>
  <nowiki>|description=The Final Frontier.</nowiki>
  <nowiki>|sec_level=None</nowiki>
  <nowiki>|style=Space</nowiki>
  <nowiki>|balance=--</nowiki>
  <nowiki>|other=--</nowiki>
  <nowiki>}}</nowiki>
 
...yields:
{{Template:Location
  |headerbgcolor=black
  |headerbgcolor=black
  |headerfontcolor=white
  |headerfontcolor=white
  |imagebgcolor=grey
  |imagebgcolor=grey
|department=Space
  |name=Space
  |name=Space
  |image=Space.png
  |image=Space.png
  |department=Space
  |big_image=Space.png
  |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
  |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
  |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
Line 78: Line 59:
  |balance=--
  |balance=--
  |other=--
  |other=--
  }}
  }}</pre>


 
...yields:
No image defined:
  {{Location
  {{Template:Location
  |headerbgcolor=black
  |headerbgcolor=black
  |headerfontcolor=white
  |headerfontcolor=white
  |imagebgcolor=grey
  |imagebgcolor=grey
  |name=Space
  |name=Space
|image=Space.png
  |department=Space
  |department=Space
  |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
  |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
Line 99: Line 80:
  |other=--
  |other=--
  }}
  }}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 16:56, 30 March 2016

Undefined Area
link=File:{{{image}}}
Undefined Location
Obvious exits Not defined
Purpose Not defined
Access level Not defined
Noteworthy contents Not defined
Clearance Not defined
Security level Not defined
Style Not defined
Balance Requirements No major balance requirements
Other Notes
Jobstemp.png Locations on /tg/station


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
 |imagebgcolor=grey
 |department=Space
 |name=Space
 |image=Space.png
 |big_image=Space.png
 |exits=[[Space Station 13]], [[Abandoned Satellite]], [[Derelict]], [[Mining Station]]
 |purpose=A cold, horrible place full of vacuum and a few locations floating around
 |access=
 |contents=Vacuum, dark matter
 |clearance=Anyone
 |description=The Final Frontier.
 |sec_level=None
 |style=Space
 |balance=--
 |other=--
 }}

...yields:

Space Area
Space.png
Space
The Final Frontier.
Obvious exits Space Station 13, Abandoned Satellite, Derelict, Mining Station
Purpose A cold, horrible place full of vacuum and a few locations floating around
Access level
Noteworthy contents Vacuum, dark matter
Clearance Anyone
Security level None
Style Space
Balance Requirements
Other Notes
Jobstemp.png Locations on /tg/station