Difference between revisions of "Template:Infobox Character"
Jump to navigation
Jump to search
(remove double cells for battle info) |
|||
Line 5: | Line 5: | ||
<tr style="text-align:center; color:#ffffff; background:{{{c1|#000000}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> | <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>'''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>'''Birthdate''':</td><td class="infoboxcell" style="width:100%;"> | ||
{{{ | {{{birthdate}}} | ||
</td></tr></table> | |||
</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>'''Date of Death''':</td><td class="infoboxcell" style="width:100%;"> | |||
{{{deathdate}}} | |||
</td></tr></table> | </td></tr></table> | ||
</td></tr> | </td></tr> | ||
Line 29: | Line 33: | ||
*image | *image | ||
*conflict > race | *conflict > race | ||
*affiliation | |||
*date > gender | *date > gender | ||
*place > birthdate | *place > birthdate | ||
*result | *result > deathdate | ||
==Usage== | ==Usage== | ||
Line 49: | Line 44: | ||
|name= | |name= | ||
|image= | |image= | ||
| | |race= | ||
| | |affiliation= | ||
| | |gender= | ||
| | |birthdate= | ||
|deathdate= | |||
}} | }} | ||
</nowiki></pre>[[Category:Infobox templates|Battle]]</noinclude> | </nowiki></pre>[[Category:Infobox templates|Battle]]</noinclude> |
Revision as of 18:26, 13 January 2009
| |||||||||||||||||||||||||
[Source] |
Field list
- name
- image
- conflict > race
- affiliation
- date > gender
- place > birthdate
- result > deathdate
Usage
To use this template, paste the following code into the top of the article, filling all relevant fields:
{{Infobox Battle |name= |image= |race= |affiliation= |gender= |birthdate= |deathdate= }}