Difference between revisions of "Template:Infobox Character"

From Imperial Wiki
Jump to navigation Jump to search
(remove prev/conc/next links)
(Undo revision 14220 by Ted C (Talk))
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|
{|
|}
|}
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:300px; 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:300px; 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">{{{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>'''Conflict''':</td><td class="infoboxcell" style="width:100%;">
<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%;">
{{{conflict}}}
{{{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>'''Date''':</td><td class="infoboxcell" style="width:100%;">
<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%;">
{{{date}}}
{{{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>'''Location''':</td><td class="infoboxcell" style="width:100%;">
<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%;">
{{{place}}}
{{{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>'''Result''':</td><td class="infoboxcell" style="width:100%;">
<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%;">
{{{result}}}
{{{gender}}}
</td></tr></table>
</td></tr></table>
</td></tr>
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#BBBBBB}}};">'''Combatants'''</th></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>'''Born''':</td><td class="infoboxcell" style="width:100%;">
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; text-align:left; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
{{{birthdate}}}
{{{side1}}}
</td></tr></table>
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
{{{side2}}}
</td></tr>
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#BBBBBB}}};">'''Commanders'''</th></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>'''Died''':</td><td class="infoboxcell" style="width:100%;">
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
{{{deathdate}}}
{{{commanders1}}}
</td></tr></table>
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
{{{commanders2}}}
</td></tr>
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#BBBBBB}}};">'''Forces'''</th></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%;">&nbsp;&nbsp;[[Template:Infobox Character|[Source]]]</td></tr></table>
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
 
{{{forces1}}}
<noinclude>
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
{{{forces2}}}
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#BBBBBB}}};">'''Losses'''</th></tr>
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
{{{casual1}}}
</td><td class="infoboxcell" width="33%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
{{{casual2}}}
</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%;">&nbsp;&nbsp;[[Template:Infobox Battle|[Source]]]</td></tr></table><noinclude>
{{clear}}
{{clear}}
==Field list==
==Field list==
*name
*name
*image
*image
*conflict
*quote
*date
*race
*place
*affiliation
*result
*gender
*side1
*birthdate
*side2
*deathdate
*commanders1
*commanders2
*forces1
*forces2
*casual1
*casual2
 
<!-- ==Example==
{{Infobox Battle
|name=Battle of Yavin
|image=[[Image:X-Wings.jpg]]
|conflict=[[Galactic Civil War]]
|date=0 ABY
|place=[[Yavin IV]]
|result=Rebel victory
|side1=*[[Rebel Alliance]]
|side2=[[Galactic Empire]]
|commanders1=*General Dodanna
|commanders2=Grand Moff Tarkin
|forces1=*30 Rebel Starfighters
*[[Millenium Falcon]]
|forces2=*Death Star 1
*TIE Fighters
*[Darth Vader's TIE Fighter
|casual1=Most Rebel Starfighters
|casual2=*Death Star 1
*Grand Moff Tarkin
}} -->


==Usage==
==Usage==
To use this template, paste the following code into the top of the article, filling all relevant fields:
To use this template, paste the following code into the top of the article, filling all relevant fields:
<pre><nowiki>
<pre><nowiki>
{{Infobox Battle
{{Infobox Character
|name=
|name=
|image=
|image=
|conflict=
|quote=
|date=
|race=
|place=
|affiliation=
|result=
|gender=
|side1=
|birthdate=
|side2=
|deathdate=
|commanders1=
|commanders2=
|forces1=
|forces2=
|casual1=
|casual2=
}}
}}
</nowiki></pre>[[Category:Infobox templates|Battle]]</noinclude>
</nowiki></pre>[[Category:Infobox templates|Character]]</noinclude>

Latest revision as of 19:28, 18 May 2009

{{{name}}}
Quote:

{{{quote}}}

Race:

{{{race}}}

Affiliation:

{{{affiliation}}}

Gender:

{{{gender}}}

Born:

{{{birthdate}}}

Died:

{{{deathdate}}}

  [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=
}}