Шаблон:JobPageHeader: различия между версиями
imported>Rootoo Нет описания правки |
imported>Rootoo (Converts backgrounds to transparent) |
||
Строка 1: | Строка 1: | ||
{|style="width:100%; cellspacing:0; cellpadding:2;" | |||
|colspan=2 style="background-color:rgba({{{headerbgcolor|187, 187, 187}}}); text-align:center; color:{{{headerfontcolor|#000000}}}; 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: {{{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. | ||
Строка 12: | Строка 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> | ||
Строка 28: | Строка 26: | ||
{{JobPageHeader | {{JobPageHeader | ||
|headerbgcolor = | |headerbgcolor = 232, 126, 2 | ||
|headerfontcolor = white | |headerfontcolor = white | ||
|stafftype = ENGINEERING | |stafftype = ENGINEERING | ||
|jobtitle = Engineer | |jobtitle = Engineer | ||
|difficulty = Medium | |difficulty = Medium | ||
Строка 48: | Строка 45: | ||
{{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 |
Версия от 15:29, 2 мая 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.
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 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 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 |