Template:JobPageHeader: Difference between revisions

From BeeStation Wiki
Jump to navigation Jump to search
imported>Delicious
(Undo revision 597 by Delicious (talk))
imported>Delicious
No edit summary
Line 1: Line 1:
<noinclude><code>
<noinclude><code>
</noinclude>{|width="100%" cellspacing="0" cellpadding="2"
</noinclude>{|width=800 cellpadding=2 cellspacing=0
|bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{stafftype|UNDEFINED}}} STAFF'''</font>
|bgcolor="{{{headerbgcolor|#aaaaaa}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{department|UNDEFINED}}} LOCATION'''</font>
|-
|-
|width = 150 align=center bgcolor="{{{imagebgcolor|#cccccc}}}"|{{#if:{{{img_generic|}}}| [[File:{{{img_generic|{{{jobtitle}}}.png}}}|50px]] | }} {{#if:{{{img|}}}| [[File:{{{img|{{{jobtitle}}}.png}}}|50px]] | }} {{#if:{{{img|}}} | <br> | {{#if:{{{img_generic|}}} | <br> | }} }} '''{{{jobtitle|Job}}}'''
|align=center bgcolor="{{{imagebgcolor|#bbbbbb}}}" width="250" rowspan=6|{{#if:{{{img_generic|}}}| [[File:{{{img_generic|{{{loctitle}}}.png}}}|50px]] | }} {{#if:{{{img|}}}| [[File:{{{img|{{{loctitle}}}.png}}}|50px]] | }} {{#if:{{{img|}}} | <br> | {{#if:{{{img_generic|}}} | <br> | }} }} '''{{{loctitle|Location}}}'''
|'''Access:''' {{{access|Not defined}}}<br>'''Difficulty:''' {{{difficulty|Not defined}}}<br>'''Supervisors:''' {{{superior|Not defined}}}<br>'''Duties:''' {{{duties|Not defined}}}<br>'''Guides:''' {{{guides|Not defined}}}
|bgcolor="{{{imagebgcolor|#bbbbbb}}}"| '''General'''
|}
|-
<noinclude></code>
|'''Department:''' {{{department|Not defined}}}<br>'''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>
This template is intended to be at the top of each of the jobs pages to provide a basic overview of each job.
|-
|bgcolor="{{{imagebgcolor|#bbbbbb}}}"| '''Description'''
|-
|"{{{description|Description not available.}}}"
|-
|bgcolor="{{{imagebgcolor|#bbbbbb}}}"| '''[[Guide to mapping|Mapping notes]]'''
|-
| '''Security level: '''{{{sec_level|Not defined}}}<br> '''Style: ''' {{{style|Not defined}}}<br> '''Balance Requirements: ''' {{{balance|No major balance requirements}}}<br> '''Other: ''' {{{other|--}}}
|}<noinclude></code>
This template is intended to be at the top of each of the location pages to provide a basic overview of each location.
== How to use ==


== Meaning of parameters ==
  <nowiki>{{Location</nowiki>
  <nowiki>|headerbgcolor=darkblue</nowiki>
  <nowiki>|headerfontcolor=white</nowiki>
  <nowiki>|imagebgcolor=lightblue</nowiki>
  <nowiki>|name=Mint and Mint Vault</nowiki>
  <nowiki>|image=Mint.png</nowiki>
  <nowiki>|department=General</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>


'''headerbgcolor''' is the background color of the upper part which spans the entire width of the screen. This should be a dark color.<br>
...yields:
'''headerfontcolor''' is the font color of the same part as headerbgcolor<br>
'''stafftype''' is the word that is added before STAFF. So adding the word MAINTENANCE here yields MAINTENANCE STAFF. Intended to be in caps.<br>
'''imagebgcolor''' is the background color of the space behind the image and the job title. this should be a light color as the job title is always black.<br>
'''img''' is the in-action image file, without the "File:" or "Image:" prefix. (see examples below)
'''img_generic''' is the generic image file, without the "File:" or "Image:" prefix. (see examples below)
'''jobtitle, access, difficulty, guides and duties''' are self-explanatory.


== Usage ==
{{Location
Example of the finished product. Check the source code for the code that generated the thing below. Please document any changes you make to the template code in the parameters and usage sections
|headerbgcolor=darkblue
|headerfontcolor=white
|imagebgcolor=lightblue
|name=Mint and Mint Vault
|image=Mint.png
|department=General
|exits=[[Hallway|Hallway]] north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east
|purpose=Production and storage of [[Coins|coins]]
|access=Mint for reception desks and loading area, Mint vault for vault
|contents=Coin press, Some [[Coins|coins]]
|clearance=[[Captain]], [[Head of Personnel]], [[Quartermaster]], [[Shaft Miner]], [[Chief Engineer]]
|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 store money and other valuables. It's vault is a lot less protected than the [[Vault| main vault]] tho.
|sec_level=Medium to high
|style=Bank
|balance=No major balance requirements
|other=--
}}


No image defined:
No image defined:


{{JobPageHeader
{{Location
|headerbgcolor = darkblue
|headerbgcolor=darkblue
|headerfontcolor = white
|headerfontcolor=white
|stafftype = COMMAND
|imagebgcolor=lightblue
|imagebgcolor = lightblue
|name=Mint and Mint Vault
|jobtitle = Captain
|department=General
|access = All
|exits=[[Hallway|Hallway]] north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east
|difficulty = Very hard
|purpose=Production and storage of [[Coins|coins]]
|superior = Space Law and Nanotrasen Officials
|access=Mint for reception desks and loading area, Mint vault for vault
|duties = Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before.
|contents=Coin press, Some [[Coins|coins]]
|guides = no separate guides
|clearance=[[Captain]], [[Head of Personnel]], [[Quartermaster]], [[Shaft Miner]], [[Chief Engineer]]
}}
|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 store money and other valuables. It's vault is a lot less protected than the [[Vault| main vault]] tho.
 
|sec_level=Medium to high
Only in-action image defined:
|style=Bank
 
|balance=No major balance requirements
{{JobPageHeader
|other=--
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|img = Captain.png
|jobtitle = Captain
|access = All
|difficulty = Very hard
|superior = Space Law and Nanotrasen Officials
|duties = Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before.
|guides = no separate guides
}}
 
Only generic image defined:
 
{{JobPageHeader
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|img_generic = Generic_captain.png
|jobtitle = Captain
|access = All
|difficulty = Very hard
|superior = Space Law and Nanotrasen Officials
|duties = Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before.
|guides = no separate guides
}}
 
Both images defined:
 
{{JobPageHeader
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|img = Captain.png
|img_generic = Generic_captain.png
|jobtitle = Captain
|access = All
|difficulty = Very hard
|superior = Space Law and Nanotrasen Officials
|duties = Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before.
|guides = no separate guides
}}
}}
 
[[Category:Templates]]</noinclude>
[[Category:Templates]]
</noinclude>

Revision as of 07:03, 16 July 2013

UNDEFINED LOCATION
Location General
Department: Not defined
Obvious exits: Not defined
Purpose: Not defined
Access level: Not defined
Noteworthy contents: Not defined
Clearance: Not defined
Description
"Description not available."
Mapping notes
Security level: Not defined
Style: Not defined
Balance Requirements: No major balance requirements
Other: --

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

How to use

 {{Location
 |headerbgcolor=darkblue
 |headerfontcolor=white
 |imagebgcolor=lightblue
 |name=Mint and Mint Vault
 |image=Mint.png
 |department=General
 |exits=[[Hallway|Hallway]] north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east
 |purpose=Production and storage of [[Coins|coins]]
 |access=Mint for reception desks and loading area, Mint vault for vault
 |contents=Coin press, Some [[Coins|coins]]
 |clearance=[[Captain]], [[Head of Personnel]], [[Quartermaster]], [[Shaft Miner]], [[Chief Engineer]]
 |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.
 |sec_level=Medium to high
 |style=Bank
 |balance=No major balance requirements
 |other=--
 }}

...yields:


General Area
File:Mint.png
Mint and Mint Vault
A semi-protected room, accessible from the south and east from maintenance and from the main hallway in the north. Modeled to look like a bank, it is intended to store money and other valuables. It's vault is a lot less protected than the main vault tho.
Obvious exits Hallway north, maintenance south, maintenance east
Purpose Production and storage of coins
Access level Mint for reception desks and loading area, Mint vault for vault
Noteworthy contents Coin press, Some coins
Clearance Captain, Head of Personnel, Quartermaster, Shaft Miner, Chief Engineer
Security level Medium to high
Style Bank
Balance Requirements No major balance requirements
Other Notes
Locations on beestation



No image defined:


General Area
link=File:{{{image}}}
link=File:{{{image}}}
Mint and Mint Vault
A semi-protected room, accessible from the south and east from maintenance and from the main hallway in the north. Modeled to look like a bank, it is intended to store money and other valuables. It's vault is a lot less protected than the main vault tho.
Obvious exits Hallway north, maintenance south, maintenance east
Purpose Production and storage of coins
Access level Mint for reception desks and loading area, Mint vault for vault
Noteworthy contents Coin press, Some coins
Clearance Captain, Head of Personnel, Quartermaster, Shaft Miner, Chief Engineer
Security level Medium to high
Style Bank
Balance Requirements No major balance requirements
Other Notes
Locations on beestation