Template:Character Infobox: Difference between revisions
From Star Trek: Theurgy Wiki
SummerDawn (talk | contribs) No edit summary |
SummerDawn (talk | contribs) (Undo revision 2197 by SummerDawn (talk)) |
||
Line 1: | Line 1: | ||
< | <style> | ||
tr.charline { spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525 } | tr.charline { spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525 } | ||
td.charline { border-top: 1px solid #999; border-bottom: 1px solid #999; } | td.charline { border-top: 1px solid #999; border-bottom: 1px solid #999; } | ||
th.charline { text-align:left; font-weight:normal; color:{{#switch:{{lc:{{{dept}}}}}|command=white|tactical conn=black|medical|counseling=white|security|engineering|operations=black|science=white|civilian=black|#default=white}}; background:{{#switch:{{lc:{{{dept}}}}}|command=#BA0000|engineering|operations|security=#e69500|tactical conn=White|medical|science|counseling=#1b9891|civilian=#BBB|#default=#BBB}}; } | th.charline { text-align:left; font-weight:normal; color:{{#switch:{{lc:{{{dept}}}}}|command=white|tactical conn=black|medical|counseling=white|security|engineering|operations=black|science=white|civilian=black|#default=white}}; background:{{#switch:{{lc:{{{dept}}}}}|command=#BA0000|engineering|operations|security=#e69500|tactical conn=White|medical|science|counseling=#1b9891|civilian=#BBB|#default=#BBB}}; } | ||
</style> | </style> | ||
< | <table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#252525; border-collapse:collapse; border:1px solid #999999; line-height:1.5;"> | ||
<tr><td colspan="2"><table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#252525; border-collapse:collapse;"> | <tr><td colspan="2"><table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#252525; border-collapse:collapse;"> | ||
<tr><td colspan="2" style="padding:0; background:#252525;">[[File:{{{image}}}|300px]]</td></tr> | <tr><td colspan="2" style="padding:0; background:#252525;">[[File:{{{image}}}|300px]]</td></tr> |
Revision as of 16:32, 3 June 2016
<style>
tr.charline { spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525 } td.charline { border-top: 1px solid #999; border-bottom: 1px solid #999; } th.charline { text-align:left; font-weight:normal; color:white; background:
- BBB; }
</style>
|
Usage instructions
Paste the following code into the top of an article, filling all known fields:
{{Character Infobox |dept= |name= |callsign= |image= |rank= |position= |species= |age= |gender= |birthplace= |height= |weight= |eyes= |hair= |interests= |education= |servicerecord= |decorations= }}
Display parameters
Dept: Command, Security, Tactical Conn, Medical, Counseling, Engineering, Ops, Science, Civilian
Gender: Male, Female, Hermophrodite, Neuter
Height: Xft Yin
Weight: XXXlbs