Шаблон:Заголовок работ: различия между версиями

Материал из Fluffy Frontier
Нет описания правки
Нет описания правки
Строка 7: Строка 7:
<div style="border: .2em solid #{{{colour|444444}}}; border-radius: .5em; background: #FFFFFF; width:90%;">
<div style="border: .2em solid #{{{colour|444444}}}; border-radius: .5em; background: #FFFFFF; width:90%;">
<div style="background: #{{{ebcolour|#444444}}}1e; border-radius: .2em; padding: .4em .4em .6em; line-height:1em; margin: .25em;">
<div style="background: #{{{ebcolour|#444444}}}1e; border-radius: .2em; padding: .4em .4em .6em; line-height:1em; margin: .25em;">
'''Руководители:''' {{{superior|Not defined}}}
'''Руководители:''' {{{superior|Нет}}}
<br>'''Уровень сложности:''' {{{difficulty|Not defined}}}
<br>'''Уровень сложности:''' {{{difficulty|Нет}}}
<br>'''Руководства:''' {{{guides|Not defined}}}
<br>'''Руководства:''' {{{guides|Нет}}}
<br>'''Доступ:''' {{{access|Not defined}}}
<br>'''Доступ:''' {{{access|Нет}}}
<br>'''Обязанности:''' {{{duties|Not defined}}}
<br>'''Обязанности:''' {{{duties|Нет}}}
<br>'''Минимальные требования:''' {{{requirements|Not defined}}}
<br>'''Минимальные требования:''' {{{requirements|Нет}}}
</div></div></div></div>
</div></div></div></div>



Версия от 18:04, 29 июня 2022

{{{stafftype}}}
[[File:{{{img}}}|64px]]
Job

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


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

colour is the background color of the header. This will also set the image background colour automatically.
hcolour is the font colour for the header. It accepts plaintext colours only.
bcolour is the color for the job title box.
bhcolour is the text color for the job title.
ebcolour is the background color for the section that holds the guides and other info.
stafftype is the word that is added before STAFF. So adding the word MAINTENANCE here yields MAINTENANCE STAFF. Intended to be in caps.
img Sets the file without the need for the [[File:]] command. The extension and size modifier must still be specified.
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

COMMAND
Generic captain.png
Captain

Руководители: Space Law and Nanotrasen Officials
Уровень сложности: Very hard
Руководства: no separate guides
Доступ: All
Обязанности: Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before.
Минимальные требования: Нет