Template:Location: Difference between revisions

Jump to navigation Jump to search
613 bytes added ,  15:09, 25 April 2020
m
no edit summary
imported>Delicious
No edit summary
mNo edit summary
 
(24 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<noinclude><code>
<includeonly>
</noinclude>{|width=800 cellpadding=2 cellspacing=0
{|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}}} 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>
|-
|-
|align=center bgcolor="{{{imagebgcolor|#bbbbbb}}}" width="250" rowspan=6|[[File:{{{image|NPA.png}}}|center|240px]] '''{{{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}}}}}]]
|bgcolor="{{{imagebgcolor|#bbbbbb}}}"| '''General'''
|-
|-
|'''Obvious exits:''' {{{exits|Not defined}}}<br>'''Purpose:''' {{{purpose|Not defined}}}<br>'''Access level:''' {{{access|Not defined}}}<br>'''Noteworthy contents:''' {{{contents|Not defined}}}<br>'''Clearance:''' {{{clearance|Not defined}}}<br>
|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}}
|-
|-
|bgcolor="{{{imagebgcolor|#bbbbbb}}}"| '''Description'''
| style="border-color: #d3d3d3"| '''Key&nbsp;items:'''
|{{#if: {{{items|}}}|{{{items}}}|None}}
|-  style="border-bottom: 2px dashed; border-color: #d3d3d3; background-color: #f5f5f5;"
| style="border-color: #d3d3d3"| '''Workers:'''
|{{#if: {{{workers|}}}|{{{workers}}}|None}}
|-
|-
|"{{{description|Description not available.}}}"
| style="border-color: #d3d3d3"| '''Access:'''
|{{#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}}
|-
|-
|bgcolor="{{{imagebgcolor|#bbbbbb}}}"| '''[[Guide to mapping|Mapping notes]]'''
|bgcolor="{{{footerbgcolor|#aaaaaa}}}" style="border-top: 1px solid; border-color: #d3d3d3" align="center" colspan=2|<font color="{{{footerfontcolor|#000000}}}">{{#if: {{{department|}}}|'''{{{department}}}'''|}}</font>
|}
</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
|-
!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
|-
|-
| '''Security level: '''{{{sec_level|Not defined}}}<br> '''Style: ''' {{{style|Not defined}}}<br> '''Balance Requirements: ''' {{{balance|No major balance requirements}}}<br> '''Other: ''' {{{other|--}}}
!footerfontcolor
|}<noinclude></code>
|#000000
This template is intended to be at the top of each of the location pages to provide a basic overview of each location.
|Font-color of the footer
== Usage ==
|}
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>
  <nowiki>|headerbgcolor=darkblue</nowiki>
  <nowiki>|headerfontcolor=white</nowiki>
  <nowiki>|imagebgcolor=lightblue</nowiki>
  <nowiki>|department = General</nowiki>
  <nowiki>|name=Mint and Mint Vault</nowiki>
  <nowiki>|img=Mint.png</nowiki>
  <nowiki>|exits=[[Hallway|Hallway]] north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east</nowiki>
  <nowiki>|purpose=Production and storage of [[Coins|coins]]</nowiki>
  <nowiki>|access=Mint for reception desks and loading area, Mint vault for vault</nowiki>
  <nowiki>|contents=Coin press, Some [[Coins|coins]]</nowiki>
  <nowiki>|clearance=[[Captain]], [[Head of Personnel]], [[Quartermaster]], [[Shaft Miner]], [[Chief Engineer]]</nowiki>
  <nowiki>|description=A semi-protected room, accessible from the south and east from [[Maintenance|maintenance]] and from the [[Hallways|main hallway]] in the north. Modeled to look like a bank, it is intended to stora money and other valuables. It's vault is a lot less protected than the [[Vault| main vault]] tho.</nowiki>
  <nowiki>|sec_level=Medium to high</nowiki>
  <nowiki>|style=Bank</nowiki>
  <nowiki>|balance=No major balance requirements</nowiki>
  <nowiki>|other=--</nowiki>
  <nowiki>}}</nowiki>


...yields:
== Examples ==
=== Bare 1 ===
{{Location}}
<pre>{{Location}}</pre>
{{Clear}}


{{Template:Location
=== Bare 2 ===
|headerbgcolor=darkblue
{{Location
|headerfontcolor=white
|headerbgcolor=
|imagebgcolor=lightblue
|headerfontcolor=
|department = General
|image=
|name=Mint and Mint Vault
|location=
|img=Mint.png
|description=
|exits=[[Hallway|Hallway]] north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east
|purpose=
|purpose=Production and storage of [[Coins|coins]]
|items=
|access=Mint for reception desks and loading area, Mint vault for vault
|workers=
|contents=Coin press, Some [[Coins|coins]]
|access=
|clearance=[[Captain]], [[Head of Personnel]], [[Quartermaster]], [[Shaft Miner]], [[Chief Engineer]]
|exits=
|description=A semi-protected room, accessible from the south and east from [[Maintenance|maintenance]] and from the [[Hallways|main hallway]] in the north. Modeled to look like a bank, it is intended to stora money and other valuables. It's vault is a lot less protected than the [[Vault| main vault]] tho.
|department=
|sec_level=Medium to high
|footerbgcolor=
|style=Bank
|footerfontcolor=
|balance=No major balance requirements
}}
|other=--
<pre>{{Location
}}
|headerbgcolor=
|headerfontcolor=
|image=
|location=
|description=
|purpose=
|items=
|workers=
|access=
|exits=
|department=
|footerbgcolor=
|footerfontcolor=
}}</pre>
{{Clear}}


No image defined:
=== 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
|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>


{{Template:Location
=== Another ===
  |headerbgcolor=darkblue
<pre>{{Location
  |headerfontcolor=white
  |headerbgcolor=#a885a2
  |imagebgcolor=lightblue
  |headerfontcolor = black
  |department=General
|image=RD_Lab.png
  |name=Mint and Mint Vault
  |location=Research and Development Lab
  |exits=[[Hallway|Hallway]] north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east
  |description=The toy manufacturing room.
  |purpose=Production and storage of [[Coins|coins]]
  |purpose=To research and develop.
  |access=Mint for reception desks and loading area, Mint vault for vault
  |items=[[Destructive Analyzer]], [[Protolathe]], [[R&D Console]] and a [[Circuit Imprinter]]
  |contents=Coin press, Some [[Coins|coins]]
  |workers=[[Scientist]], [[Research Director]]
  |clearance=[[Captain]], [[Head of Personnel]], [[Quartermaster]], [[Shaft Miner]], [[Chief Engineer]]
  |access=[[Scientist]], [[Roboticist]], [[Research Director]]
  |description=A semi-protected room, accessible from the south and east from [[Maintenance|maintenance]] and from the [[Hallways|main hallway]] in the north. Modeled to look like a bank, it is intended to stora money and other valuables. It's vault is a lot less protected than the [[Vault| main vault]] tho.
  |exits=[[Research Division]] south
  |sec_level=Medium to high
|department=Science
  |style=Bank
|footerbgcolor=#a885a2
  |balance=No major balance requirements
|footerfontcolor = black
  |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
  }}
  }}
[[Category:Templates]]</noinclude>
[[Category:Templates]]
</noinclude>
Wiki Staff
6,186

edits

Navigation menu