Difference between revisions of "Template:Infobox Military Conflict"

From BattleMaster Wiki
Jump to navigation Jump to search
(sample)
m (Added Category:Battles into the included syntax)
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{| class="infobox" border="1" style="float: right; width: 315px; border-spacing: 2px; font-size: 95%; text-align: left; border-collapse: collapse; "
+
{| class="infobox" border="1" style="float: right; width: 315px; border-spacing: 2px; font-size: 95%; text-align: left; border-collapse: collapse; margin-left: 1em;"
 
|-  
 
|-  
 
! colspan="2" style="background: lightsteelblue; text-align: center;" | {{{conflict|{{PAGENAME}}}}}
 
! colspan="2" style="background: lightsteelblue; text-align: center;" | {{{conflict|{{PAGENAME}}}}}
 
|-
 
|-
| colspan="2" style="text-align: center; background: lightsteelblue;" | Part of {{{partof|}}}
+
! colspan="2" style="text-align: center; background: lightsteelblue;" | Part of {{{partof|}}}
 
|-
 
|-
 
! 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|}}}
 
|-
 
|-
| 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 17: Line 17:
 
! style="padding-right: 1em;" | Location
 
! style="padding-right: 1em;" | Location
 
| {{{place|}}}
 
| {{{place|}}}
 +
|-
 +
! style="padding-right: 1em;" | Weather
 +
| {{{weather|}}}
 
|-
 
|-
 
! style="padding-right: 1em;" | Result
 
! style="padding-right: 1em;" | Result
| {{{result|}}}
+
| After {{{rounds|}}} rounds, {{{result|}}}
|-
 
! style="padding-right: 1em;" | <i>[[Casus belli|Casus&nbsp;belli]]</i>
 
| {{{casus|}}}
 
 
|-
 
|-
 
! style="padding-right: 1em;" | Territorial<br>changes
 
! style="padding-right: 1em;" | Territorial<br>changes
Line 31: Line 31:
 
! colspan="2" style="background: lightsteelblue; text-align: center;" | Combatants
 
! colspan="2" style="background: lightsteelblue; text-align: center;" | Combatants
 
|-
 
|-
| width="50%" style="border-right: 1px dotted #aaa;" | {{{combatant1|}}}
+
| width="50%" style="border-right: 1px #aaa; padding-left: 0.5em; background: lightsteelblue; text-align: center;" | '''Attackers'''
| width="50%" style="padding-left: 0.25em;" | {{{combatant2|}}}
+
| width="50%" style="padding-left: 0.25em; background: lightsteelblue; text-align: center;" | '''Defenders'''
 +
|-
 +
| width="50%" style="border-right: 1px dotted #aaa; padding-left: 0.5em; vertical-align:top;" | {{{combatant1|}}}
 +
| width="50%" style="padding-left: 0.25em; vertical-align:top;" | {{{combatant2|}}}
 
|-
 
|-
 
! colspan="2" style="background: lightsteelblue; text-align: center;" | Commanders
 
! colspan="2" style="background: lightsteelblue; text-align: center;" | Commanders
 
|-
 
|-
| width="50%" style="border-right: 1px dotted #aaa;" | {{{commander1|}}}
+
| width="50%" style="border-right: 1px dotted #aaa; padding-left: 0.5em;" | {{{commander1|}}}
 
| width="50%" style="padding-left: 0.25em;" | {{{commander2|}}}
 
| width="50%" style="padding-left: 0.25em;" | {{{commander2|}}}
 
|-
 
|-
 
! colspan="2" style="background: lightsteelblue; text-align: center;" | Strength
 
! colspan="2" style="background: lightsteelblue; text-align: center;" | Strength
 
|-
 
|-
| width="50%" style="border-right: 1px dotted #aaa;" | {{{strength1|}}}
+
| width="50%" style="border-right: 1px dotted #aaa; padding-left: 0.5em;" | {{{strength1|}}}
 
| width="50%" style="padding-left: 0.25em;" | {{{strength2|}}}
 
| width="50%" style="padding-left: 0.25em;" | {{{strength2|}}}
 
|-
 
|-
! colspan="2" style="background: lightsteelblue; text-align: center;" | Casualties
+
! colspan="2" style="background: lightsteelblue; text-align: center;" | Formations
 
|-
 
|-
| width="50%" style="border-right: 1px dotted #aaa;" | {{{casualties1|}}}
+
| width="50%" style="border-right: 1px dotted #aaa; padding-left: 0.5em;" | {{{formation1|}}}
| width="50%" style="padding-left: 0.25em;" | {{{casualties2|}}}
+
| width="50%" style="padding-left: 0.25em;" | {{{formation2|}}}
 
|-
 
|-
 +
! colspan="2" style="background: lightsteelblue; text-align: center;" | Casualties
 
|-
 
|-
! colspan="2"}} style="font-size:90%; border-top:1px solid #aaa;" | {{{notes|}}}
+
| width="50%" style="border-right: 1px dotted #aaa; padding-left: 0.5em; vertical-align: top;" | {{{casualties1|}}}
|}</includeonly><noinclude>Template copied from Wikipedia and modified.
+
| width="50%" style="padding-left: 0.25em; vertical-align: top;" | {{{casualties2|}}}
 +
|}
 +
[[Category:Battles]]
 +
</includeonly>
 +
 
 +
<noinclude>Template copied from Wikipedia and modified.
  
 
{{Infobox Military Conflict
 
{{Infobox Military Conflict
Line 60: Line 69:
 
|date=Yesterday
 
|date=Yesterday
 
|place=My backyard
 
|place=My backyard
|casus=They started it!
+
|weather=Windy
|territory=Medlockia
+
|territory=No change
 
|result=Defender Victory
 
|result=Defender Victory
 
|combatant1=Bad Guys
 
|combatant1=Bad Guys
Line 69: Line 78:
 
|strength1=100
 
|strength1=100
 
|strength2=Just 1 lonely noble
 
|strength2=Just 1 lonely noble
|casualties1=99
+
|formation1=Infantry Wall
|casualties2=0
+
|formation2=None
|notes=A massive victory for the defenders
+
|casualties1=99 soldiers
 +
|casualties2=0 soldiers<br><b>Nobles wounded:</b><br>Linker, ''Noble of Heen''
 +
|rounds=300
 
}}
 
}}
  
Line 84: Line 95:
 
|date=
 
|date=
 
|place=
 
|place=
|casus=
+
|weather=
 
|territory=
 
|territory=
 
|result=
 
|result=
Line 93: Line 104:
 
|strength1=
 
|strength1=
 
|strength2=
 
|strength2=
 +
|formation1=
 +
|formation2=
 
|casualties1=
 
|casualties1=
 
|casualties2=
 
|casualties2=
|notes=
+
|rounds=
 
}}
 
}}
 
</pre></div>
 
</pre></div>
  
 
</noinclude>
 
</noinclude>

Latest revision as of 08:37, 12 November 2019


Template copied from Wikipedia and modified.


Battle of My Backyard
Part of The Big War

Image above, caption below
Date Yesterday
Location My backyard
Weather Windy
Result After 300 rounds, Defender Victory
Territorial
changes
No change
Combatants
Attackers Defenders
Bad Guys Good Guys
Commanders
You Me
Strength
100 Just 1 lonely noble
Formations
Infantry Wall None
Casualties
99 soldiers 0 soldiers
Nobles wounded:
Linker, Noble of Heen



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

{{Infobox Military Conflict
|conflict=
|partof=
|image=
|caption=
|date=
|place=
|weather=
|territory=
|result=
|combatant1=
|combatant2=
|commander1=
|commander2=
|strength1=
|strength2=
|formation1=
|formation2=
|casualties1=
|casualties2=
|rounds=
}}