Template:JobPageHeader: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
imported>Delicious
No edit summary
 
(22 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<noinclude><code>
<includeonly>{|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>
|-
|-
|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}}}'''
|width = 150 align=center bgcolor="{{{imagebgcolor|#cccccc}}}"|{{#if:{{{img_generic|}}}| [[File:{{{img_generic|{{{jobtitle}}}.png}}}|64px]] | }} {{#if:{{{img|}}}| [[File:{{{img|{{{jobtitle}}}.png}}}|64px]] | }} {{#if:{{{img|}}} | <br> | {{#if:{{{img_generic|}}} | <br> | }} }} '''{{{jobtitle|Job}}}'''
|bgcolor="{{{imagebgcolor|#bbbbbb}}}"| '''General'''
|{{#if: {{{titles|}}} | '''Alternative Titles:''' {{{titles|Not defined}}}<br> }}'''Access:''' {{{access|Not defined}}}<br>'''[[Terminology#Additional_Access | Additional Access]]:''' {{{additional|Not defined}}}<br>'''Difficulty:''' {{{difficulty|Not defined}}}<br>'''Supervisors:''' {{{superior|Not defined}}} {{#if: {{{subordinates|}}} | <br>'''Subordinates:''' {{{subordinates}}} }}<br>'''Duties:''' {{{duties|Not defined}}}<br>'''Guides:''' {{{guides|Not defined}}} {{#if: {{{age|}}} | <br>'''Minimum Age:''' {{{age}}}}} {{#if: {{{quote|}}} | <br>'''Quote:''' ''{{{quote}}}''}}
|}</includeonly><noinclude>
== About ==
This template is intended to be at the top of each of the [[Jobs|jobs pages]] like the [[Station Engineer]] to provide a basic overview of each job.
 
== Parameter-Usage ==
{| class="wikitable"
!Parameter
!Default
!Description
|-
!headerbgcolor
|#bbbbbb
|Background-color of the upper part which spans the entire width of the screen. This should be a dark color.
|-
!headerfontcolor
|#000000
|Font-color of the same part as headerbgcolor.
|-
|-
|'''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>
!stafftype
|UNDEFINED
|Word that is added before STAFF. So adding the word MAINTENANCE here yields MAINTENANCE STAFF. Intended to be in caps.
|-
|-
|bgcolor="{{{imagebgcolor|#bbbbbb}}}"| '''Description'''
!imagebgcolor
|#cccccc
|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.
|-
|-
|"{{{description|Description not available.}}}"
!img
|
|In-action image file, without the "File:" or "Image:" prefix.
|-
|-
|bgcolor="{{{imagebgcolor|#bbbbbb}}}"| '''[[Guide to mapping|Mapping notes]]'''
!img_generic
|
|Generic image file, without the "File:" or "Image:" prefix.
|-
|-
| '''Security level: '''{{{sec_level|Not defined}}}<br> '''Style: ''' {{{style|Not defined}}}<br> '''Balance Requirements: ''' {{{balance|No major balance requirements}}}<br> '''Other: ''' {{{other|--}}}
!jobtitle
|}<noinclude></code>
|Job
This template is intended to be at the top of each of the location pages to provide a basic overview of each location.
|Official name of the role/job
== How to use ==
|-
!access
|Not defined
|Access of the role
|-
!additional
|Not defined
|Additional access granted to the role
|-
!difficulty
|Not defined
|Short comment on average difficulty to be excepted
|-
!guides
|Not defined
|List of links to relevant guides
|-
!duties
|Not defined
|A short list of the most important things to do
|-
!age
|
|(Optional), Displays minimum character age
|-
!quote
|
|(Optional), shows a quote when specified
|}


  <nowiki>{{Location</nowiki>
== Examples ==
  <nowiki>|headerbgcolor=darkblue</nowiki>
=== Bare ===
  <nowiki>|headerfontcolor=white</nowiki>
<pre>{{JobPageHeader}}</pre>
  <nowiki>|imagebgcolor=lightblue</nowiki>
{{JobPageHeader}}
  <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>


...yields:
=== No image defined ===
<pre>{{JobPageHeader
|titles = Station Commander, Facility Overseer
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|jobtitle = Captain
|access = All
|additional = N/A
|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
|quote = Look at me, I am the captain now.
|age=100
}}</pre>
{{JobPageHeader
|titles = Station Commander, Facility Overseer
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|jobtitle = Captain
|access = All
|additional = N/A
|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
|quote = Look at me, I am the captain now.
|age=100
}}


{{Location
=== Only in-action image defined ===
|headerbgcolor=darkblue
<pre>{{JobPageHeader
|headerfontcolor=white
|titles = Station Commander, Facility Overseer
|imagebgcolor=lightblue
|headerbgcolor = darkblue
|name=Mint and Mint Vault
|headerfontcolor = white
|image=Mint.png
|stafftype = COMMAND
|department=General
|imagebgcolor = lightblue
|exits=[[Hallway|Hallway]] north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east
|img = Captain_action.png
|purpose=Production and storage of [[Coins|coins]]
|jobtitle = Captain
|access=Mint for reception desks and loading area, Mint vault for vault
|access = All
|contents=Coin press, Some [[Coins|coins]]
|additional = N/A
|clearance=[[Captain]], [[Head of Personnel]], [[Quartermaster]], [[Shaft Miner]], [[Chief Engineer]]
|difficulty = Very hard
|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.
|superior = Space Law and Nanotrasen Officials
|sec_level=Medium to high
|duties = Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before.
|style=Bank
|guides = no separate guides
|balance=No major balance requirements
}}</pre>
|other=--
{{JobPageHeader
|titles = Station Commander, Facility Overseer
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|img = Captain_action.png
|jobtitle = Captain
|access = All
|additional = N/A
|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
}}
}}


No image defined:
=== Only generic image defined ===
<pre>{{JobPageHeader
|titles = Station Commander, Facility Overseer
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|img_generic = Generic_captain.png
|jobtitle = Captain
|access = All
|additional = N/A
|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
}}</pre>
{{JobPageHeader
|titles = Station Commander, Facility Overseer
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|img_generic = Generic_captain.png
|jobtitle = Captain
|access = All
|additional = N/A
|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
}}


{{Location
=== Both images defined ===
|headerbgcolor=darkblue
<pre>{{JobPageHeader
|headerfontcolor=white
|titles = Station Commander, Facility Overseer
|imagebgcolor=lightblue
|headerbgcolor = darkblue
|name=Mint and Mint Vault
|headerfontcolor = white
|department=General
|stafftype = COMMAND
|exits=[[Hallway|Hallway]] north, [[Maintenance|maintenance]] south, [[Maintenance|maintenance]] east
|imagebgcolor = lightblue
|purpose=Production and storage of [[Coins|coins]]
|img = Captain_action.png
|access=Mint for reception desks and loading area, Mint vault for vault
|img_generic = Generic_captain.png
|contents=Coin press, Some [[Coins|coins]]
|jobtitle = Captain
|clearance=[[Captain]], [[Head of Personnel]], [[Quartermaster]], [[Shaft Miner]], [[Chief Engineer]]
|access = All
|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.
|additional = N/A
|sec_level=Medium to high
|difficulty = Very hard
|style=Bank
|superior = Space Law and Nanotrasen Officials
|balance=No major balance requirements
|duties = Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before.
|other=--
|guides = no separate guides
}}</pre>
{{JobPageHeader
|titles = Station Commander, Facility Overseer
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|img = Captain_action.png
|img_generic = Generic_captain.png
|jobtitle = Captain
|access = All
|additional = N/A
|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>

Latest revision as of 18:20, 19 July 2022

About

This template is intended to be at the top of each of the jobs pages like the Station Engineer to provide a basic overview of each job.

Parameter-Usage

Parameter Default Description
headerbgcolor #bbbbbb Background-color of the upper part which spans the entire width of the screen. This should be a dark color.
headerfontcolor #000000 Font-color of the same part as headerbgcolor.
stafftype UNDEFINED Word that is added before STAFF. So adding the word MAINTENANCE here yields MAINTENANCE STAFF. Intended to be in caps.
imagebgcolor #cccccc 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.
img In-action image file, without the "File:" or "Image:" prefix.
img_generic Generic image file, without the "File:" or "Image:" prefix.
jobtitle Job Official name of the role/job
access Not defined Access of the role
additional Not defined Additional access granted to the role
difficulty Not defined Short comment on average difficulty to be excepted
guides Not defined List of links to relevant guides
duties Not defined A short list of the most important things to do
age (Optional), Displays minimum character age
quote (Optional), shows a quote when specified

Examples

Bare

{{JobPageHeader}}
UNDEFINED STAFF
Job Access: Not defined
Additional Access: Not defined
Difficulty: Not defined
Supervisors: Not defined
Duties: Not defined
Guides: Not defined

No image defined

{{JobPageHeader
|titles = Station Commander, Facility Overseer
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|jobtitle = Captain
|access = All
|additional = N/A
|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
|quote = Look at me, I am the captain now.
|age=100
}}
COMMAND STAFF
Captain Alternative Titles: Station Commander, Facility Overseer
Access: All
Additional Access: N/A
Difficulty: Very hard
Supervisors: 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
Minimum Age: 100
Quote: Look at me, I am the captain now.

Only in-action image defined

{{JobPageHeader
|titles = Station Commander, Facility Overseer
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|img = Captain_action.png
|jobtitle = Captain
|access = All
|additional = N/A
|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
}}
COMMAND STAFF
Captain action.png
Captain
Alternative Titles: Station Commander, Facility Overseer
Access: All
Additional Access: N/A
Difficulty: Very hard
Supervisors: 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
|titles = Station Commander, Facility Overseer
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|img_generic = Generic_captain.png
|jobtitle = Captain
|access = All
|additional = N/A
|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
}}
COMMAND STAFF
Generic captain.png
Captain
Alternative Titles: Station Commander, Facility Overseer
Access: All
Additional Access: N/A
Difficulty: Very hard
Supervisors: 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
|titles = Station Commander, Facility Overseer
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|img = Captain_action.png
|img_generic = Generic_captain.png
|jobtitle = Captain
|access = All
|additional = N/A
|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
}}
COMMAND STAFF
Generic captain.png Captain action.png
Captain
Alternative Titles: Station Commander, Facility Overseer
Access: All
Additional Access: N/A
Difficulty: Very hard
Supervisors: 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