Template:Character Infobox: Difference between revisions

From Star Trek: Theurgy Wiki

mNo edit summary
No edit summary
Line 1: Line 1:
{{#switch: {{{dept}}}
| Command = {{#vardefine:bgcolor|951116}}
| {{#vardefine:bgcolor|454545}}
}}
<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;">
<tr><td colspan="2" style="padding:0; background:{{{imageBG|#252525}}};">{{{image|}}}</td></tr>
<tr><td colspan="2" style="padding:0; background:{{{imageBG|#252525}}};">{{{image|}}}</td></tr>
<tr style="text-align:center; color:#ffffff; background:#252525; font-size:larger;"><th colspan="2">{{{name}}}</th></tr>
<tr style="text-align:center; color:#ffffff; background:#252525; font-size:larger;"><th colspan="2">{{{name}}}</th></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{#switch: {{{dept}}} | Command = 951116 | 454545}};">'''Character information'''</th></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{bgcolor}};">'''Character information'''</th></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>|}}
{{#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;">Rank</td><td  style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{callsign}}}</td></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;">Rank</td><td  style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{callsign}}}</td></tr>|}}
Line 49: Line 54:


===Display parameters===
===Display parameters===
Dept: Command, Security, Tactical Conn, Medical, Counseling, Engineering, Ops, Science, Civilian


Gender: Male, Female, Hermophrodite, Neuter
Gender: Male, Female, Hermophrodite, Neuter

Revision as of 17:06, 15 May 2016

{{#vardefine:bgcolor|454545}}






{{{name}}}
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