İçeriğe atla

Şablon:JobPageHeader: Revizyonlar arasındaki fark

Psychonaut Station Wiki sitesinden
Ertusama (mesaj | katkılar)
Değişiklik özeti yok
Ertusama (mesaj | katkılar)
Değişiklik özeti yok
1. satır: 1. satır:
{{JobHeader
<noinclude><code>
|headerbgcolor = lightgreen
</noinclude>{| width="100%" cellspacing="0" cellpadding="2" style="border: 2px solid black;"
|headerfontcolor = black
|-
|stafftype = SERVICE
| colspan="2" style="text-align: center; font-weight: bold; font-size: larger; padding: 4px; background-color: {{{headerbgcolor|#cccccc}}}; border-bottom: 2px solid black; color: white; -webkit-text-stroke: 1px black; text-stroke: 2px black;" | {{{stafftype|UNDEFINED}}} STAFF
|imagebgcolor = #eeeeff
|-
|img_generic = Generic_barman.png
| valign="top" style="width: 150px; background-color: {{{imagebgcolor|#cccccc}}}; text-align: center; border-right: 2px solid black;" |
|img = barman.png
  {{#if:{{{img_generic|}}}| [[File:{{{img_generic|{{{jobtitle}}}.png}}}|64px]] | }}
|jobtitle = Bartender
  {{#if:{{{img|}}}| [[File:{{{img|{{{jobtitle}}}.png}}}|64px]] | }}
|access = [[Bar]], [[Bar#Theatre|Theatre]], ORM, Weapon Permit
  <br>
|additional = [[Hydroponics]], [[Kitchen]], [[Morgue]]
  '''{{{jobtitle|Job}}}'''
|difficulty = Easy
| valign="top" style="width: 150px; text-align: center; border-right: 2px solid black;" |
|superior = [[Head of Personnel]]
  {| cellspacing="0" cellpadding="2" style="width: 100%; border-collapse: collapse;"
|duties = Serve booze to everyone! Mix drinks
  |-
|guides = [[Guide to drinks]], [[Chemical recipes#Drinks|Drink recipes]]
  ! style="border: 2px solid black; padding: 4px; width: 150px; text-align: center;" | Access
|quote = Put. The monkey. Down.
  | style="border: 1px solid #ccc; padding: 4px;" | {{{access|Not defined}}}
  |-
  ! style="border: 2px solid black; padding: 4px; width: 150px; text-align: center;" | Difficulty
  | style="border: 1px solid #ccc; padding: 4px;" | {{{difficulty|Not defined}}}
  |-
  ! style="border: 2px solid black; padding: 4px; width: 150px; text-align: center;" | Supervisors
  | style="border: 1px solid #ccc; padding: 4px;" | {{{superior|Not defined}}}
  |-
  ! style="border: 2px solid black; padding: 4px; width: 150px; text-align: center;" | Duties
  | style="border: 1px solid #ccc; padding: 4px;" | {{{duties|Not defined}}}
  |-
  ! style="border: 2px solid black; padding: 4px; width: 150px; text-align: center;" | Guides
  | style="border: 1px solid #ccc; padding: 4px;" | {{{guides|Not defined}}}
  |-
  |}
|}
 
<noinclude></code>
This template is intended to be at the top of each of the jobs pages to provide a basic overview of each job.
 
== Meaning of parameters ==
 
'''headerbgcolor''' is the background color of the upper part which spans the entire width of the screen. This should be a dark color.<br>
'''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. '''quote''' will only show if the parameter is specified
 
== Usage ==
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
 
No image defined:
 
{{JobPageHeader
|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.
}}
}}
Only in-action image defined:
{{JobPageHeader
|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
}}
Only generic image defined:
{{JobPageHeader
|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
}}
Both images defined:
{{JobPageHeader
|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
}}
[[Kategori:Şablonlar]]
</noinclude>

01.29, 3 Şubat 2026 tarihindeki hâli

UNDEFINED STAFF


 
Job
Access Not defined
Difficulty Not defined
Supervisors Not defined
Duties Not defined
Guides Not defined

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

Meaning of parameters

headerbgcolor is the background color of the upper part which spans the entire width of the screen. This should be a dark color.
headerfontcolor is the font color of the same part as headerbgcolor
stafftype is the word that is added before STAFF. So adding the word MAINTENANCE here yields MAINTENANCE STAFF. Intended to be in caps.
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.
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. quote will only show if the parameter is specified

Usage

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

No image defined:

COMMAND STAFF


 
Captain
Access All
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 in-action image defined:

COMMAND STAFF
 
 
Captain
Access All
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:

COMMAND STAFF
 
 
 
Captain
Access All
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:

COMMAND STAFF
 
 
 
Captain
Access All
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