Шаблон:JobPageHeader: различия между версиями

Материал из FIJTeam Project Wiki
Перейти к навигации Перейти к поиску
>Frances
(added qualifications section to header (for job qualifications))
м (Защитил страницу Шаблон:JobPageHeader ([Редактирование=Разрешено только администраторам] (бессрочно) [Переименование=Разрешено только администраторам] (бессрочно)))
 
(не показано 6 промежуточных версий 4 участников)
Строка 1: Строка 1:
<noinclude><code>
<noinclude><code>
</noinclude>{|width="100%" cellspacing="0" cellpadding="2"
</noinclude>{|style="width: 100%; box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0 1em 0; padding: 1px;"
|bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{stafftype|UNDEFINED}}} STAFF'''</font>
|-style="background:#{{ColorPalette‎‎|{{{department}}}|Primary}}; color:#{{ColorPalette‎‎|{{{department}}}|Header Text}}; font-weight:bold; text-align:center;"
|-
| style="border-radius:.2em; width:15%; padding: .4em .8em .5em;" colspan="3" | {{{stafftype|НЕОПРЕДЕЛЕННЫЙ}}}
|width = 150 align=center bgcolor="{{{imagebgcolor|#cccccc}}}"| [[File:{{{img}}}|64x64px|{{{jobtitle}}}]] <br> '''{{{jobtitle|Job}}}'''
|- style="color:black; background:#{{ColorPalette‎‎|{{{department}}}|Very Light}};"
|'''Access:''' {{{access|Not defined}}}<br>'''Difficulty:''' {{{difficulty|Not defined}}}<br>'''Qualifications:''' {{{qualifications|Not defined}}}<br>'''Supervisors:''' {{{superior|Not defined}}}<br>'''Duties:''' {{{duties|Not defined}}}<br>'''Guides:''' {{{guides|Not defined}}}
! style="background:#{{ColorPalette‎‎|{{{department}}}|Secondary}}; color:#{{ColorPalette‎‎|{{{department}}}|Secondary Text}}; border-style:outset; border-width:.2em; border-color:#{{ColorPalette‎‎|{{{department}}}|Primary Bold}}; border-radius:.3em; box-shadow: 0 0 .3em #999;" width:10%;" | {{{jobtitleRu|Должность<br>не определена}}}<br>{{#if:{{{img_generic|}}}| [[File:{{{img_generic|{{{jobtitle}}}.png}}}]] | }} {{#if:{{{img|}}}| [[File:{{{img|{{{jobtitle}}}.png}}}]] | }} {{#if:{{{img|}}} | <br> | {{#if:{{{img_generic|}}} | <br> | }} }}<hr>{{{jobtitle|Должность<br>не определена}}}
| style="width:60%; border-style: solid; border-color:#{{ColorPalette‎‎|{{{department}}}|Very Light}}; border-width: 0 0 0 20px;"|
'''Руководители:''' {{{superior|Не определен}}}<br>
'''Сложность:''' {{{difficulty|Не определена}}}<br>
'''Обязанности:''' {{{duties|Не определены}}} <br>
'''Руководства:''' {{{guides|Не определены}}} <br>
'''Доступ:''' {{{access|Не определен}}} <br>
'''Альтернативные названия:''' {{{altjobnames|Отсутствуют}}} <br>
{{#if:{{{additional|}}}|'''[[Terminology#Additional_Access|Дополнительный доступ]]:''' {{{additional|Не определен}}} <br>|}}
| style="width:30%" |
{{#if: {{{quote|}}} | '''Цитата:''' ''{{{quote}}}''|[[File:f19.png|center|150px]]}}
|}
|}
<noinclude></code>
<noinclude></code>
This template is intended to be at the top of each of the jobs pages to provide a basic overview of each job.
[[Category:Шаблоны]]
 
== 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>
'''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>
'''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>
'''qualifications''' represent [[NanoTrasen Occupation Qualifications]] for the job.<br>
'''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:
 
{{JobPageHeader
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|jobtitle = Captain
|access = All
|difficulty = Very hard
|qualifications = At least 35 years of age, 10 years experience with NanoTrasen, at least one department-related degree.
|superior = 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:
 
{{JobPageHeader
|headerbgcolor = darkblue
|headerfontcolor = white
|stafftype = COMMAND
|imagebgcolor = lightblue
|img = Generic_captain.png
|jobtitle = Captain
|access = All
|difficulty = Very hard
|qualifications = At least 35 years of age, 10 years experience with NanoTrasen, at least one department-related degree.
|superior = 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
}}
 
[[Category:Templates]]
</noinclude>
</noinclude>
[[Category:Pages]]

Текущая версия от 22:34, 17 июня 2024

НЕОПРЕДЕЛЕННЫЙ
Должность
не определена

Должность
не определена

Руководители: Не определен
Сложность: Не определена
Обязанности: Не определены
Руководства: Не определены
Доступ: Не определен
Альтернативные названия: Отсутствуют

Файл:F19.png