Template:JobPageHeader: Difference between revisions
More actions
No edit summary |
Adds a section for trainee ranks. |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{|style="width:100%; cellspacing:0; cellpadding:2;" | |||
|colspan=2 style="background-color:rgba({{{headerbgcolor|187, 187, 187}}}); text-align:center; color:{{{headerfontcolor|white}}}; border-radius: 10px 10px 0 0;" |'''{{{stafftype|UNDEFINED}}} STAFF''' | |||
| | |||
|- | |- | ||
|width | |style="width:150px; text-align:center; background-color:rgba({{{headerbgcolor|187, 187, 187}}},0.25); border-radius: 0 0 0 10px;" |[[File:{{{img}}}|{{{jobtitle}}}]] <br> '''{{{jobtitle|Job}}}''' | ||
|'''Difficulty:''' {{{difficulty|Not defined}}}<br>'''Supervisor:''' {{{superior|Not defined}}}<br>'''Branches:''' {{{branches|Not defined}}}<br>'''Ranks:''' {{#if: {{{ecranks|}}} | '''<br> - EC:''' {{{ecranks|}}} | }} {{#if: {{{fleetranks|}}} | '''<br> - Fleet:''' {{{fleetranks|}}} | }} {{#if: {{{govranks|}}} | '''<br> - Government:''' {{{govranks|}}} | }} {{#if: {{{civranks|}}} | '''<br> - Civilian:''' {{{civranks|}}} | }} {{#if: {{{ecranks|}}}| | {{#if: {{{fleetranks|}}}| | {{#if: {{{govranks|}}}| | {{#if: {{{civranks|}}} | | N/A}} }} }} }} <br>{{#if: {{{alttitles|}}} | '''Alternate Titles:''' {{{alttitles|}}} <br> | }} '''Duties:''' {{{duties|Not defined}}}<br>'''Related Guides:''' {{{guides|Not defined}}} | |'''Difficulty:''' {{{difficulty|Not defined}}}<br>'''Supervisor:''' {{{superior|Not defined}}}<br>'''Branches:''' {{{branches|Not defined}}}<br>'''Ranks:''' {{#if: {{{ecranks|}}} | '''<br> - EC:''' {{{ecranks|}}} | }} {{#if: {{{fleetranks|}}} | '''<br> - Fleet:''' {{{fleetranks|}}} | }} {{#if: {{{govranks|}}} | '''<br> - Government:''' {{{govranks|}}} | }} {{#if: {{{civranks|}}} | '''<br> - Civilian:''' {{{civranks|}}} | }} {{#if: {{{ecranks|}}}| | {{#if: {{{fleetranks|}}}| | {{#if: {{{govranks|}}}| | {{#if: {{{civranks|}}} | | N/A}} }} }} }} <br>{{#if: {{{traineeranks|}}} | '''Ranks (Trainee):''' {{{traineeranks|}}} <br> | }} {{#if: {{{alttitles|}}} | '''Alternate Titles:''' {{{alttitles|}}} <br> | }} '''Duties:''' {{{duties|Not defined}}}<br>'''Related Guides:''' {{{guides|Not defined}}} | ||
|} | |} | ||
<noinclude | <noinclude> | ||
This template is intended to be at the top of each of the jobs pages to provide a basic overview of each job. | This template is intended to be at the top of each of the jobs pages to provide a basic overview of each job. | ||
Line 12: | Line 11: | ||
== Meaning of parameters == | == 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.<br> | '''headerbgcolor''' is the background color of the upper part which spans the entire width of the screen. This should be a dark, ideally high-saturation color. The same color is used at 25% opacity for the image background.<br> | ||
'''headerfontcolor''' is the font color of the same part as headerbgcolor<br> | '''headerfontcolor''' is the font color of the same part as headerbgcolor<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> | '''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''' is the in-action image file, without the "File:" or "Image:" prefix. (see examples below)<br> | '''img''' is the in-action image file, without the "File:" or "Image:" prefix. (see examples below)<br> | ||
'''alttitles''' represent the alternate names that the job can use, if any. <br> | '''alttitles''' represent the alternate names that the job can use, if any. <br> | ||
'''branches''' represent the branches the position is eligible, usually Expeditionary Corps, Fleet, or Civilian.<br> | '''branches''' represent the branches the position is eligible, usually Expeditionary Corps, Fleet, or Civilian.<br> | ||
'''ecranks''', '''fleetranks''', '''govranks''', and '''civranks''' represent the ranks position can hold, by branch. Returns N/A if no ranks are entered.<br> | '''ecranks''', '''fleetranks''', '''govranks''', and '''civranks''' represent the ranks position can hold, by branch. Returns N/A if no ranks are entered.<br> | ||
'''traineeranks''' represents the ranks available to the trainee version of the role, if there is one.<br> | |||
'''jobtitle, difficulty, superior, duties, and guides''' are self-explanatory. | '''jobtitle, difficulty, superior, duties, and guides''' are self-explanatory. | ||
Line 28: | Line 27: | ||
{{JobPageHeader | {{JobPageHeader | ||
|headerbgcolor = | |headerbgcolor = 232, 126, 2 | ||
|headerfontcolor = white | |headerfontcolor = white | ||
|stafftype = ENGINEERING | |stafftype = ENGINEERING | ||
|jobtitle = Engineer | |jobtitle = Engineer | ||
|difficulty = Medium | |difficulty = Medium | ||
Line 40: | Line 38: | ||
|govranks | |govranks | ||
|civranks = Contractor | |civranks = Contractor | ||
|traineeranks = <br>'''- EC:''' Explorer (E-3)<br>'''- Fleet:''' Crewman Apprentice (E-2) | |||
|alttitles = Engine Technician, Damage Control Technician, Electrician, Atmospheric Technician | |alttitles = Engine Technician, Damage Control Technician, Electrician, Atmospheric Technician | ||
|duties = Maintain ship power. Patch hull breaches. Make sure that everyone has functioning lights and breathable atmosphere. | |duties = Maintain ship power. Patch hull breaches. Make sure that everyone has functioning lights and breathable atmosphere. | ||
Line 48: | Line 47: | ||
{{JobPageHeader | {{JobPageHeader | ||
|headerbgcolor = | |headerbgcolor = 232, 126, 2 | ||
|headerfontcolor = white | |headerfontcolor = white | ||
|stafftype = ENGINEERING | |stafftype = ENGINEERING | ||
|img = engineer.png | |img = engineer.png | ||
|jobtitle = Engineer | |jobtitle = Engineer | ||
Line 61: | Line 59: | ||
|govranks | |govranks | ||
|civranks = Contractor | |civranks = Contractor | ||
|traineeranks = <br>'''- EC:''' Explorer (E-3)<br>'''- Fleet:''' Crewman Apprentice (E-2) | |||
|alttitles = Engine Technician, Damage Control Technician, Electrician, Atmospheric Technician | |alttitles = Engine Technician, Damage Control Technician, Electrician, Atmospheric Technician | ||
|duties = Maintain ship power. Patch hull breaches. Make sure that everyone has functioning lights and breathable atmosphere. | |duties = Maintain ship power. Patch hull breaches. Make sure that everyone has functioning lights and breathable atmosphere. |
Latest revision as of 17:16, 5 May 2023
UNDEFINED STAFF | |
[[File:{{{img}}}|{{{jobtitle}}}]] Job |
Difficulty: Not defined Supervisor: Not defined Branches: Not defined Ranks: N/A Duties: Not defined Related 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, ideally high-saturation color. The same color is used at 25% opacity for the image background.
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.
img is the in-action image file, without the "File:" or "Image:" prefix. (see examples below)
alttitles represent the alternate names that the job can use, if any.
branches represent the branches the position is eligible, usually Expeditionary Corps, Fleet, or Civilian.
ecranks, fleetranks, govranks, and civranks represent the ranks position can hold, by branch. Returns N/A if no ranks are entered.
traineeranks represents the ranks available to the trainee version of the role, if there is one.
jobtitle, difficulty, superior, duties, and guides 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:
ENGINEERING STAFF | |
[[File:{{{img}}}|Engineer]] Engineer |
Difficulty: Medium Supervisor: The Chief Engineer Branches: Expeditionary Corps, Sol Central Government Fleet, Civilian Ranks: - EC: Explorer (E-3), Senior Explorer (E-5) - Fleet: Crewman Apprentice (E-2), Crewman (E-3), Petty Officer Third Class (E-4), Petty Officer Second Class (E-5) - Civilian: Contractor Ranks (Trainee): - EC: Explorer (E-3) - Fleet: Crewman Apprentice (E-2) Alternate Titles: Engine Technician, Damage Control Technician, Electrician, Atmospheric Technician Duties: Maintain ship power. Patch hull breaches. Make sure that everyone has functioning lights and breathable atmosphere. Related Guides: Guide to Atmospherics, Guide to Construction, Guide to Supermatter, Guide to Hacking, Guide to the R-UST, Guide to SMES Units, Guide to Computing, Guide to Telecommunications, Guide to Solars |
Image defined:
ENGINEERING STAFF | |
![]() Engineer |
Difficulty: Medium Supervisor: The Chief Engineer Branches: Expeditionary Corps, Sol Central Government Fleet, Civilian Ranks: - EC: Explorer (E-3), Senior Explorer (E-5) - Fleet: Crewman (E-3), Petty Officer Third Class (E-4), Petty Officer Second Class (E-5) - Civilian: Contractor Ranks (Trainee): - EC: Explorer (E-3) - Fleet: Crewman Apprentice (E-2) Alternate Titles: Engine Technician, Damage Control Technician, Electrician, Atmospheric Technician Duties: Maintain ship power. Patch hull breaches. Make sure that everyone has functioning lights and breathable atmosphere. Related Guides: Guide to Atmospherics, Guide to Construction, Guide to Supermatter, Guide to Hacking, Guide to the R-UST, Guide to SMES Units, Guide to Computing, Guide to Telecommunications, Guide to Solars |