Template:Infobox battle: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div style="float: right; clear: right; margin: 0 0 1em 1em; width: 300px; border: 1px solid #a2a9b1; background: #f8f9fa; padding: 5px; font-size: 90%;"> | <div style="float: right; clear: right; margin: 0 0 1em 1em; width: 300px; border: 1px solid #a2a9b1; background: #f8f9fa; padding: 5px; font-size: 90%;"> | ||
{| style="width: 100%; border-collapse: collapse;" | {| style="width: 100%; border-collapse: collapse; border-spacing: 0;" | ||
|- | |- | ||
| colspan="2" style="background: #ccddee; text-align: center; font-size: 110%; font-weight: bold;" | {{{name|}}} | | colspan="2" style="background: #ccddee; text-align: center; font-size: 110%; font-weight: bold;" | {{{name|}}} | ||
Line 18: | Line 18: | ||
| style="text-align: left; padding: 2px 5px;" | {{{result|}}} | | style="text-align: left; padding: 2px 5px;" | {{{result|}}} | ||
|- | |- | ||
! style="background: #eaecf0; text-align: left; padding: 2px 5px;" | ! style="background: #eaecf0; text-align: left; padding: 2px 5px;" colspan="2" | Combatants | ||
|- | |- | ||
| style="background: #eaecf0; text-align: left; padding: 2px 5px;" | {{{combatant1|}}} | |||
| style="text-align: left; padding: 2px 5px;" | {{{combatant2|}}} | | style="background: #eaecf0; text-align: left; padding: 2px 5px;" | {{{combatant2|}}} | ||
|- | |- | ||
! style="background: #eaecf0; text-align: left; padding: 2px 5px;" | ! style="background: #eaecf0; text-align: left; padding: 2px 5px;" colspan="2" | Commanders | ||
|- | |- | ||
| style="background: #eaecf0; text-align: left; padding: 2px 5px;" | {{{commander1|}}} | |||
| style="text-align: left; padding: 2px 5px;" | {{{commander2|}}} | | style="background: #eaecf0; text-align: left; padding: 2px 5px;" | {{{commander2|}}} | ||
|- | |- | ||
! style="background: #eaecf0; text-align: left; padding: 2px 5px;" | ! style="background: #eaecf0; text-align: left; padding: 2px 5px;" colspan="2" | Strength | ||
|- | |- | ||
! style="background: #eaecf0; text-align: left; padding: 2px 5px;" | Casualties and losses | | style="background: #eaecf0; text-align: left; padding: 2px 5px;" | {{{strength1|}}} | ||
| style="text-align: left; padding: 2px 5px;" | {{{casualties1|}}} | | style="background: #eaecf0; text-align: left; padding: 2px 5px;" | {{{strength2|}}} | ||
|- | |||
! style="background: #eaecf0; text-align: left; padding: 2px 5px;" colspan="2" | Casualties and losses | |||
|- | |||
| style="background: #eaecf0; text-align: left; padding: 2px 5px;" | {{{casualties1|}}} | |||
| style="background: #eaecf0; text-align: left; padding: 2px 5px;" | {{{casualties2|}}} | |||
|} | |} | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> |
Revision as of 14:31, 29 May 2024
[[File:|250px|alt=]] | |
Date | |
---|---|
Location | |
Result | |
Combatants | |
Commanders | |
Strength | |
Casualties and losses | |
Infobox for battles
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the battle | String | required |
Image | image | An image representing the battle | String | optional |
Image alt text | image_alt | Alt text for the image | String | optional |
Image caption | image_caption | Caption for the image | String | optional |
Date | date | The date of the battle | String | optional |
Location | location | The location of the battle | String | optional |
Result | result | The result of the battle | String | optional |
Combatant 1 | combatant1 | The first combatant | String | optional |
Combatant 2 | combatant2 | The second combatant | String | optional |
Commander 1 | commander1 | Commander of the first combatant | String | optional |
Commander 2 | commander2 | Commander of the second combatant | String | optional |
Strength 1 | strength1 | Strength of the first combatant | String | optional |
Strength 2 | strength2 | Strength of the second combatant | String | optional |
Casualties 1 | casualties1 | Casualties and losses of the first combatant | String | optional |
Casualties 2 | casualties2 | Casualties and losses of the second combatant | String | optional |