Template:Character Infobox: Difference between revisions

From Star Trek: Theurgy Wiki

mNo edit summary
mNo 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:#454545; 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:#454545; 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|#454545}}};">{{{image|}}}</td></tr>
<tr><td colspan="2" style="padding:0; background:{{{imageBG|#252525}}};">{{{image|}}}</td></tr>
<tr style="text-align:center; color:#ffffff; background:#454545; 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:#777777;">'''Biographical information'''</th></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#777777;">'''Biographical information'''</th></tr>
{{#if: {{{homeworld|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #454545"><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: #454545"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&nbsp;of&nbsp;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&nbsp;of&nbsp;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: #454545"><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: #454545"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&nbsp;of&nbsp;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&nbsp;of&nbsp;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:#777777;">'''Personal Information'''</th></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#777777;">'''Personal Information'''</th></tr>
{{#if: {{{species|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #454545"><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: #454545"><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>|}}
{{#if: {{{height|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #454545"><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: {{{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 style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #454545"><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: {{{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: {{{build|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #454545"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Build</td><td  style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{build}}}</td></tr>|}}
{{#if: {{{build|}}} |<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;">Build</td><td  style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{build}}}</td></tr>|}}
{{#if: {{{hair|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #454545"><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: #454545"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Eye&nbsp;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&nbsp;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:#777777;">'''Chronological and political information'''</th></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#777777;">'''Chronological and political information'''</th></tr>
{{#if: {{{ship|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #454545"><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: #454545"><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>|}}
{{#if: {{{rank|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #454545"><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: {{{affiliation|}}} |<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: #454545"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Affiliation</td><td  style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{affiliation}}}</td></tr>|}}
{{#if: {{{affiliation|}}} |<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;">Affiliation</td><td  style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{affiliation}}}</td></tr>|}}
</table></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Character Infobox|[Source]]]</td></tr></table>
</table></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Character Infobox|[Source]]]</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 13:43, 15 May 2016








{{{name}}}
Biographical information
Personal Information
Chronological and political information
  [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