Template:Infobox battle: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
<div>{{{image_caption|}}}</div> | <div>{{{image_caption|}}}</div> | ||
</div> | </div> | ||
<table style="width: 100%; border-collapse: collapse; border-spacing: 0; text-align: left; | <table style="width: 100%; border-collapse: collapse; border-spacing: 0; text-align: left;"> | ||
<tr><th>Date</th><td>{{{date|}}}</td></tr> | <tr><th>Date</th><td>{{{date|}}}</td></tr> | ||
<tr><th>Location</th><td>{{{location|}}}</td></tr> | <tr><th>Location</th><td>{{{location|}}}</td></tr> | ||
<tr><th>Result</th><td>{{{result|}}}</td></tr> | <tr><th>Result</th><td>{{{result|}}}</td></tr> | ||
<tr><th colspan="2" style="background: #87CEEB; text-align: center;">Combatants</th></tr> | <tr><th colspan="2" style="background: #87CEEB; text-align: center;">Combatants</th></tr> | ||
<tr><td>{{{combatant1|}}}</td><td>{{{combatant2|}}}</td></tr> | <tr> | ||
<td style="border-right: 1px dotted #000;">{{{combatant1|}}}</td> | |||
<td>{{{combatant2|}}}</td> | |||
</tr> | |||
<tr><th colspan="2" style="background: #87CEEB; text-align: center;">Commanders</th></tr> | <tr><th colspan="2" style="background: #87CEEB; text-align: center;">Commanders</th></tr> | ||
<tr><td>{{{commander1|}}}</td><td>{{{commander2|}}}</td></tr> | <tr> | ||
<td style="border-right: 1px dotted #000;">{{{commander1|}}}</td> | |||
<td>{{{commander2|}}}</td> | |||
</tr> | |||
<tr><th colspan="2" style="background: #87CEEB; text-align: center;">Strength</th></tr> | <tr><th colspan="2" style="background: #87CEEB; text-align: center;">Strength</th></tr> | ||
<tr><td>{{{strength1|}}}</td><td>{{{strength2|}}}</td></tr> | <tr> | ||
<td style="border-right: 1px dotted #000;">{{{strength1|}}}</td> | |||
<td>{{{strength2|}}}</td> | |||
</tr> | |||
<tr><th colspan="2" style="background: #87CEEB; text-align: center;">Casualties and losses</th></tr> | <tr><th colspan="2" style="background: #87CEEB; text-align: center;">Casualties and losses</th></tr> | ||
<tr><td>{{{casualties1|}}}</td><td>{{{casualties2|}}}</td></tr> | <tr> | ||
<td style="border-right: 1px dotted #000;">{{{casualties1|}}}</td> | |||
<td>{{{casualties2|}}}</td> | |||
</tr> | |||
</table> | </table> | ||
</div> | </div> |
Revision as of 19:15, 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 |