Template:Infobox military conflict

{{#if:{{{campaignbox|}}} {{#if:{{{combatant1|}}}{{{combatant2|}}}{{{combatant3|}}} Belligerents {{{combatant1|}}} {{#if:{{{combatant2|}}} }}{{#if:{{{combatant3|}}} }} }}{{#if:{{{combatant1a|}}}{{{combatant2a|}}}{{{combatant3a|}}} {{{combatant1a|}}} {{#if:{{{combatant2a|}}} }}{{#if:{{{combatant3a|}}} }} }}{{#if:{{{combatant1b|}}}{{{combatant2b|}}}{{{combatant3b|}}} {{{combatant1b|}}} {{#if:{{{combatant2b|}}} }}{{#if:{{{combatant3b|}}} }} }}{{#if:{{{combatant1c|}}}{{{combatant2c|}}}{{{combatant3c|}}} {{{combatant1c|}}} {{#if:{{{combatant2c|}}}| {{{combatant2c}}} }}{{#if:{{{combatant3c|}}} }} }}{{#if:{{{combatant1d|}}}{{{combatant2d|}}}{{{combatant3d|}}} {{{combatant1d|}}} {{#if:{{{combatant2d|}}} }}{{#if:{{{combatant3d|}}} }} }}{{#if:{{{commander1|}}}{{{commander2|}}}{{{commander3|}}} Commanders and leaders {{{commander1|}}} {{{commander2|}}} {{#if:{{{combatant3|}}} }} }}{{#if:{{{units1|}}}{{{units2|}}}{{{units3|}}} Units involved {{{units1|}}} {{{units2|}}} {{#if:{{{combatant3|}}} }} }}{{#if:{{{strength1|}}}{{{strength2|}}}{{{strength3|}}} Strength {{{strength1|}}} {{{strength2|}}} {{#if:{{{combatant3|}}} }} }}{{#if:{{{combatant3|}}} <td colspan="2" style="text-align:center; {{#if:{{{strength1|}}}{{{strength2|}}}|border-top:1px dotted #aaa;}}">{{{strength3}}} }}}}{{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}} <th colspan="{{#if:{{{combatant3|}}}|3|2}}" style="background-color: #B0C4DE; text-align: center; vertical-align: middle; font-size: 110%;">Casualties and losses <td {{#if:{{{combatant3|}}}|style="width:33%; border-right:1px dotted #aaa;"|style="width:50%; border-right:1px dotted #aaa;"}}>{{{casualties1|}}} <td {{#if:{{{combatant3|}}}|style="width:33%; padding-left:0.25em"|style="width:50%; padding-left:0.25em"}}>{{{casualties2|}}} {{#if:{{{combatant3|}}} }} }}{{#if:{{{combatant3|}}} <td colspan="2" style="text-align:center; {{#if:{{{casualties1|}}}{{{casualties2|}}}|border-top:1px dotted #aaa;}}">{{{casualties3}}} }}}}{{#if:{{{notes|}}} <td colspan="{{#if:{{{combatant3|}}}|3|2}}" style="font-size:90%; border-top:{{WPMILHIST Infobox style|section_border}}">{{{notes}}} }}{{#if: {{{map_type|}}}| <td colspan="{{#if:{{{combatant3|}}}|3|2}}" style="border-top:1px dotted #aaa;"> {{Location map|{{{map_type}}}|lat={{{latitude}}}|long={{{longitude}}}|width={{{map_size|220}}}|float=center|border=none|marksize={{{map_marksize|8}}}|label={{{map_label|}}}|caption={{{map_caption|Location within {{{map_type}}}}}}}} }}{{#if:{{{campaignbox|}}} {{{campaignbox|}}} }}
 * <td {{#if:{{{combatant3|}}}|style="width:33%; padding-left:0.25em"|style="width:50%; padding-left:0.25em"}}>{{{combatant2}}}
 * <td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa;">{{{combatant3}}}
 * <td {{#if:{{{combatant3a|}}}|style="width:33%; padding-left:0.25em; border-top:1px dotted #aaa;"|style="width:50%; padding-left:0.25em; border-top:1px dotted #aaa;"}}>{{{combatant2a}}}
 * <td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa; border-top:1px dotted #aaa;">{{{combatant3a}}}
 * <td {{#if:{{{combatant3b|}}}|style="width:33%; padding-left:0.25em; border-top:1px dotted #aaa;"|style="width:50%; padding-left:0.25em; border-top:1px dotted #aaa;"}}>{{{combatant2b}}}
 * <td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa; border-top:1px dotted #aaa;">{{{combatant3b}}}
 * <td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa; border-top:1px dotted #aaa;">{{{combatant3c}}}
 * <td {{#if:{{{combatant3d|}}}|style="width:33%; padding-left:0.25em; border-top:1px dotted #aaa;"|style="width:50%; padding-left:0.25em; border-top:1px dotted #aaa;"}}>{{{combatant2d}}}
 * <td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa; border-top:1px dotted #aaa;">{{{combatant3d}}}
 * <td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa;">{{{commander3|}}}
 * <td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa;">{{{units3|}}}
 * <td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa;">{{{strength3|}}}
 * {{#if:{{{strength3|}}}
 * <td style="width:33%; padding-left:0.25em; border-left:1px dotted #aaa;">{{{casualties3|}}}
 * {{#if:{{{casualties3|}}}