Difference between revisions of "Template:JobPageHeader"
Sirryan2002 (talk | contribs) m (replaced: |colour = B → |colour = B (10)) |
(Add a parameter for antag theft targets.) |
||
Line 9: | Line 9: | ||
<br>'''Access:''' {{{access|Not defined}}} | <br>'''Access:''' {{{access|Not defined}}} | ||
<br>'''Duties:''' {{{duties|Not defined}}} | <br>'''Duties:''' {{{duties|Not defined}}} | ||
{{#if:{{{theft_targets|}}}|<br>'''Theft Targets:''' {{{theft_targets}}}|}} | |||
</div></div></div> | </div></div></div> | ||
<noinclude> | <noinclude> | ||
Line 20: | Line 21: | ||
'''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, guides and duties''' are self-explanatory. | '''jobtitle, access, difficulty, guides 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 == |
Revision as of 14:50, 21 February 2022
[[File:{{{img}}}]]
Job
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.
theft_targets is an optional parameter for crewmembers (captaian, heads, etc) who start the round with items which may be antag theft targets
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