Difference between revisions of "Template:Infobox Character"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:200px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;"><tr><td colspan="2"><div id="infoboxinternal"> | <table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:200px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;"><tr><td colspan="2"><div id="infoboxinternal"> | ||
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:200px; background:#ffffff; border-collapse:collapse;"> | <table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:200px; background:#ffffff; border-collapse:collapse;"> | ||
<tr style="text-align:center; color:#ffffff; background:{{{c1|#000000}}}; font-size:larger;"><th colspan="2">{{{ | <tr style="text-align:center; color:#ffffff; background:{{{c1|#000000}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> | ||
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{c2|#BBBBBB}}};">{{{image|}}}</td></tr> | <tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{c2|#BBBBBB}}};">{{{image|}}}</td></tr> | ||
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>''' | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Quote''':</td><td class="infoboxcell" style="width:100%;"> | ||
{{{ | {{{quote}}} | ||
</td></tr></table> | </td></tr></table> | ||
</td></tr> | </td></tr> | ||
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>''' | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Race''':</td><td class="infoboxcell" style="width:100%;"> | ||
{{{ | {{{race}}} | ||
</td></tr></table> | </td></tr></table> | ||
</td></tr> | </td></tr> | ||
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>''' | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Affiliation''':</td><td class="infoboxcell" style="width:100%;"> | ||
{{{ | {{{affiliation}}} | ||
</td></tr></table> | </td></tr></table> | ||
</td></tr> | </td></tr> | ||
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>''' | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Gender''':</td><td class="infoboxcell" style="width:100%;"> | ||
{{{ | {{{gender}}} | ||
</td></tr></table> | </td></tr></table> | ||
</td></tr> | </td></tr> | ||
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>''' | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Born''':</td><td class="infoboxcell" style="width:100%;"> | ||
{{{ | {{{birthdate}}} | ||
</td></tr></table> | </td></tr></table> | ||
</td></tr> | </td></tr> | ||
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>''' | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Died''':</td><td class="infoboxcell" style="width:100%;"> | ||
{{{ | {{{deathdate}}} | ||
</td></tr></table> | </td></tr></table> | ||
</td></tr> | </td></tr> | ||
</table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;"> [[Template:Infobox Character|[Source]]]</td></tr></table> | </table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;"> [[Template:Infobox Character|[Source]]]</td></tr></table> | ||
<noinclude> | <noinclude> | ||
{{clear}} | |||
==Field list== | |||
*name | |||
*image | |||
*quote | |||
*race | |||
*affiliation | |||
*gender | |||
*birthdate | |||
*deathdate | |||
==Usage== | ==Usage== | ||
<pre | To use this template, paste the following code into the top of the article, filling all relevant fields: | ||
{{ | <pre><nowiki> | ||
| | {{Infobox Character | ||
| | |name= | ||
| | |image= | ||
| | |quote= | ||
| | |race= | ||
| | |affiliation= | ||
| | |gender= | ||
| | |birthdate= | ||
|deathdate= | |||
}} | }} | ||
</pre> | </nowiki></pre>[[Category:Infobox templates|Character]]</noinclude> | ||
[[Category: |
Latest revision as of 19:28, 18 May 2009
| |||||||||||||||||||||||||||||
[Source] |
Field list
- name
- image
- quote
- race
- affiliation
- gender
- birthdate
- deathdate
Usage
To use this template, paste the following code into the top of the article, filling all relevant fields:
{{Infobox Character |name= |image= |quote= |race= |affiliation= |gender= |birthdate= |deathdate= }}