Шаблон:JobPageHeader: различия между версиями
>ForgottenTraveller Нет описания правки |
>ForgottenTraveller Нет описания правки |
||
Строка 3: | Строка 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}}}"| [[File:{{{img}}}| | |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>'''Difficulty:''' {{{difficulty|Not defined}}}<br>'''Supervisors:''' {{{superior|Not defined}}}<br>'''Duties:''' {{{duties|Not defined}}}<br>'''Guides:''' {{{guides|Not defined}}} | ||
|} | |} | ||
Строка 16: | Строка 16: | ||
'''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) | ||
'''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: | ||
Строка 37: | Строка 36: | ||
}} | }} | ||
Image defined: | |||
{{JobPageHeader | {{JobPageHeader | ||
Строка 44: | Строка 43: | ||
|stafftype = COMMAND | |stafftype = COMMAND | ||
|imagebgcolor = lightblue | |imagebgcolor = lightblue | ||
|img | |img = Generic_captain.png | ||
|jobtitle = Captain | |jobtitle = Captain | ||
|access = All | |access = All |
Версия от 07:18, 20 ноября 2015
UNDEFINED STAFF
[[File:{{{img}}}|64x64px|{{{jobtitle}}}]]
Job
Access: Not defined
Difficulty: 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)
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 Difficulty: Very hard 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: