Difference between revisions of "Template:JobPageHeader"

From Aurora Information Uplink
Jump to navigation Jump to search
m (5 revisions)
 
 
(13 intermediate revisions by 6 users not shown)
Line 3: Line 3:
|bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{stafftype|UNDEFINED}}} STAFF'''</font>
|bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{stafftype|UNDEFINED}}} STAFF'''</font>
|-
|-
|width = 150 align=center bgcolor="{{{imagebgcolor|#cccccc}}}"|{{#if:{{{img_generic|}}}| [[File:{{{img_generic|{{{jobtitle}}}.png}}}]] | }} {{#if:{{{img|}}}| [[File:{{{img|{{{jobtitle}}}.png}}}]] | }} {{#if:{{{img|}}} | <br> | {{#if:{{{img_generic|}}} | <br> | }} }} '''{{{jobtitle|Job}}}'''
|width = 150 align=center bgcolor="{{{imagebgcolor|#cccccc}}}"| [[File:{{{img}}}|64x64px|{{{jobtitle}}}]] <br> '''{{{jobtitle|Job}}}'''
|'''Access:''' {{{access|Not defined}}}<br>'''Difficulty:''' {{{difficulty|Not defined}}}<br>'''Supervisors:''' {{{superior|Not defined}}}<br>'''Duties:''' {{{duties|Not defined}}}<br>'''Guides:''' {{{guides|Not defined}}}
|'''Access:''' {{{access|Not defined}}}<br>'''Qualifications:''' {{{qualifications|Not defined}}}<br>'''Employers:''' {{{employers|Not defined}}}<br>'''Supervisors:''' {{{superior|Not defined}}}<br>'''Duties:''' {{{duties|Not defined}}}<br>'''Guides:''' {{{guides|Not defined}}}
|}
|}
<noinclude></code>
<noinclude></code>
Line 15: Line 15:
'''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>
'''imagebgcolor''' is the background color of the space behind the image and the job title. this should be a light color as the job title is always black.<br>
'''imagebgcolor''' is the background color of the space behind the image and the job title. this should be a light color as the job title is always black.<br>
'''img''' is the in-action image file, without the "File:" or "Image:" prefix. (see examples below)
'''img''' is the in-action image file, without the "File:" or "Image:" prefix. (see examples below)<br>
'''img_generic''' is the generic image file, without the "File:" or "Image:" prefix. (see examples below)
'''qualifications''' represent [[NanoTrasen Occupation Qualifications]] for the job.<br>
'''jobtitle, access, difficulty, guides and duties''' are self-explanatory.
'''jobtitle, access, difficulty, guides and duties''' are self-explanatory.


== Usage ==
== 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
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.


No image defined:
No image defined:
Line 32: Line 32:
|access = All
|access = All
|difficulty = Very hard
|difficulty = Very hard
|qualifications = At least 35 years of age, 10 years experience with NanoTrasen, at least one department-related degree.
|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.
Line 37: Line 38:
}}
}}


Only in-action image defined:
Image defined:


{{JobPageHeader
{{JobPageHeader
Line 44: Line 45:
|stafftype = COMMAND
|stafftype = COMMAND
|imagebgcolor = lightblue
|imagebgcolor = lightblue
|img = Captain.png
|img = Generic_captain.png
|jobtitle = Captain
|access = All
|difficulty = Very hard
|superior = Space Law and Nanotrasen Officials
|duties = Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before.
|guides = no separate guides
}}
 
Only generic image defined:
 
{{JobPageHeader
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|img_generic = Generic_captain.png
|jobtitle = Captain
|access = All
|difficulty = Very hard
|superior = Space Law and Nanotrasen Officials
|duties = Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before.
|guides = no separate guides
}}
 
Both images defined:
 
{{JobPageHeader
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|img = Captain.png
|img_generic = Generic_captain.png
|jobtitle = Captain
|jobtitle = Captain
|access = All
|access = All
|difficulty = Very hard
|difficulty = Very hard
|qualifications = At least 35 years of age, 10 years experience with NanoTrasen, at least one department-related degree.
|employers = Filler test
|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.
Line 88: Line 58:
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>
[[Category:Pages]]

Latest revision as of 02:14, 1 April 2022

UNDEFINED STAFF
[[File:{{{img}}}|64x64px|{{{jobtitle}}}]]
Job
Access: Not defined
Qualifications: Not defined
Employers: Not defined
Supervisors: Not defined
Duties: Not defined
Guides: 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

headerbgcolor is the background color of the upper part which spans the entire width of the screen. This should be a dark color.
headerfontcolor is the font color of the same part as headerbgcolor
stafftype is the word that is added before STAFF. So adding the word MAINTENANCE here yields MAINTENANCE STAFF. Intended to be in caps.
imagebgcolor is the background color of the space behind the image and the job title. this should be a light color as the job title is always black.
img is the in-action image file, without the "File:" or "Image:" prefix. (see examples below)
qualifications represent NanoTrasen Occupation Qualifications for the job.
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.

No image defined:

COMMAND STAFF
[[File:{{{img}}}|64x64px|Captain]]
Captain
Access: All
Qualifications: At least 35 years of age, 10 years experience with NanoTrasen, at least one department-related degree.
Employers: Not defined
Supervisors: Space Law and Nanotrasen Officials
Duties: Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before.
Guides: no separate guides

Image defined:

COMMAND STAFF
Captain
Captain
Access: All
Qualifications: At least 35 years of age, 10 years experience with NanoTrasen, at least one department-related degree.
Employers: Filler test
Supervisors: Space Law and Nanotrasen Officials
Duties: Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before.
Guides: no separate guides