Template:Infobox Military Conflict: Difference between revisions
(rmv one #) |
m (Added Category:Battles into the included syntax) |
||
(33 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class="infobox" style="width: 315px; border-spacing: 2px; font-size: 95%; text-align: left;" | {| 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="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" | | |||
{| 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 20: | 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;" | Territorial<br>changes | |||
! style="padding-right: 1em;" | | {{{territory|}}} | ||
|} | |||
} | |||
|- | |- | ||
! colspan="2" style="background: lightsteelblue; text-align: center;" | Combatants | |||
! style=" | |||
| | |||
|- | |- | ||
| width="50%" style="border-right: 1px #aaa; padding-left: 0.5em; background: lightsteelblue; text-align: center;" | '''Attackers''' | |||
| 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 | |||
! | |||
|- | |- | ||
| width="50%" style="border-right: 1px dotted #aaa; padding-left: 0.5em;" | {{{commander1|}}} | |||
| width="50%" style="padding-left: 0.25em;" | {{{commander2|}}} | |||
|- | |- | ||
! colspan="2" style="background: lightsteelblue; text-align: center;" | Strength | |||
! | |||
|- | |- | ||
| width="50%" style="border-right: 1px dotted #aaa; padding-left: 0.5em;" | {{{strength1|}}} | |||
| width="50%" style="padding-left: 0.25em;" | {{{strength2|}}} | |||
|- | |- | ||
! colspan="2" style="background: lightsteelblue; text-align: center;" | Formations | |||
! | |||
|- | |- | ||
| width="50%" style="border-right: 1px dotted #aaa; padding-left: 0.5em;" | {{{formation1|}}} | |||
| width="50%" style="padding-left: 0.25em;" | {{{formation2|}}} | |||
|- | |- | ||
! colspan="2" style="background: lightsteelblue; text-align: center;" | Casualties | |||
|- | |- | ||
| width="50%" style="border-right: 1px dotted #aaa; padding-left: 0.5em; vertical-align: top;" | {{{casualties1|}}} | |||
| width="50%" style="padding-left: 0.25em; vertical-align: top;" | {{{casualties2|}}} | |||
|} | |||
[[Category:Battles]] | |||
</includeonly> | |||
<noinclude>Template copied from Wikipedia and modified. | |||
{{Infobox Military Conflict | |||
|conflict=Battle of My Backyard | |||
|partof=The Big War | |||
|image= | |||
|caption=Image above, caption below | |||
|date=Yesterday | |||
|place=My backyard | |||
|weather=Windy | |||
|territory=No change | |||
|result=Defender Victory | |||
|combatant1=Bad Guys | |||
|combatant2=Good Guys | |||
|commander1=You | |||
|commander2=Me | |||
|strength1=100 | |||
|strength2=Just 1 lonely noble | |||
|formation1=Infantry Wall | |||
|formation2=None | |||
|casualties1=99 soldiers | |||
|casualties2=0 soldiers<br><b>Nobles wounded:</b><br>Linker, ''Noble of Heen'' | |||
|rounds=300 | |||
}} | }} | ||
The infobox should be added using the | 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> | ||
Line 97: | Line 95: | ||
|date= | |date= | ||
|place= | |place= | ||
| | |weather= | ||
|territory= | |territory= | ||
|result= | |result= | ||
|combatant1= | |combatant1= | ||
|combatant2= | |combatant2= | ||
|commander1= | |commander1= | ||
|commander2= | |commander2= | ||
|strength1= | |strength1= | ||
|strength2= | |strength2= | ||
| | |formation1= | ||
|formation2= | |||
|casualties1= | |casualties1= | ||
|casualties2= | |casualties2= | ||
| | |rounds= | ||
}} | }} | ||
</pre></div> | </pre></div> | ||
</noinclude> | </noinclude> |
Latest revision as of 06:37, 12 November 2019
Template copied from Wikipedia and modified.
Battle of My Backyard | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Part of The Big War | |||||||||||
Image above, caption below | |||||||||||
| |||||||||||
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= }}