Шаблон:JobPageHeader: различия между версиями
imported>Rootoo Нет описания правки |
imported>Rootoo Нет описания правки |
||
Строка 4: | Строка 4: | ||
|- | |- | ||
|width = 150 align=center bgcolor="{{{imagebgcolor|#cccccc}}}"| [[File:{{{img}}}|64x64px|{{{jobtitle}}}]] <br> '''{{{jobtitle|Job}}}''' | |width = 150 align=center bgcolor="{{{imagebgcolor|#cccccc}}}"| [[File:{{{img}}}|64x64px|{{{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> - | |'''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></code> | <noinclude></code> |
Версия от 17:56, 27 марта 2023
UNDEFINED STAFF
[[File:{{{img}}}|64x64px|{{{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 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)
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}}}|64x64px|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 |