Difference between revisions of "Template:Infobox Battle"
Jump to navigation
Jump to search
Daedalus-01 (talk | contribs) (corrected the example, please use it as a base for all every battle.) |
|||
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|# | <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|# | <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>''' | <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>''' | <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|# | <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|# | <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|# | <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|# | <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}}} |
Revision as of 15:44, 19 December 2008
| |||||||||||||||||||||||||||||||||||||
[Source] |
Field list
- prev (collapsible)
- conc (collapsible)
- next (collapsible)
- name
- image
- conflict
- date
- place
- result
- side1
- side2
- commanders1
- commanders2
- forces1
- forces2
- casual1
- casual2
Example
| |||||||||||||||||||||||||||||||||||||||||
[Source] |
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= }}