Template:Infobox battle: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<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;" |- | colspan="2" style="background: #ccddee; text-align: center; font-size: 110%; font-weight: bold;" | {{{name|}}} |- | colspan="2" style="text-align: center;" | [[File:{{{image|}}}|250px|alt={{{image_alt|}}}]] |- | colspan="2" style="text-align: center;" | {{{image_...") |
No edit summary |
||
| Line 39: | Line 39: | ||
<noinclude> | <noinclude> | ||
<templatedata> | |||
{ | { | ||
"description": "Infobox for battles", | "description": "Infobox for battles", | ||
| Line 134: | Line 135: | ||
} | } | ||
} | } | ||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Revision as of 14:29, 29 May 2024
| [[File:|250px|alt=]] | |
| Date | |
|---|---|
| Location | |
| Result | |
| Combatant 1 | |
| Combatant 2 | |
| Commander 1 | |
| Commander 2 | |
| Strength | vs |
| Casualties and losses | vs |
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 |