Difference between revisions of "Template:Infobox Military Conflict"

From BattleMaster Wiki
Jump to navigation Jump to search
(removing more ifs)
(more ifs)
Line 7: Line 7:
 
|-
 
|-
 
{{#if:{{{image|}}} |
 
{{#if:{{{image|}}} |
| colspan="2" style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa;" {{!}} {{{image|}}}<br/>{{{caption|}}}
+
colspan="2" style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa;" | {{{image|}}}<br/>{{{caption|}}}
 
}}
 
}}
 
|-
 
|-
| {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} |  
+
| colspan="2" |  
 +
 
 
{| class="infobox" width="100%" style="margin: 0; cellpadding: 0; padding: 0; border: 0;"
 
{| class="infobox" width="100%" style="margin: 0; cellpadding: 0; padding: 0; border: 0;"
 
|-
 
|-
Line 22: Line 23:
 
| {{{result|}}}
 
| {{{result|}}}
 
|-
 
|-
{{#if:{{{casus|}}} |
 
 
! style="padding-right: 1em;" {{!}} <i>[[Casus belli|Casus&nbsp;belli]]</i>
 
! style="padding-right: 1em;" {{!}} <i>[[Casus belli|Casus&nbsp;belli]]</i>
 
| {{{casus|}}}
 
| {{{casus|}}}
}}
 
 
|-
 
|-
{{#if:{{{territory|}}} |
 
 
! style="padding-right: 1em;" {{!}} Territorial<br>changes
 
! style="padding-right: 1em;" {{!}} Territorial<br>changes
 
| {{{territory|}}}
 
| {{{territory|}}}
}}
 
 
|}
 
|}
 +
 
|-
 
|-
 
{{#if:{{{combatant1|}}}{{{combatant2|}}}{{{combatant3|}}} |
 
{{#if:{{{combatant1|}}}{{{combatant2|}}}{{{combatant3|}}} |

Revision as of 18:48, 26 January 2007

Template copied from Wikipedia.

The infobox should be added using the Infobox Military Conflict template, as shown below:

{{Infobox Military Conflict
|conflict=
|partof=
|image=
|caption=
|date=
|place=
|casus=
|territory=
|result=
|combatant1=
|combatant2=
|combatant3=
|commander1=
|commander2=
|commander3=
|strength1=
|strength2=
|strength3=
|casualties1=
|casualties2=
|casualties3=
|notes=
}}