Шаблон:JobPageHeader: различия между версиями
imported>Ray Anor (Приведение шаблона в соответствие со страницей ролей http://rv666.asuscomm.com/wiki/index.php/Roles) |
imported>BOT Purple м (Откат правок Ray Anor (обсуждение) к версии BOT Purple) |
||
Строка 4: | Строка 4: | ||
<div style="background: #{{{colour|777777}}}4e; width: 11em; height:inherit; float:left; margin-right: .5em;"><center><br>[[File:{{{img}}}]]<br>'''{{{jobtitle|Job}}}'''</center></div> | <div style="background: #{{{colour|777777}}}4e; width: 11em; height:inherit; float:left; margin-right: .5em;"><center><br>[[File:{{{img}}}]]<br>'''{{{jobtitle|Job}}}'''</center></div> | ||
<div style="float:left; padding: 0 .1em 0"> | <div style="float:left; padding: 0 .1em 0"> | ||
'''Глава:''' {{{superior| | '''Глава:''' {{{superior|Not defined}}} | ||
<br>'''Сложность:''' {{{difficulty|Not defined}}} | |||
<br>'''Руководства:''' {{{guides|Not defined}}} | |||
<br>'''Доступ:''' {{{access|Not defined}}} | |||
<br>'''Сложность:''' {{{difficulty| | <br>'''Обязанности:''' {{{duties|Not defined}}} | ||
<br>''' | |||
<br>''' | |||
<br>''' | |||
</div></div></div> | </div></div></div> | ||
<noinclude> | <noinclude> | ||
Строка 31: | Строка 28: | ||
|hcolour = white | |hcolour = white | ||
|img = Generic_captain.png | |img = Generic_captain.png | ||
|stafftype = | |stafftype = COMMAND | ||
|jobtitle = | |jobtitle = Captain | ||
|access = | |access = All | ||
|difficulty = | |difficulty = Very hard | ||
|superior = | |superior = Space Law and Nanotrasen Officials | ||
|duties = | |duties = Command the ship, protect the nuke disk, stop revolutions, get killed for all mentioned before. | ||
|guides = | |guides = no separate guides | ||
}} | }} | ||
[[Category:Шаблоны]] | [[Category:Шаблоны]] | ||
</noinclude> | </noinclude> |
Версия от 07:55, 20 марта 2021
[[File:{{{img}}}]]
Job
Глава: 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
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.
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