Template:Battle: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
mNo edit summary
No edit summary
 
(41 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" align="right" style="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">
{| class="infoboxtemp" width="250" align="right" cellpadding="3" cellspacing="0"
<table border="0" cellspacing="0" cellpadding="4" style="clear:both; 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|#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%;">
{{#if: {{{prev|}}}|
{{{prev}}}
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; colspan="2" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} '''Previous''': {{{prev}}}}}
</td></tr></table>
|-
</td></tr>|1{{{prev|}}}=}}
{{#if: {{{conc|}}}|
{{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%;">
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; colspan="2" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} '''Concurrent''': {{{conc}}}}}
{{{conc}}}
|-
</td></tr></table>
{{#if: {{{next|}}}|
</td></tr>|1{{{conc|}}}=}}
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; colspan="2" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} '''Next''': {{{next}}}}}
{{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}}}
{{#if: {{{image|}}}|
</td></tr></table>
{{!}} colspan="2" bgcolor={{{bgcolor_value|#222222; style="background: #222222; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller; text-align: center;"}}} {{!}} {{{image}}}}}
</td></tr>|1{{{next|}}}=}}
|-
<tr style="text-align:center; color:#ffffff; background:{{{c1|#222}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr>
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; font-size:larger; background-color:#383838; text-align:center; font-variant:small-caps;" | '''{{{name}}}'''
<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|#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%;">
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#282828; text-align:center; font-size:8pt;" | '''Information'''
{{{conflict}}}
|-
</td></tr></table>
{{#if: {{{conflict|}}}|
</td></tr>
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; colspan="2" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} '''Conflict''': {{{conflict}}}}}
<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}}}
{{#if: {{{objective|}}}|
</td></tr></table>
{{!}} bgcolor={{{bgcolor_value|#222222; colspan="2" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} '''Objective''': {{{objective}}}
</td></tr>
}}
<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}}}
{{#if: {{{date|}}}|
</td></tr></table>
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; colspan="2" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} '''Date''': {{{date}}}}}
</td></tr>
|-
<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%;">
{{#if: {{{place|}}}|
{{{result}}}
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; colspan="2" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} '''Location''': {{{place}}}
</td></tr></table>
}}
</td></tr>
|-
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#222}}};">'''Combatants'''</th></tr>
{{#if: {{{location|}}}|
<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;">
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; colspan="2" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} '''Location''': {{{location}}}
}}
|-
{{#if: {{{participants|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; width="25%" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} '''Participants''':
{{!}} bgcolor={{{bgcolor_value|#222222; width="75%" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}}
{{{participants}}}
}}
|-
{{#if: {{{outcome|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; colspan="2" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} '''Outcome''': {{{outcome}}}
}}
|-
| colspan="2" cellpadding="0" cellspacing="0" style="margin:0; padding:0" |
{| cellspacing="0" cellpadding="4" style="border-width: 0px; width:100%"
|-
{{#if: {{{side1|}}}|
{{!}} colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#282828; text-align:center; font-size:8pt;" {{!}} '''Combatants'''|}}
|-
{{#if: {{{side1|}}}|
{{!}} style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}};" {{!}}
{{{side1}}}
{{{side1}}}
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
}}
{{#if: {{{side2|}}}|
{{!}} style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}};" {{!}}
{{{side2}}}
{{{side2}}}
</td></tr>
}}
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#222}}};">'''Commanders'''</th></tr>
{{#if: {{{side3|}}}|
<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;">
{{!}} style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}};" {{!}}
{{{side3}}}
}}
{{#if: {{{side4|}}}|
{{!}} style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}};" {{!}}
{{{side4}}}
}}
|-
{{#if: {{{side5|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; width="50%" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{side5}}}
}}
{{#if: {{{side6|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; width="50%" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{side6}}}
}}
|-
{{#if: {{{commanders1|}}}|
{{!}} colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#282828; text-align:center; font-size:8pt;" {{!}} '''Commanders'''|}}
|-
{{#if: {{{commanders1|}}}|
{{!}} {{#if: {{{commanders2|}}}| |colspan=2}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{commanders1}}}
{{{commanders1}}}
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
}}
{{#if: {{{commanders2|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top;  font-size:smaller;"}}} {{!}}
{{{commanders2}}}
{{{commanders2}}}
</td></tr>
}}
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#222}}};">'''Strength'''</th></tr>
{{#if: {{{commanders3|}}}|
<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;">
{{!}} {{#if: {{{commanders4|}}}| |colspan=2}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{commanders3}}}
}}
{{#if: {{{commanders4|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{commanders4}}}
}}
|-
{{#if: {{{commanders5|}}}|  
{{!}} {{#if: {{{commanders6|}}}| |colspan=2}} bgcolor={{{bgcolor_value|#222222; width="50%" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{commanders5}}}
}}
{{#if: {{{commanders6|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; width="50%" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{commanders6}}}
}}
|-
{{#if: {{{forces1|}}}|
{{!}} colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#282828; text-align:center; font-size:8pt;" {{!}} '''Strength'''|}}
|-
{{#if: {{{forces1|}}}|
{{!}} {{#if: {{{forces2|}}}| |colspan=2}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{forces1}}}
{{{forces1}}}
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
}}
{{#if: {{{forces2|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{forces2}}}
{{{forces2}}}
</td></tr>
}}
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#222}}};">'''Casualties'''</th></tr>
{{#if: {{{forces3|}}}|
<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;">
{{!}} {{#if: {{{forces4|}}}| |colspan=2}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{forces3}}}
}}
{{#if: {{{forces4|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{forces4}}}
}}
|-
{{#if: {{{forces5|}}}|  
{{!}} {{#if: {{{forces6|}}}| |colspan=2}} bgcolor={{{bgcolor_value|#222222; width="50%" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{forces5}}}
}}
{{#if: {{{forces6|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; width="50%" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{forces6}}}
}}
|-
{{#if: {{{casual1|}}}|
{{!}} colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#282828; text-align:center; font-size:8pt;" {{!}} '''Casualties''' |}}
|-
{{#if: {{{casual1|}}}|
{{!}} {{#if: {{{casual2|}}}| |colspan=2}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{casual1}}}
{{{casual1}}}
</td><td class="infoboxcell" width="33%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
}}
{{#if: {{{casual2|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{casual2}}}
{{{casual2}}}
</td></tr></table></div></td></tr></table><noinclude>
}}
For battles, use [[Template:battle]].
{{#if: {{{casual3|}}}|
{{!}} {{#if: {{{casual4|}}}| |colspan=2}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{casual3}}}
}}
{{#if: {{{casual4|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{casual4}}}
}}
|-
{{#if: {{{casual5|}}}|
{{!}} {{#if: {{{casual6|}}}| |colspan=2}} bgcolor={{{bgcolor_value|#222222; width="50%" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{casual5}}}
}}
{{#if: {{{casual6|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; width="50%" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller;"}}} {{!}}
{{{casual6}}}
}}
|}
|-
|colspan="2" style="border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; text-align: center; color: #e5e5ed; font-variant:small-caps; font-size:smaller; background-color:#383838; text-align:center; border-top: 1px solid #111111;" | {{Link color|Template:Battle|#686868|[ Source ]}}
|}<noinclude>{{Clear}}


For three-way battles, use [[Template:Triple battle infobox]].
=== Usage ===
 
To use: Paste the following text into the desired character article, and fill in the appropriate fields.
For four-way battles, use [[Template:Quad battle infobox]].
<pre>
 
{{Battle
For six-way battles, use [[Template:Hex battle infobox]].
| prev =  
 
| conc =  
For wars or other conflicts, use [[Template:War]].
| next =
 
| image =  
For three-way wars, use [[Template:Three-way War]].
| name =  
 
| conflict = (details about the conflict in question)
For four-way wars, use [[Template:Four-way War]].
| objective = (for mission-based battles)
 
| date =  
For six-way wars, use [[Template:Six-way War]].
| location =
 
| participants = (for events)
For missions, use [[Template:mission]].
| outcome =  
 
| side1 =  
For duels, use [[Template:duel]].
| side2 =
 
| side3 =
For campaigns, use [[Template:Campaign]].
| side4 =
 
| side5 =
For general events, use [[Template:event]].
| side6 =  
 
| commanders1 =  
{{Clear}}
| commanders2 =
===Field list===
| commanders3 =
*prev (collapsible)
| commanders4 =
*conc (collapsible)
| commanders5 =
*next (collapsible)
| commanders6 =  
*name
| forces1 =  
*image
| forces2 =
*conflict
| forces3 =
*date
| forces4 =
*place
| forces5 =
*result
| forces6 =  
*side1
| casual1 =  
*side2
| casual2 =
*commanders1
| casual3 =
*commanders2
| casual4 =
*forces1
| casual5 =
*forces2
| casual6 =  
*casual1
}}</pre>
*casual2
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
 
===Usage===
To use this template, paste the following code into the top of the article, filling all relevant fields:
<pre><nowiki>
{{battle
|prev=
|conc=
|next=
|name=
|image=
|conflict=
|date=
|place=
|result=
|side1=
|side2=
|commanders1=
|commanders2=
|forces1=
|forces2=
|casual1=
|casual2=
}}
</nowiki></pre>[[Category:Campaign infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 18:58, 27 July 2015

{{{name}}}
Information
[ Source ]

Usage

To use: Paste the following text into the desired character article, and fill in the appropriate fields.

{{Battle
| prev = 
| conc = 
| next = 
| image = 
| name = 
| conflict = (details about the conflict in question)
| objective = (for mission-based battles)
| date = 
| location = 
| participants = (for events)
| outcome = 
| side1 = 
| side2 = 
| side3 = 
| side4 = 
| side5 = 
| side6 = 
| commanders1 = 
| commanders2 = 
| commanders3 = 
| commanders4 = 
| commanders5 = 
| commanders6 = 
| forces1 = 
| forces2 = 
| forces3 = 
| forces4 = 
| forces5 = 
| forces6 = 
| casual1 = 
| casual2 = 
| casual3 = 
| casual4 = 
| casual5 = 
| casual6 = 
}}