Template:JobPageHeader: Difference between revisions
m Added a Mini Navbar to the header |
m Slight color tweak to the mini navbar colors |
||
Line 3: | Line 3: | ||
{| | {| | ||
|- | |- | ||
|[[Main Page|<span style="border-radius: 0 0 .2em .2em; background: # | |[[Main Page|<span style="border-radius: 0 0 .2em .2em; background: #131414; padding: .77em .4em .3em .4em; font-size: 150%; color: #FFF;">{{#fas:home}}</span>]] | ||
|[[Rules|<span style="border-radius: 0 0 .2em .2em; background: # | |[[Rules|<span style="border-radius: 0 0 .2em .2em; background: #131414; padding: .77em .425em .3em .425em; font-size: 150%; color: #FFF;">{{#fas:gavel}}</span>]] | ||
|[[Jobs|<span style="border-radius: 0 0 .2em .2em; background: # | |[[Jobs|<span style="border-radius: 0 0 .2em .2em; background: #131414; padding: .77em .38em .3em .38em; font-size: 150%; color: #FFF;">{{#fas:address-card}}</span>]] | ||
|[[Guides|<span style="border-radius: 0 0 .2em .2em; background: # | |[[Guides|<span style="border-radius: 0 0 .2em .2em; background: #131414; padding: .77em .4em .3em .4em; font-size: 150%; color: #FFF;">{{#fas:info-circle}}</span>]] | ||
|[[Objects|<span style="border-radius: 0 0 .2em .2em; background: # | |[[Objects|<span style="border-radius: 0 0 .2em .2em; background: #131414; padding: .77em .4em .3em .4em; .38em; font-size: 150%; color: #FFF;">{{#fas:wrench}}</span>]] | ||
|- | |- | ||
|} | |} |
Revision as of 10:36, 16 July 2022
Job |
Superiors: 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.
bcolour is the color for the job title box.
bhcolour is the text color for the job title.
ebcolour is the background color for the section that holds the guides and other info.
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