Template:Infobox battle: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
<div class="infobox" style="width: 22em; border: 1px solid #aaa; padding: 0.5em;"> | <div class="infobox" style="width: 22em; border: 1px solid #aaa; padding: 0.5em;"> | ||
<div style="background: # | <div style="background: #ddd; text-align: center; font-size: 110%; font-weight: bold;">{{{name|}}}</div> | ||
<div style="text-align: center;"> | <div style="text-align: center;"> | ||
[[File:{{{image|}}}|250px|alt={{{image_alt|}}}]] | [[File:{{{image|}}}|250px|alt={{{image_alt|}}}]] | ||
Line 11: | Line 11: | ||
<tr><th>Location</th><td style="text-align: left;">{{{location|}}}</td></tr> | <tr><th>Location</th><td style="text-align: left;">{{{location|}}}</td></tr> | ||
<tr><th>Result</th><td style="text-align: left;">{{{result|}}}</td></tr> | <tr><th>Result</th><td style="text-align: left;">{{{result|}}}</td></tr> | ||
<tr><th colspan="2" style="background: # | <tr><th colspan="2" style="background: #ddd; text-align: center;">Combatants</th></tr> | ||
<tr> | <tr> | ||
<td style="border-right: 1px dotted #aaa; text-align: left; padding-right: 0.5em;">{{{combatant1|}}}</td> | <td style="border-right: 1px dotted #aaa; text-align: left; padding-right: 0.5em;">{{{combatant1|}}}</td> | ||
<td style="text-align: left; padding-left: 0.5em;">{{{combatant2|}}}</td> | <td style="text-align: left; padding-left: 0.5em;">{{{combatant2|}}}</td> | ||
</tr> | </tr> | ||
<tr><th colspan="2" style="background: # | <tr><th colspan="2" style="background: #ddd; text-align: center;">Commanders</th></tr> | ||
<tr> | <tr> | ||
<td style="border-right: 1px dotted #aaa; text-align: left; padding-right: 0.5em;">{{{commander1|}}}</td> | <td style="border-right: 1px dotted #aaa; text-align: left; padding-right: 0.5em;">{{{commander1|}}}</td> | ||
<td style="text-align: left; padding-left: 0.5em;">{{{commander2|}}}</td> | <td style="text-align: left; padding-left: 0.5em;">{{{commander2|}}}</td> | ||
</tr> | </tr> | ||
<tr><th colspan="2" style="background: # | <tr><th colspan="2" style="background: #ddd; text-align: center;">Strength</th></tr> | ||
<tr> | <tr> | ||
<td style="border-right: 1px dotted #aaa; text-align: left; padding-right: 0.5em;">{{{strength1|}}}</td> | <td style="border-right: 1px dotted #aaa; text-align: left; padding-right: 0.5em;">{{{strength1|}}}</td> | ||
<td style="text-align: left; padding-left: 0.5em;">{{{strength2|}}}</td> | <td style="text-align: left; padding-left: 0.5em;">{{{strength2|}}}</td> | ||
</tr> | </tr> | ||
<tr><th colspan="2" style="background: # | <tr><th colspan="2" style="background: #ddd; text-align: center;">Casualties and losses</th></tr> | ||
<tr> | <tr> | ||
<td style="border-right: 1px dotted #aaa; text-align: left; padding-right: 0.5em; width: 10.5em;">{{{casualties1|}}}</td> | <td style="border-right: 1px dotted #aaa; text-align: left; padding-right: 0.5em; width: 10.5em;">{{{casualties1|}}}</td> |
Revision as of 23:32, 28 June 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 |
Test battle
ara flag
Flag of Aranna
Date | sometime last night |
---|---|
Location | Aranna |
Result | Aranna |
Combatants | |
Aranna. | Aranna |
Commanders | |
Aranna | Aranna |
Strength | |
5 | 5 |
Casualties and losses | |
5 | 5 |