Difference between revisions of "Template:Infobox Battle"

From Imperial Wiki
Jump to navigation Jump to search
(New page: {| |} <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 #...)
 
 
(5 intermediate revisions by 2 users not shown)
Line 15: Line 15:
</td></tr></table>
</td></tr></table>
</td></tr>|1{{{next|}}}=}}
</td></tr>|1{{{next|}}}=}}
<tr style="text-align:center; color:#ffffff; background:{{{c1|#7995CA}}}; 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|#B4C5E3}}};">{{{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>'''Conflict''':</td><td class="infoboxcell" style="width:100%;">
{{{conflict}}}
{{{conflict}}}
Line 25: Line 25:
</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>'''Place''':</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>'''Location''':</td><td class="infoboxcell" style="width:100%;">
{{{place}}}
{{{place}}}
</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>'''Outcome''':</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>'''Result''':</td><td class="infoboxcell" style="width:100%;">
{{{result}}}
{{{result}}}
</td></tr></table>
</td></tr></table>
</td></tr>
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#B4C5E3}}};">'''Combatants'''</th></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: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;">
<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;">
{{{side1}}}
{{{side1}}}
Line 39: Line 39:
{{{side2}}}
{{{side2}}}
</td></tr>
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#B4C5E3}}};">'''Commanders'''</th></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: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;">
<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;">
{{{commanders1}}}
{{{commanders1}}}
Line 45: Line 45:
{{{commanders2}}}
{{{commanders2}}}
</td></tr>
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#B4C5E3}}};">'''Strength'''</th></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#BBBBBB}}};">'''Forces'''</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;">
<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}}}
{{{forces1}}}
Line 51: Line 51:
{{{forces2}}}
{{{forces2}}}
</td></tr>
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#B4C5E3}}};">'''Casualties'''</th></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;">
<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}}}
{{{casual1}}}
Line 76: Line 76:
*casual1
*casual1
*casual2
*casual2
<!-- ==Example==
{{Infobox Battle
|prev=
|conc=
|next=[[Battle of Hoth]]
|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==

Latest revision as of 19:53, 19 December 2008

{{{name}}}
Conflict:

{{{conflict}}}

Date:

{{{date}}}

Location:

{{{place}}}

Result:

{{{result}}}

Combatants

{{{side1}}}

{{{side2}}}

Commanders

{{{commanders1}}}

{{{commanders2}}}

Forces

{{{forces1}}}

{{{forces2}}}

Losses

{{{casual1}}}

{{{casual2}}}

  [Source]

Field list

  • prev (collapsible)
  • conc (collapsible)
  • next (collapsible)
  • name
  • image
  • conflict
  • date
  • place
  • result
  • side1
  • side2
  • commanders1
  • commanders2
  • forces1
  • forces2
  • casual1
  • casual2


Usage

To use this template, paste the following code into the top of the article, filling all relevant fields:

{{Infobox Battle
|prev=
|conc=
|next=
|name=
|image=
|conflict=
|date=
|place=
|result=
|side1=
|side2=
|commanders1=
|commanders2=
|forces1=
|forces2=
|casual1=
|casual2=
}}