Difference between revisions of "Template:JobPageHeader"

From Nuclear 14
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 5: Line 5:
| padding = 0
| padding = 0
| content = <div style="overflow: auto; align-items: stretch; display: flex;">
| content = <div style="overflow: auto; align-items: stretch; display: flex;">
<div style="background: #{{{colour|777777}}}4e; width: 11em; height:inherit; float:left; margin-right: .5em;"><center><br>[[File:{{{img}}}]]<br>'''{{{jobtitle|Job}}}'''</center></div>
<div style="background: #{{{colour|777777}}}4e; width: 11em; height:inherit; float:left; margin-right: .5em;"><center><br>[[File:{{{img}}}|64px]]<br>'''{{{jobtitle|Job}}}'''</center></div>
<div style="float:left; padding: 0 .1em 0">
<div style="float:left; padding: 0 .1em 0">
'''Superiors:''' {{{superior|Not defined}}}
'''Superiors:''' {{{superior|Not defined}}}
Line 15: Line 15:


<noinclude>
<noinclude>


This template is intended to be at the top of each of the jobs pages to provide a basic overview of each job.
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 ==


'''colour''' is the background color of the header. This will also set the image background colour automatically.<br>
'''colour''' is the background color of the header. This will also set the image background colour automatically.<br>
Line 31: Line 32:
|colour = 127BB7
|colour = 127BB7
|hcolour = white
|hcolour = white
|img = Generic_captain.png
|img = FPCaptain.png
|stafftype = COMMAND
|stafftype = COMMAND
|jobtitle = Captain
|jobtitle = Captain
|access = All
|access = All
|difficulty = Very hard
|difficulty = Very hard
|superior = Space Law and Nanotrasen Officials
|superior = Central Command
|duties = Command the station, wear fashioned regal blue clothing, get murked by a passenger.
|duties = Command the station, wear fashioned regal blue clothing, get murked by a passenger.
}}
}}

[[Category:JobTemplates]]
</noinclude>
</noinclude>

Latest revision as of 15:36, 25 August 2024

{{{stafftype}}}

[[File:{{{img}}}|64px]]
Job

Superiors: Not defined
Difficulty: Not defined
Access: Not defined
Duties: 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.


colour is the background color of the header. This will also set the image background colour automatically.
hcolour is the font colour for the header. It accepts plaintext colours only. stafftype is the word that is added before STAFF. So adding the word MAINTENANCE here yields MAINTENANCE STAFF. Intended to be in caps.
img Sets the file without the need for the [[File:]] command. The extension and size modifier must still be specified.
jobtitle, access, difficulty and duties are self-explanatory.

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


COMMAND

FPCaptain.png
Captain

Superiors: Central Command
Difficulty: Very hard
Access: All
Duties: Command the station, wear fashioned regal blue clothing, get murked by a passenger.