Difference between revisions of "Template:JobPageHeader"
(11 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 23: | Line 24: | ||
'''stafftype''' is the word that is added before STAFF. So adding the word MAINTENANCE here yields MAINTENANCE STAFF. Intended to be in caps.<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> |
||
'''img''' Sets the file without the need for the <nowiki>[[File:]]</nowiki> command. The extension and size modifier must still be specified.<br> |
'''img''' Sets the file without the need for the <nowiki>[[File:]]</nowiki> command. The extension and size modifier must still be specified.<br> |
||
'''jobtitle, access, difficulty |
'''jobtitle, access, difficulty and duties''' are self-explanatory. |
||
'''theft_targets''' is an optional parameter for crewmembers (captaian, heads, etc) who start the round with items which may be antag theft targets |
|||
== Usage == |
== Usage == |
||
Line 32: | Line 32: | ||
|colour = 127BB7 |
|colour = 127BB7 |
||
|hcolour = white |
|hcolour = white |
||
|img = |
|img = FPCaptain.png |
||
|stafftype = COMMAND |
|stafftype = COMMAND |
||
|jobtitle = Captain |
|jobtitle = Captain |
||
|access = All |
|access = All |
||
|difficulty = Very hard |
|difficulty = Very hard |
||
|superior = |
|superior = Central Command |
||
|duties = Command the |
|duties = Command the station, wear fashioned regal blue clothing, get murked by a passenger. |
||
|guides = no separate guides |
|||
}} |
}} |
||
[[Category:JobTemplates]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 15:36, 25 August 2024
[[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