Шаблон:JobPageHeader: различия между версиями
ThinLiz76 (обсуждение | вклад) (Отмена правки 55955, сделанной ThinLiz76 (обсуждение)) Метка: отмена |
Rafnik (обсуждение | вклад) мНет описания правки |
||
Строка 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_generic|{{{jobtitle}}}.png}}}|64px]] | |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|Профессия}}}''' | ||
|'''Доступ:''' {{{access|Not defined}}}<br>'''[[Terminology#Additional_Access | Дополнительный доступ]]:''' {{{additional|Not defined}}}<br>'''Сложность:''' {{{difficulty|Not defined}}}<br>'''Подчиняется:''' {{{superior|Not defined}}}<br>'''Обязанности:''' {{{duties|Not defined}}}<br>'''Руководства:''' {{{guides|Not defined}}} <br>'''Цитата:''' ''{{{quote}}}'' | |'''Доступ:''' {{{access|Not defined}}}<br>'''[[Terminology#Additional_Access | Дополнительный доступ]]:''' {{{additional|Not defined}}}<br>'''Сложность:''' {{{difficulty|Not defined}}}<br>'''Подчиняется:''' {{{superior|Not defined}}}<br>'''Обязанности:''' {{{duties|Not defined}}}<br>'''Руководства:''' {{{guides|Not defined}}} <br>'''Цитата:''' ''{{{quote}}}'' | ||
|} | |} | ||
Строка 89: | Строка 89: | ||
|duties = Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before. | |duties = Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before. | ||
|guides = no separate guides | |guides = no separate guides | ||
}} | |||
{{JobPageHeader | |||
|headerbgcolor = black | |||
|headerfontcolor = green | |||
|stafftype = ENEMY | |||
|imagebgcolor = green | |||
|img_generic = | |||
|img = Heretic.png | |||
|jobtitle = Heretic | |||
|access = Wherever your job has access to | |||
|additional = Wherever you can break into or teleport to. | |||
|difficulty = '''VERY HARD''' | |||
|superior = Forgotten Gods | |||
|duties = Find influences, realize they've all been taken. Sacrifice people and become all powerful (or die trying). | |||
|guides = This is the guide. | |||
|quote = 'ADMINS HALP HOW DO I SACRIFICE PEOPLE' | |||
}} | }} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Версия от 14:22, 19 декабря 2023
UNDEFINED STAFF
Профессия
Доступ: Not defined
Дополнительный доступ: Not defined
Сложность: Not defined
Подчиняется: Not defined
Обязанности: Not defined
Руководства: Not defined
Цитата: {{{quote}}}
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 STAFF | |
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 STAFF | |
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 Цитата: {{{quote}}} |
Only generic image defined:
COMMAND STAFF | |
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 Цитата: {{{quote}}} |
Both images defined:
COMMAND STAFF | |
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 Цитата: {{{quote}}} |
ENEMY STAFF | |
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 |