Template:Battle: Difference between revisions
m (Add templates) |
m (Colour fix) |
||
Line 1: | Line 1: | ||
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:300px; background:# | <table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:300px; background:#333; 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:# | <table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:300px; background:#333; border-collapse:collapse;"> | ||
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|# | {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#333}}};"><td colspan="2" style="padding:0; 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|#333}}}; vertical-align:top;"><td>'''Previous''':</td><td class="infoboxcell" style="width:100%;"> | ||
{{{prev}}} | {{{prev}}} | ||
</td></tr></table> | </td></tr></table> | ||
</td></tr>|1{{{prev|}}}=}} | </td></tr>|1{{{prev|}}}=}} | ||
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|# | {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#333}}};"><td colspan="2" style="padding:0; 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|#333}}}; vertical-align:top;"><td>'''Concurrent''':</td><td class="infoboxcell" style="width:100%;"> | ||
{{{conc}}} | {{{conc}}} | ||
</td></tr></table> | </td></tr></table> | ||
</td></tr>|1{{{conc|}}}=}} | </td></tr>|1{{{conc|}}}=}} | ||
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|# | {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#333}}};"><td colspan="2" style="padding:0; 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|#333}}}; vertical-align:top;"><td>'''Next''':</td><td class="infoboxcell" style="width:100%;"> | ||
{{{next}}} | {{{next}}} | ||
</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|#222}}}; 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|#222}}};">{{{image|}}}</td></tr> | ||
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|# | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#333}}};"><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|#333}}}; vertical-align:top;"><td>'''Conflict''':</td><td class="infoboxcell" style="width:100%;"> | ||
{{{conflict}}} | {{{conflict}}} | ||
</td></tr></table> | </td></tr></table> | ||
</td></tr> | </td></tr> | ||
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|# | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#333}}};"><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|#333}}}; vertical-align:top;"><td>'''Date''':</td><td class="infoboxcell" style="width:100%;"> | ||
{{{date}}} | {{{date}}} | ||
</td></tr></table> | </td></tr></table> | ||
</td></tr> | </td></tr> | ||
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|# | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#333}}};"><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|#333}}}; vertical-align:top;"><td>'''Place''':</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|# | <tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#333}}};"><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|#333}}}; vertical-align:top;"><td>'''Outcome''':</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|#222}}};">'''Combatants'''</th></tr> | ||
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; text-align:center; background:{{{c3|# | <tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; text-align:center; background:{{{c3|#333}}};"><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;"> | ||
{{{side1}}} | {{{side1}}} | ||
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> | </td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> | ||
{{{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|#222}}};">'''Commanders'''</th></tr> | ||
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|# | <tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#333}}};"><td class="infoboxcell" width="50%" style="border-top: 1px solid #999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;"> | ||
{{{commanders1}}} | {{{commanders1}}} | ||
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> | </td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> | ||
{{{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|#222}}};">'''Strength'''</th></tr> | ||
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|# | <tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#333}}};"><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;"> | ||
{{{forces1}}} | {{{forces1}}} | ||
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> | </td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> | ||
{{{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|#222}}};">'''Casualties'''</th></tr> | ||
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|# | <tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#333}}};"><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;"> | ||
{{{casual1}}} | {{{casual1}}} | ||
</td><td class="infoboxcell" width="33%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> | </td><td class="infoboxcell" width="33%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;"> | ||
{{{casual2}}} | {{{casual2}}} | ||
</td></tr></table></div> | </td></tr></table></div></td></tr></table><noinclude> | ||
For battles, use [[Template:battle]]. | For battles, use [[Template:battle]]. | ||
Revision as of 16:48, 7 March 2009
|
For battles, use Template:battle.
For three-way battles, use Template:Triple battle infobox.
For four-way battles, use Template:Quad battle infobox.
For six-way battles, use Template:Hex battle infobox.
For wars or other conflicts, use Template:War.
For three-way wars, use Template:Three-way War.
For four-way wars, use Template:Four-way War.
For six-way wars, use Template:Six-way War.
For missions, use Template:mission.
For duels, use Template:duel.
For campaigns, use Template:Campaign.
For general events, use Template:event.
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:
{{battle |prev= |conc= |next= |name= |image= |conflict= |date= |place= |result= |side1= |side2= |commanders1= |commanders2= |forces1= |forces2= |casual1= |casual2= }}