User talk:Quacks: Difference between revisions
m →Testing: More testing |
m Test |
||
Line 3: | Line 3: | ||
<div style="padding: .15em 0 .15em; overflow: auto; align-items: stretch; display: flex;"> | <div style="padding: .15em 0 .15em; overflow: auto; align-items: stretch; display: flex;"> | ||
<div style="background: {{{colour|#444444}}}1e; border-radius: .2em;; padding: .4em .4em .4em; font-size: 1.2em; line-height:1.2em; width: 10%"><center>[[File:{{{img}}}|64px|class=pixelart]]<br> | <div style="background: {{{colour|#444444}}}1e; border-radius: .2em;; padding: .4em .4em .4em; font-size: 1.2em; line-height:1.2em; width: 10%"><center>[[File:{{{img}}}|64px|class=pixelart]]<br> | ||
<div style="background: {{{dcolour|#444444}}}; border-radius: .2em; color: {{{dhcolour}}}; padding: .4em .4em .4em; line-height:1.2em;"><center><span style="font-weight: bold;">{{{jobtitle|Job}}}</span></center></center></div> | <div style="background: {{{dcolour|#444444}}}; border-radius: .2em; color: {{{dhcolour}}}; padding: .4em .4em .4em; line-height:1.2em;"><center><span style="font-weight: bold;">{{{jobtitle|Job}}}</span></center></div></center></div> | ||
<div style="background: {{{ddcolour|#444444}}}1e; border-radius: .2em;; padding: .4em .4em .4em; line-height:1.2em; width:90%; float: right; margin:.15em;"><div style="float:left; padding: 0 .1em 0"> | <div style="background: {{{ddcolour|#444444}}}1e; border-radius: .2em;; padding: .4em .4em .4em; line-height:1.2em; width:90%; float: right; margin:.15em;"><div style="float:left; padding: 0 .1em 0"> | ||
'''Superiors:''' {{{superior|Not defined}}} | '''Superiors:''' {{{superior|Not defined}}} |
Revision as of 22:45, 12 December 2021
Superiors: 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