Шаблон:JobPageHeader: различия между версиями
Rafnik (обсуждение | вклад) мНет описания правки |
Rafnik (обсуждение | вклад) м (Пример) |
||
(не показано 6 промежуточных версий 1 участника) | |||
Строка 1: | Строка 1: | ||
<noinclude><code> | <noinclude><code> | ||
</noinclude>{|width="100%" cellspacing="0" cellpadding="2" | </noinclude>{|width="100%" cellspacing="0" cellpadding="2" | ||
|bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{stafftype|UNDEFINED}}} | |bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" colspan=2|<font color="{{{headerfontcolor|#000000}}}">'''{{{stafftype|UNDEFINED}}} ПЕРСОНАЛ'''</font> | ||
|- | |- | ||
|width = 150 align=center bgcolor="{{{imagebgcolor|#cccccc}}}"|{{#if:{{{img_generic|}}}| [[File:{{{img_generic|{{{jobtitle}}}.png}}}|64px]] | }} {{#if:{{{img|}}}| [[File:{{{img|{{{jobtitle}}}.png}}}|64px]] | }} {{#if:{{{img|}}} | <br> | {{#if:{{{img_generic|}}} | <br> | }} }} '''{{{jobtitle|Профессия}}}''' | |width = 150 align=center bgcolor="{{{imagebgcolor|#cccccc}}}"|{{#if:{{{img_generic|}}}| [[File:{{{img_generic|{{{jobtitle}}}.png}}}|64px]] | }} {{#if:{{{img|}}}| [[File:{{{img|{{{jobtitle}}}.png}}}|64px]] | }} {{#if:{{{img|}}} | <br> | {{#if:{{{img_generic|}}} | <br> | }} }} '''{{{jobtitle|Профессия}}}''' <br> '''{{{jobtitle_ru|Профессия (на RU)}}}''' | ||
|'''Доступ:''' {{{access|Not defined}}}<br> {{#if:{{{additional|}}}|'''[[Terminology#Additional_Access |Дополнительный доступ]]:''' {{{additional|Not defined}}}<br>|}}'''Сложность:''' {{{difficulty|Not defined}}}<br>'''Руководители:''' {{{superior|Not defined}}}<br>'''Обязанности:''' {{{duties|Not defined}}}<br>'''Руководства:''' {{{guides|Not defined}}} {{#if: {{{quote|}}} | <br>'''Цитаты:''' ''{{{quote}}}''}} | |'''Доступ:''' {{{access|Not defined}}}<br> {{#if:{{{additional|}}}|'''{{Tooltip | [[Terminology#Additional_Access|Дополнительный доступ]]| При малом количестве сотрудников на станции}}:''' {{{additional|Not defined}}}<br>|}}'''Сложность:''' {{{difficulty|Not defined}}}<br>'''Руководители:''' {{{superior|Not defined}}}<br>'''Обязанности:''' {{{duties|Not defined}}}<br>'''Руководства:''' {{{guides|Not defined}}} {{#if: {{{quote|}}} | <br>'''Цитаты:''' ''{{{quote}}}''}} | ||
|} | |} | ||
<noinclude></code> | <noinclude></code> | ||
Строка 30: | Строка 30: | ||
|imagebgcolor = lightblue | |imagebgcolor = lightblue | ||
|jobtitle = Captain | |jobtitle = Captain | ||
|jobtitle_ru = Капитан | |||
|access = All | |access = All | ||
|additional = N/A | |additional = N/A | ||
Строка 48: | Строка 49: | ||
|img = Captain_action.png | |img = Captain_action.png | ||
|jobtitle = Captain | |jobtitle = Captain | ||
|jobtitle_ru = Капитан | |||
|access = All | |access = All | ||
|additional = N/A | |additional = N/A | ||
Строка 65: | Строка 67: | ||
|img_generic = Generic_captain.png | |img_generic = Generic_captain.png | ||
|jobtitle = Captain | |jobtitle = Captain | ||
|jobtitle_ru = Капитан | |||
|access = All | |access = All | ||
|additional = N/A | |additional = N/A | ||
Строка 83: | Строка 86: | ||
|img_generic = Generic_captain.png | |img_generic = Generic_captain.png | ||
|jobtitle = Captain | |jobtitle = Captain | ||
|jobtitle_ru = Капитан | |||
|access = All | |access = All | ||
|additional = N/A | |additional = N/A | ||
Строка 99: | Строка 103: | ||
|img = Heretic.png | |img = Heretic.png | ||
|jobtitle = Heretic | |jobtitle = Heretic | ||
|jobtitle_ru = Еретик | |||
|access = Wherever your job has access to | |access = Wherever your job has access to | ||
|additional = Wherever you can break into or teleport to. | |additional = Wherever you can break into or teleport to. |
Текущая версия от 17:34, 29 октября 2024
UNDEFINED ПЕРСОНАЛ
Профессия
Профессия (на RU)
Доступ: Not defined
Сложность: Not defined
Руководители: Not defined
Обязанности: Not defined
Руководства: 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)
img_generic is the generic image file, without the "File:" or "Image:" prefix. (see examples below)
jobtitle, access, difficulty, guides and duties are self-explanatory. quote will only show if the parameter is specified
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 ПЕРСОНАЛ | |
Captain Капитан |
Доступ: All Дополнительный доступ При малом количестве сотрудников на станции : N/AСложность: Very hard Руководители: Space Law and Nanotrasen Officials Обязанности: Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before. Руководства: no separate guides Цитаты: Look at me, I am the captain now. |
Only in-action image defined:
COMMAND ПЕРСОНАЛ | |
Captain Капитан |
Доступ: All Дополнительный доступ При малом количестве сотрудников на станции : N/AСложность: Very hard Руководители: Space Law and Nanotrasen Officials Обязанности: Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before. Руководства: no separate guides |
Only generic image defined:
COMMAND ПЕРСОНАЛ | |
Captain Капитан |
Доступ: All Дополнительный доступ При малом количестве сотрудников на станции : N/AСложность: Very hard Руководители: Space Law and Nanotrasen Officials Обязанности: Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before. Руководства: no separate guides |
Both images defined:
COMMAND ПЕРСОНАЛ | |
Captain Капитан |
Доступ: All Дополнительный доступ При малом количестве сотрудников на станции : N/AСложность: Very hard Руководители: Space Law and Nanotrasen Officials Обязанности: Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before. Руководства: no separate guides |
ENEMY ПЕРСОНАЛ | |
Heretic Еретик |
Доступ: Wherever your job has access to Дополнительный доступ При малом количестве сотрудников на станции : Wherever you can break into or teleport to.Сложность: VERY HARD Руководители: Forgotten Gods Обязанности: Find influences, realize they've all been taken. Sacrifice people and become all powerful (or die trying). Руководства: This is the guide. Цитаты: ADMINS HALP HOW DO I SACRIFICE PEOPLE |