Template:Role Header: Difference between revisions
Sirryan2002 (talk | contribs) (added role header template) |
Sirryan2002 (talk | contribs) (adding more variables + example usage) |
||
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>''' | <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|}}}|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;"> | ||
'''Superiors:''' {{{superior|Not defined}}} | '''Superiors:''' {{{superior|Not defined}}} | ||
<br>'''Difficulty:''' {{{difficulty|Not defined}}} | <br>'''Difficulty:''' {{{difficulty|Not defined}}} | ||
Line 6: | Line 6: | ||
<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> | ||
</ | ==Example Usage== | ||
<pre><nowiki>{{Role Header | |||
|role = Captain | |||
|departmentcolor = #41596D | |||
|department = Command | |||
|superior = [[Central Command]] | |||
|guides = [[Guide to Faxes]] | |||
|access = [[Bridge]] | |||
|alt names = 'Cap' | |||
}}</nowiki></pre> | |||
</noinclude> |
Revision as of 20:25, 12 June 2022
[[File:|64px]]
Superiors: Not defined
Difficulty: Not defined
Guides: Not defined
Access: Not defined
Colloquial Names: Not defined
Example Usage
{{Role Header |role = Captain |departmentcolor = #41596D |department = Command |superior = [[Central Command]] |guides = [[Guide to Faxes]] |access = [[Bridge]] |alt names = 'Cap' }}