Template:Character Infobox: Difference between revisions
From Star Trek: Theurgy Wiki
SummerDawn (talk | contribs) mNo edit summary |
SummerDawn (talk | contribs) mNo edit summary |
||
Line 3: | Line 3: | ||
<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:# | <tr><th colspan="2" style="text-align:left; font-weight:normal; background:#454545;">'''Biographical information'''</th></tr> | ||
{{#if: {{{homeworld|}}} |<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;">Homeworld</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{homeworld}}}</td></tr>|}} | {{#if: {{{homeworld|}}} |<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;">Homeworld</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{homeworld}}}</td></tr>|}} | ||
{{#if: {{{birth|}}} |<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;">Date of birth</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{birth}}}</td></tr>|}} | {{#if: {{{birth|}}} |<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;">Date of birth</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{birth}}}</td></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: {{{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: {{{death|}}} |<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;">Date of death</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{death}}}</td></tr>|}} | {{#if: {{{death|}}} |<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;">Date of death</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{death}}}</td></tr>|}} | ||
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:# | <tr><th colspan="2" style="text-align:left; font-weight:normal; background:#454545;">'''Personal Information'''</th></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: {{{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: {{{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: {{{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>|}} | ||
Line 16: | Line 16: | ||
{{#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: {{{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 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>|}} | {{#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; background:# | <tr><th colspan="2" style="text-align:left; font-weight:normal; background:#454545;">'''Chronological and political information'''</th></tr> | ||
{{#if: {{{ship|}}} |<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;">Stationed on</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{ship}}}</td></tr>|}} | {{#if: {{{ship|}}} |<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;">Stationed on</td><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{ship}}}</td></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: {{{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>|}} |
Revision as of 13:45, 15 May 2016
| |||||||||||
[Source] |
Usage instructions
Paste the following code into the top of an article, filling all known fields:
{{Character Infobox |name= |image= |homeworld= |birth= |age= |death= |species= |gender= |height= |weight= |build= |hair= |eyes= |ship= |position= |rank= |affiliation= }}
Display parameters
Birth/Death format MM/DD/YYYY
Gender: Male, Female, Hermophrodite, Neuter
Height: Xft Yin
Weight: XXXlbs
Build: Petite, Slim, Average, Toned, Athletic, Curvy