Template:Character Infobox: Difference between revisions
From Star Trek: Theurgy Wiki
SummerDawn (talk | contribs) mNo edit summary |
SummerDawn (talk | contribs) 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:# | <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:# | <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|# | <tr><td colspan="2" style="padding:0; background:{{{imageBG|#252525}}};">{{{image|}}}</td></tr> | ||
<tr style="text-align:center; color:#ffffff; background:# | <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: # | {{#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: # | {{#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: # | {{#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: # | {{#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:#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: # | {{#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: # | {{#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: # | {{#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: # | {{#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: # | {{#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: # | {{#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: # | {{#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:#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: # | {{#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: # | {{#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: # | {{#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: # | {{#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%;"> [[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%;"> [[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
| |||||||||||
[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