Template:JobPageHeader: Difference between revisions
GreytideSkye (talk | contribs) (optional field is optional) |
GreytideSkye (talk | contribs) (New field, lore. Optional, as is Minimum Chronological Age) |
||
Line 28: | Line 28: | ||
<br>'''Superiors:''' {{{superior|Not defined}}} | <br>'''Superiors:''' {{{superior|Not defined}}} | ||
<br>'''Difficulty:''' {{{difficulty|Not defined}}} | <br>'''Difficulty:''' {{{difficulty|Not defined}}} | ||
<br>'''Guides:''' {{{guides| | <br>'''Guides:''' {{{guides|N/A}}} | ||
<br>'''Access:''' {{{access|Not defined}}} | <br>'''Access:''' {{{access|Not defined}}} | ||
<br>'''Duties:''' {{{duties|Not defined}}} | <br>'''Duties:''' {{{duties|Not defined}}} | ||
<br>'''Minimum requirements:''' {{{requirements|Not defined}}} | <br>'''Minimum requirements:''' {{{requirements|Not defined}}}<noinclude><!-- Gotta do this so that the line break isn't included in the table size but it ambiguously doesn't work --> | ||
{{#if:{{{Minimum Chronological Age|}}}|<br>'''Minimum Chronological Age:''' {{{Minimum Chronological Age| | </noinclude>{{#if:{{{lore|}}}|<br>'''Related Lore:''' {{{lore|ERROR}}}}}<noinclude> | ||
</noinclude>{{#if:{{{Minimum Chronological Age|}}}|<br>'''Minimum Chronological Age:''' {{{Minimum Chronological Age|ERROR}}}}}<noinclude> | |||
</noinclude> | |||
</div></div> | </div></div> | ||
|- | |- | ||
Line 51: | Line 53: | ||
'''jobtitle, access, difficulty, guides, requirements, and duties''' are self-explanatory.<br> | '''jobtitle, access, difficulty, guides, requirements, and duties''' are self-explanatory.<br> | ||
'''alttitles''' lists the various alternative titles for the job, if available.<br> | '''alttitles''' lists the various alternative titles for the job, if available.<br> | ||
'''lore''' lists the various pages and articles where there's directly relevant lore. Direct as in, '''specific to that job''', lest every single Job page have [[Lore:Nanotrasen]] on it because you work for NT.<br> | |||
== Usage == | == Usage == | ||
Line 68: | Line 71: | ||
|superior = Space Law and Nanotrasen Officials | |superior = Space Law and Nanotrasen Officials | ||
|duties = Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before. | |duties = Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before. | ||
|guides = | |lore = [[Lore:Death|What you should do]] | ||
|guides = git gud or git ded | |||
}} | |||
{{JobPageHeader | |||
|colour = 265473 | |||
|hcolour = #FFB300 | |||
|bcolour = 265473 | |||
|bhcolour = #FFB300 | |||
|ebcolour = 265473 | |||
|img = Generic_captain.png|16px | |||
}} | }} | ||
[[Category:Templates]][[Category:Misc Styling Templates]] | [[Category:Templates]][[Category:Misc Styling Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 19:53, 25 March 2025
Job |
Alternate Titles: 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.
lore lists the various pages and articles where there's directly relevant lore. Direct as in, specific to that job, lest every single Job page have Lore:Nanotrasen on it because you work for NT.
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
Alternate Titles: Not defined
|