Difference between revisions of "Template:Infobox Military Conflict"

From BattleMaster Wiki
Jump to navigation Jump to search
(reverting to #if:)
(rmv {{!}})
Line 5: Line 5:
 
|-
 
|-
 
{{#if:{{{partof|}}} |
 
{{#if:{{{partof|}}} |
{{!}} {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} style="text-align: center; background: lightsteelblue;" {{!}} Part of {{{partof|}}}
+
| {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} style="text-align: center; background: lightsteelblue;" {{!}} Part of {{{partof|}}}
 
}}
 
}}
 
|-
 
|-
 
{{#if:{{{image|}}} |
 
{{#if:{{{image|}}} |
{{!}} {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa;" {{!}} {{{image|}}}<br/>{{{caption|}}}
+
| {{#if:{{{combatant3|}}} | colspan="3" | colspan="2" }} style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa;" {{!}} {{{image|}}}<br/>{{{caption|}}}
 
}}
 
}}
 
|-
 
|-
Line 26: Line 26:
 
{{#if:{{{casus|}}} |
 
{{#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|}}} |
 
{{#if:{{{territory|}}} |
 
! style="padding-right: 1em;" {{!}} Territorial<br>changes
 
! style="padding-right: 1em;" {{!}} Territorial<br>changes
{{!}} {{{territory|}}}
+
| {{{territory|}}}
 
}}
 
}}
 
|}
 
|}
Line 40: Line 40:
 
|-
 
|-
 
{{#if:{{{combatant1|}}}{{{combatant2|}}}{{{combatant3|}}} |
 
{{#if:{{{combatant1|}}}{{{combatant2|}}}{{{combatant3|}}} |
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="border-right: 1px dotted #aaa;" {{!}} {{{combatant1|}}}
+
| {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="border-right: 1px dotted #aaa;" | {{{combatant1|}}}
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="padding-left: 0.25em;" {{!}} {{{combatant2|}}}
+
| {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="padding-left: 0.25em;" | {{{combatant2|}}}
 
{{#if:{{{combatant3|}}} |  
 
{{#if:{{{combatant3|}}} |  
{{!}} width="33%" style="border-left: 1px dotted #aaa; padding-left: 0.25em;" {{!}} {{{combatant3|}}}
+
| width="33%" style="border-left: 1px dotted #aaa; padding-left: 0.25em;" | {{{combatant3|}}}
 
}}}}
 
}}}}
 
|-
 
|-
Line 51: Line 51:
 
|-
 
|-
 
{{#if:{{{commander1|}}}{{{commander2|}}}{{{commander3|}}} |
 
{{#if:{{{commander1|}}}{{{commander2|}}}{{{commander3|}}} |
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="border-right: 1px dotted #aaa;" {{!}} {{{commander1|}}}
+
| {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="border-right: 1px dotted #aaa;" | {{{commander1|}}}
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="padding-left: 0.25em;" {{!}} {{{commander2|}}}
+
| {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="padding-left: 0.25em;" | {{{commander2|}}}
 
{{#if:{{{combatant3|}}} |  
 
{{#if:{{{combatant3|}}} |  
{{!}} width="33%" style="border-left: 1px dotted #aaa; padding-left: 0.25em;" {{!}} {{{commander3|}}}
+
| width="33%" style="border-left: 1px dotted #aaa; padding-left: 0.25em;" | {{{commander3|}}}
 
}}}}
 
}}}}
 
|-
 
|-
Line 62: Line 62:
 
|-
 
|-
 
{{#if:{{{strength1|}}}{{{strength2|}}}{{{strength3|}}} |
 
{{#if:{{{strength1|}}}{{{strength2|}}}{{{strength3|}}} |
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="border-right: 1px dotted #aaa;" {{!}} {{{strength1|}}}
+
| {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="border-right: 1px dotted #aaa;" | {{{strength1|}}}
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="padding-left: 0.25em;" {{!}} {{{strength2|}}}
+
| {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="padding-left: 0.25em;" | {{{strength2|}}}
 
{{#if:{{{combatant3|}}} |  
 
{{#if:{{{combatant3|}}} |  
{{!}} width="33%" style="border-left: 1px dotted #aaa; padding-left: 0.25em;" {{!}} {{{strength3|}}}
+
| width="33%" style="border-left: 1px dotted #aaa; padding-left: 0.25em;" | {{{strength3|}}}
 
}}}}
 
}}}}
 
|-
 
|-
Line 73: Line 73:
 
|-
 
|-
 
{{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}} |
 
{{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}} |
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="border-right: 1px dotted #aaa;" {{!}} {{{casualties1|}}}
+
| {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="border-right: 1px dotted #aaa;" | {{{casualties1|}}}
{{!}} {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="padding-left: 0.25em;" {{!}} {{{casualties2|}}}
+
| {{#if:{{{combatant3|}}} | width="33%" | width="50%" }} style="padding-left: 0.25em;" | {{{casualties2|}}}
 
{{#if:{{{combatant3|}}} |  
 
{{#if:{{{combatant3|}}} |  
{{!}} width="33%" style="border-left: 1px dotted #aaa; padding-left: 0.25em;" {{!}} {{{casualties3|}}}
+
| width="33%" style="border-left: 1px dotted #aaa; padding-left: 0.25em;" | {{{casualties3|}}}
 
}}}}
 
}}}}
 
|-
 
|-
 
{{#if:{{{combatant3|}}} | | {{#if:{{{casualties3|}}} |
 
{{#if:{{{combatant3|}}} | | {{#if:{{{casualties3|}}} |
{{!}} colspan="2" style="text-align: center; {{#if:{{{casualties1|}}}{{{casualties2|}}} | border-top: 1px dotted #aaa;}}" {{!}} {{{casualties3|}}}
+
| colspan="2" style="text-align: center; {{#if:{{{casualties1|}}}{{{casualties2|}}} | border-top: 1px dotted #aaa;}}" | {{{casualties3|}}}
 
}}}}
 
}}}}
 
|-
 
|-
 
{{#if:{{{notes|}}} |
 
{{#if:{{{notes|}}} |
{{!}} {{#if:{{{combatant3|}}}|colspan="3"|colspan="2"}} style="font-size:90%; border-top:1px solid #aaa;" {{!}} {{{notes|}}}
+
| {{#if:{{{combatant3|}}}|colspan="3"|colspan="2"}} style="font-size:90%; border-top:1px solid #aaa;" | {{{notes|}}}
 
}}
 
}}
 
|}</includeonly><noinclude>Template copied from Wikipedia
 
|}</includeonly><noinclude>Template copied from Wikipedia
The infobox should be added using the {{tl|Infobox Military Conflict}} template, as shown below:
+
The infobox should be added using the Infobox Military Conflict template, as shown below:
  
 
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
 
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>

Revision as of 16:41, 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=
}}