Template:JobPageHeader: Difference between revisions

From Nova Sector 13
Jump to navigation Jump to search
No edit summary
Tag: 2017 source edit
(optional field is optional)
 
(One intermediate revision by one other user not shown)
Line 25: Line 25:
<center>[[File:{{{img}}}|64px]]<br>'''{{{jobtitle|Job}}}'''</center></div></div>
<center>[[File:{{{img}}}|64px]]<br>'''{{{jobtitle|Job}}}'''</center></div></div>
|<div style="border: .2em solid #{{{colour|444444}}}; border-radius: .5em; background: #FFF;">|<div style="padding: .3em; background: #{{{ebcolour|#444444}}}1e; margin:.25em; border-radius: .5em; line-height:1.2em;">
|<div style="border: .2em solid #{{{colour|444444}}}; border-radius: .5em; background: #FFF;">|<div style="padding: .3em; background: #{{{ebcolour|#444444}}}1e; margin:.25em; border-radius: .5em; line-height:1.2em;">
'''Superiors:''' {{{superior|Not defined}}}
'''Alternate Titles:''' {{{alttitles|Not defined}}}
<br>'''Superiors:''' {{{superior|Not defined}}}
<br>'''Difficulty:''' {{{difficulty|Not defined}}}
<br>'''Difficulty:''' {{{difficulty|Not defined}}}
<br>'''Guides:''' {{{guides|Not defined}}}
<br>'''Guides:''' {{{guides|Not defined}}}
Line 31: Line 32:
<br>'''Duties:''' {{{duties|Not defined}}}
<br>'''Duties:''' {{{duties|Not defined}}}
<br>'''Minimum requirements:''' {{{requirements|Not defined}}}
<br>'''Minimum requirements:''' {{{requirements|Not defined}}}
<br>'''Minimum Chronological Age:''' {{{Minimum Chronological Age|Not defined}}}
{{#if:{{{Minimum Chronological Age|}}}|<br>'''Minimum Chronological Age:''' {{{Minimum Chronological Age|Not defined}}}}}
</div></div>
</div></div>
|-
|-
Line 48: Line 49:
'''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, guides, requirements, and duties''' are self-explanatory.
'''jobtitle, access, difficulty, guides, requirements, and duties''' are self-explanatory.<br>
'''alttitles''' lists the various alternative titles for the job, if available.<br>


== Usage ==
== Usage ==

Latest revision as of 20:06, 13 March 2025

{{{stafftype}}}
[[File:{{{img}}}|64px]]
Job

Alternate Titles: Not defined
Superiors: Not defined
Difficulty: Not defined
Guides: Not defined
Access: Not defined
Duties: Not defined
Minimum requirements: 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, requirements, and duties are self-explanatory.
alttitles lists the various alternative titles for the job, if available.

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

COMMAND

Captain

Alternate Titles: Not defined
Superiors: Space Law and Nanotrasen Officials
Difficulty: Very hard
Guides: no separate guides
Access: All
Duties: Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before.
Minimum requirements: Not defined