Template:Character Infobox: Difference between revisions
From Star Trek: Theurgy Wiki
SummerDawn (talk | contribs) (Undo revision 2197 by SummerDawn (talk)) |
SummerDawn (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<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;"> | ||
<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;"> | ||
Line 10: | Line 4: | ||
<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 | {{#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 | {{#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: {{{position|}}} |<tr | {{#if: {{{position|}}} |<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;">Position</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{position}}}</td></tr>|}} | ||
{{#if: {{{callsign|}}} |<tr | {{#if: {{{callsign|}}} |<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;">Callsign</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{callsign}}}</td></tr>|}} | ||
{{#if: {{{species|}}} |<tr | {{#if: {{{species|}}} |<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;">Species</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{species}}}</td></tr>|}} | ||
{{#if: {{{age|}}} |<tr | {{#if: {{{age|}}} |<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;">Age</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{age}}}</td></tr>|}} | ||
{{#if: {{{gender|}}} |<tr | {{#if: {{{gender|}}} |<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;">Gender</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{gender}}}</td></tr>|}} | ||
{{#if: {{{birthplace|}}} |<tr | {{#if: {{{birthplace|}}} |<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;">Birthplace</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{birthplace}}}</td></tr>|}} | ||
{{#if: {{{height|}}} |<tr | {{#if: {{{height|}}} |<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;">Height</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{height}}}</td></tr>|}} | ||
{{#if: {{{weight|}}} |<tr | {{#if: {{{weight|}}} |<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;">Weight</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{weight}}}</td></tr>|}} | ||
{{#if: {{{hair|}}} |<tr | {{#if: {{{hair|}}} |<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;">Hair</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{hair}}}</td></tr>|}} | ||
{{#if: {{{eyes|}}} |<tr | {{#if: {{{eyes|}}} |<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;">Eye color</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{eyes|}}}</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}};">'''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 | {{#if: {{{interests|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td colspan="2" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{interests}}}</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}};">'''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 | {{#if: {{{education|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td colspan="2" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{education}}}</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}};">'''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 | {{#if: {{{servicerecord|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td colspan="2" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{servicerecord}}}</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}};">'''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 | {{#if: {{{decorations|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #252525"><td colspan="2" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{decorations}}}</td></tr>|}} | ||
</table></td></tr></table> | </table></td></tr></table> | ||
<!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --> | <!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --> |
Revision as of 16:35, 3 June 2016
|
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