Template:Character Infobox: Difference between revisions

From Star Trek: Theurgy Wiki

No edit summary
mNo edit summary
Line 2: Line 2:
<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>
<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>
 
<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 style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Name</td><td  style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{name}}}</td></tr>|}}
{{#if: {{{name|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Name</td><td  style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{name}}}</td></tr>|}}
{{#if: {{{rank|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Rank</td><td  style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{rank}}}</td></tr>|}}
{{#if: {{{rank|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Rank</td><td  style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{rank}}}</td></tr>|}}

Revision as of 03:51, 20 May 2016










[[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
|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