Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:JobPageHeader: Difference between revisions

Template page
Created
 
Adds a section for trainee ranks.
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><code>
{|style="width:100%; cellspacing:0; cellpadding:2;"
</noinclude>{|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'''
|bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{stafftype|UNDEFINED}}} STAFF'''</font>
|-
|-
|width = 150 align=center bgcolor="{{{imagebgcolor|#cccccc}}}"| [[File:{{{img}}}|64x64px|{{{jobtitle}}}]] <br> '''{{{jobtitle|Job}}}'''
|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:''' {{{ranks|Not defined}}}<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></code>
<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>
'''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)<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>
'''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>
'''branches''' represent the ranks position can hold.<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 27: Line 27:


{{JobPageHeader
{{JobPageHeader
|headerbgcolor = darkblue
|headerbgcolor = 232, 126, 2
|headerfontcolor = white
|headerfontcolor = white
|stafftype = COMMAND
|stafftype = ENGINEERING
|imagebgcolor = lightblue
|jobtitle = Engineer
|jobtitle = Bridge Officer
|difficulty = Medium
|difficulty = Easy
|superior = The [[Chief Engineer]]
|superior = The [[Commanding Officer]] and heads of staff
|branches = [[Expeditionary Corps]], [[Fleet|Sol Central Government Fleet]], Civilian
|branches = [[Expeditionary Corps]], [[Fleet|Sol Central Government Fleet]]
|ecranks = Explorer (E-3), Senior Explorer (E-5)
|ranks = <br> - <b>EC:</b> Ensign (O-6)<br> - <b>Fleet:</b> Ensign (O-1)
|fleetranks = Crewman Apprentice (E-2), Crewman (E-3), Petty Officer Third Class (E-4), Petty Officer Second Class (E-5)
|duties = Be an extra pair of eyes, ears, and hands for the CO. Pilot the Torch and other shuttle craft if needed. Gather information and pass it to the appropriate member of Command. Be general assistance for the bridge crew.
|govranks
|guides = [[How to Sol Gov Guide]], [[Standard Operating Procedure]], [[Alert Procedure]], [[Sol Central Government Law]], [[Sol Code of Uniform Justice]], [[Uniform Guide]], [[Guide to Ships]]
|civranks = Contractor
|traineeranks = <br>'''- EC:''' Explorer (E-3)<br>'''- Fleet:''' Crewman Apprentice (E-2)
|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.
|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]]
}}
}}


Line 43: Line 47:


{{JobPageHeader
{{JobPageHeader
|headerbgcolor = darkblue
|headerbgcolor = 232, 126, 2
|headerfontcolor = white
|headerfontcolor = white
|stafftype = COMMAND
|stafftype = ENGINEERING
|imagebgcolor = lightblue
|img = engineer.png
|img = bridgeOfficer.png
|jobtitle = Engineer
|jobtitle = Bridge Officer
|difficulty = Medium
|difficulty = Easy
|superior = The [[Chief Engineer]]
|superior = The [[Commanding Officer]] and heads of staff
|branches = [[Expeditionary Corps]], [[Fleet|Sol Central Government Fleet]], Civilian
|branches = [[Expeditionary Corps]], [[Fleet|Sol Central Government Fleet]]
|ecranks = Explorer (E-3), Senior Explorer (E-5)
|ranks = <br> - <b>EC:</b> Ensign (O-6)<br> - <b>Fleet:</b> Ensign (O-1)
|fleetranks = Crewman (E-3), Petty Officer Third Class (E-4), Petty Officer Second Class (E-5)
|duties = Be an extra pair of eyes, ears, and hands for the CO. Pilot the Torch and other shuttle craft if needed. Gather information and pass it to the appropriate member of Command. Be general assistance for the bridge crew.
|govranks
|guides = [[How to Sol Gov Guide]], [[Standard Operating Procedure]], [[Alert Procedure]], [[Sol Central Government Law]], [[Sol Code of Uniform Justice]], [[Uniform Guide]], [[Guide to Ships]]
|civranks = Contractor
|traineeranks = <br>'''- EC:''' Explorer (E-3)<br>'''- Fleet:''' Crewman Apprentice (E-2)
|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.
|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]]
}}
}}


[[Category:Templates]]
<noinclude>[[Category:Templates]]</noinclude>
</noinclude>
[[Category:Pages]]

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
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