Difference between revisions of "Template:JobPageHeader"
Shadeykins (talk | contribs) |
Shadeykins (talk | contribs) |
||
Line 2: | Line 2: | ||
<div style="background: #{{{colour|444444}}}; border-radius: .2em; color: {{{hcolour}}}; padding: .4em .8em .5em;"><center>'''{{{stafftype}}}'''</center></div> | <div style="background: #{{{colour|444444}}}; border-radius: .2em; color: {{{hcolour}}}; padding: .4em .8em .5em;"><center>'''{{{stafftype}}}'''</center></div> | ||
<div style="padding: .1em 0 .1em; overflow: auto"> | <div style="padding: .1em 0 .1em; overflow: auto"> | ||
<div style="background: #{{{colour|777777}}}4e; width: 11em; height: | <div style="background: #{{{colour|777777}}}4e; width: 11em; min-height: 9em; height: 100%; float:left;"><center><br>[[File:{{{img}}}]]<br>'''{{{jobtitle|Job}}}'''</center></div> | ||
<div style="height: 9em; float:left; padding: 0 .1em 0"> | <div style="height: 9em; float:left; padding: 0 .1em 0"> | ||
'''Supervisors:''' {{{supervisors|Not defined}}} | '''Supervisors:''' {{{supervisors|Not defined}}} |
Revision as of 22:32, 20 December 2018
[[File:{{{img}}}]]
Job
Supervisors: Not defined
Difficulty: Not defined
Guides: 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.
Meaning of parameters
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, guides 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