Difference between revisions of "Template:Location"

From NSV13
Jump to navigationJump to search
imported>Atlanta-Ned
(W E W who likes major template changes? Revert if this sucks, you won't hurt my feelings)
m (The locations are now no longer on /tg/station)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude><code>
+
<includeonly>
</noinclude>{|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: 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 34: Line 34:
 
|{{{other|--}}}
 
|{{{other|--}}}
 
|-
 
|-
|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:NSVBanner299.png|150px|link=Locations]] '''[[Locations]] on NSV13'''
|}<noinclude></code>
+
|}
 +
</includeonly>
 +
 
 +
<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 61:
 
  |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 82:
 
  |other=--
 
  |other=--
 
  }}
 
  }}
[[Category:Templates]]</noinclude>
+
 
 +
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 05:19, 30 June 2020


This template is intended to be at the top of each of the location pages to provide a basic overview of each location.

Usage[edit source]

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
NSVBanner299.png Locations on NSV13