Template:Character Infobox: Difference between revisions

From Star Trek: Theurgy Wiki

No edit summary
(Undo revision 2194 by SummerDawn (talk))
Line 1: Line 1:
<style>
<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}}; }
 
</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;">
<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;">
Line 8: Line 9:
<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>


<tr><th colspan="2" class="charline">'''Character Information'''</th></tr>
<tr><th colspan="2" style="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}};">'''Character Information'''</th></tr>
{{#if: {{{name|}}} |<tr class="charline"><td class="charline">Name</td><td  class="charline">{{{name}}}</td></tr>|}}
{{#if: {{{name|}}} |<tr class="charline"><td class="charline">Name</td><td  class="charline">{{{name}}}</td></tr>|}}
{{#if: {{{rank|}}} |<tr class="charline"><td class="charline">Rank</td><td  class="charline">{{{rank}}}</td></tr>|}}
{{#if: {{{rank|}}} |<tr class="charline"><td class="charline">Rank</td><td  class="charline">{{{rank}}}</td></tr>|}}
Line 22: Line 23:
{{#if: {{{eyes|}}} |<tr class="charline"><td class="charline">Eye&nbsp;color</td><td  class="charline">{{{eyes|}}}</td></tr>|}}
{{#if: {{{eyes|}}} |<tr class="charline"><td class="charline">Eye&nbsp;color</td><td  class="charline">{{{eyes|}}}</td></tr>|}}


<tr><th colspan="2" class="charline">'''Interests'''</th></tr>
<tr><th colspan="2" style="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}};">'''Interests'''</th></tr>
{{#if: {{{interests|}}} |<tr class="charline"><td colspan="2" class="charline">{{{interests}}}</td></tr>|}}
{{#if: {{{interests|}}} |<tr class="charline"><td colspan="2" class="charline">{{{interests}}}</td></tr>|}}


<tr><th colspan="2" class="charline">'''Education'''</th></tr>
<tr><th colspan="2" style="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}};">'''Education'''</th></tr>
{{#if: {{{education|}}} |<tr class="charline"><td colspan="2" class="charline">{{{education}}}</td></tr>|}}
{{#if: {{{education|}}} |<tr class="charline"><td colspan="2" class="charline">{{{education}}}</td></tr>|}}


<tr><th colspan="2" class="charline">'''Service Record'''</th></tr>
<tr><th colspan="2" style="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}};">'''Service Record'''</th></tr>
{{#if: {{{servicerecord|}}} |<tr class="charline"><td colspan="2" class="charline">{{{servicerecord}}}</td></tr>|}}
{{#if: {{{servicerecord|}}} |<tr class="charline"><td colspan="2" class="charline">{{{servicerecord}}}</td></tr>|}}


<tr><th colspan="2" class="charline">'''Decorations'''</th></tr>
<tr><th colspan="2" style="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}};">'''Decorations'''</th></tr>
{{#if: {{{decorations|}}} |<tr class="charline"><td colspan="2" class="charline">{{{decorations}}}</td></tr>|}}
{{#if: {{{decorations|}}} |<tr class="charline"><td colspan="2" class="charline">{{{decorations}}}</td></tr>|}}
</table></td></tr></table>
</table></td></tr></table>

Revision as of 16:22, 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; }

</style>










[[File:{{{image}}}|300px]]
Character Information
Interests
Education
Service Record
Decorations

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