Template:Role Header: Difference between revisions

From Unitystation
(added role header template)
 
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="background-color:#282C34; margin: .4em .8em .8em .4em; border-radius:.4em; padding:.4em;"><div style="color: white; margin-bottom:.2em; padding: .4em; border-radius:.2em; background-color:#41596D; padding:.2em;"><center>'''Command Department'''</center></div><div style="padding: .15em 0 .15em; overflow: auto; align-items: stretch; display: flex;"><div style="padding:.2em; border-radius: .4em; border: solid .2em; border-color:#41596D; background-color:#C7D6DD; width: 9em; height:inherit; float:left; margin-right: .5em;"><center>'''{{{Role}}}'''<hr>[[File:{{{image|}}}|64px]]</center></div><div style="padding:.2em; border-radius: .4em; border: solid .2em; border-color:#41596D; background-color:#C7D6DD; width: 100%; height:inherit; float:left;text-align:left; margin-right: .5em;">
<div style="background-color:#282C34; margin: .4em .8em .8em .4em; border-radius:.4em; padding:.4em;"><div style="color: white; margin-bottom:.2em; padding: .4em; border-radius:.2em; background-color:{{{departmentcolor|#41596D}}}; padding:.2em;"><center>'''{{{department}}} Department'''</center></div><div style="padding: .15em 0 .15em; overflow: auto; align-items: stretch; display: flex;"><div style="padding:.2em; border-radius: .4em; border: solid .2em; border-color:#41596D; background-color:#C7D6DD; width: 9em; height:inherit; float:left; margin-right: .5em;"><center>'''{{{Role}}}'''<hr>[[File:{{{Image|}}}|96px]]</center></div><div style="padding:.2em; border-radius: .4em; border: solid .2em; border-color:#41596D; background-color:#C7D6DD; width: 100%; height:inherit; float:left;text-align:left; margin-right: .5em;">
'''Superiors:''' {{{superior|Not defined}}}
'''Superiors:''' {{{superior|Not defined}}}
<br>'''Difficulty:''' {{{difficulty|Not defined}}}
<br>'''Difficulty:''' {{{difficulty|Not defined}}}
<br>'''Completion:''' {{{completion|0%}}}
<br>'''Guides:''' {{{guides|Not defined}}}
<br>'''Guides:''' {{{guides|Not defined}}}
<br>'''Access:''' {{{access|Not defined}}}
<br>'''Access:''' {{{access|Not defined}}}
<br>'''Colloquial Names:''' {{{alt names|Not defined}}}
<br>'''Colloquial Names:''' {{{alt names|Not defined}}}
{{#if:{{{theft_targets|}}}|<br>'''High-Risk Items:''' {{{theft_targets}}}|}}
{{#if:{{{theft_targets|}}}|<br>'''High-Risk Items:''' {{{theft_targets}}}|}}
</div></div>
</div></div></div><noinclude>
</div>
==Example Usage==
<pre><nowiki>{{Role Header
|role = Captain
|dificulty = High
| completion = 60%
|departmentcolor = #41596D
|department = Command
|superior = [[Central Command]]
|guides = [[Guide to Faxes]]
|access = [[Bridge]]
|alt names = 'Cap'
}}</nowiki></pre>
 
</noinclude>

Latest revision as of 20:17, 22 February 2023

{{{department}}} Department
{{{Role}}}
[[File:|96px]]

Superiors: Not defined
Difficulty: Not defined
Completion: 0%
Guides: Not defined
Access: Not defined
Colloquial Names: Not defined

Example Usage

{{Role Header
 |role = Captain
 |dificulty = High
 | completion = 60%
 |departmentcolor = #41596D
 |department = Command
 |superior = [[Central Command]]
 |guides = [[Guide to Faxes]]
 |access = [[Bridge]]
 |alt names = 'Cap'
}}