Template:Infobox Battle: Difference between revisions
From Knightspire Wiki
Jump to navigationJump to search
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 16: | Line 16: | ||
<table style="width:100%; border-collapse:collapse; text-align:left;"> |
<table style="width:100%; border-collapse:collapse; text-align:left;"> |
||
{{#if: {{{date|}}} | |
|||
| ⚫ | |||
}} |
|||
{{#if: {{{part_of|}}} | |
{{#if: {{{part_of|}}} | |
||
| ⚫ | |||
<tr><th>Part of</th><td>{{{part_of}}}</td></tr> |
<tr><th>Part of</th><td>{{{part_of}}}</td></tr> |
||
}} |
}} |
||
| Line 30: | Line 33: | ||
}} |
}} |
||
<tr><th colspan="2" style="background:# |
<tr><th colspan="2" style="background:#dde8f2; text-align:center;">Belligerents</th></tr> |
||
<tr class="center-section"> |
<tr class="center-section"> |
||
| ⚫ | |||
<td> |
|||
| ⚫ | |||
{{#if: {{{combatant1_flag|}}} | |
|||
[[File:{{{combatant1_flag}}}|20px|link=]] |
|||
}} |
|||
| ⚫ | |||
</td> |
|||
<td> |
|||
{{#if: {{{combatant2_flag|}}} | |
|||
[[File:{{{combatant2_flag}}}|20px|link=]] |
|||
}} |
|||
| ⚫ | |||
</td> |
|||
</tr> |
</tr> |
||
<tr><th colspan="2" style="background:# |
<tr><th colspan="2" style="background:#dde8f2; text-align:center;">Commanders</th></tr> |
||
<tr class="center-section"> |
<tr class="center-section"> |
||
| ⚫ | |||
<td> |
|||
| ⚫ | |||
{{#if: {{{commander1_flag|}}} | |
|||
[[File:{{{commander1_flag}}}|20px|link=]] |
|||
}} |
|||
| ⚫ | |||
</td> |
|||
<td> |
|||
{{#if: {{{commander2_flag|}}} | |
|||
[[File:{{{commander2_flag}}}|20px|link=]] |
|||
}} |
|||
| ⚫ | |||
</td> |
|||
</tr> |
</tr> |
||
<tr><th colspan="2" style="background:# |
<tr><th colspan="2" style="background:#dde8f2; text-align:center;">Strength</th></tr> |
||
<tr class="center-section"> |
<tr class="center-section"> |
||
<td>{{{strength1|}}}</td> |
<td>{{{strength1|}}}</td> |
||
| Line 48: | Line 77: | ||
</tr> |
</tr> |
||
| ⚫ | |||
| ⚫ | |||
<tr class="center-section"> |
<tr class="center-section"> |
||
<td>{{{casualties1|}}}</td> |
<td>{{{casualties1|}}}</td> |
||
| Line 72: | Line 100: | ||
| battle = Battle of Placename |
| battle = Battle of Placename |
||
| image = placename_battle.png |
| image = placename_battle.png |
||
| caption = |
| caption = Battle depiction |
||
| part_of = First Countryname Wars |
| part_of = First Countryname Wars |
||
| date = 2027-06-14 |
| date = 2027-06-14 |
||
| location = Placename, Countryname |
| location = Placename, Countryname |
||
| outcome = Countryname Victory |
| outcome = Countryname Victory |
||
| combatant1 = Countryname |
| combatant1 = Countryname |
||
| combatant1_flag = Green_flag.png |
|||
| combatant2 = Evilnation |
| combatant2 = Evilnation |
||
| combatant2_flag = Red_flag.png |
|||
| commander1 = Lord Country |
| commander1 = Lord Country |
||
| commander1_flag = Green_flag.png |
|||
| commander2 = King Evil |
| commander2 = King Evil |
||
| commander2_flag = Red_flag.png |
|||
| strength1 = ~1,200 troops |
| strength1 = ~1,200 troops |
||
| strength2 = ~1,800 mercenaries |
| strength2 = ~1,800 mercenaries |
||
| casualties1 = ~300 killed or wounded |
| casualties1 = ~300 killed or wounded |
||
| casualties2 = ~900 killed or wounded |
| casualties2 = ~900 killed or wounded |
||
| result = Countryname |
| result = Countryname victory and enemy retreat |
||
}} |
}} |
||
</pre> |
</pre> |
||
| Line 92: | Line 129: | ||
| battle = Battle of Placename |
| battle = Battle of Placename |
||
| image = placename_battle.png |
| image = placename_battle.png |
||
| caption = |
| caption = Battle depiction |
||
| part_of = First Countryname Wars |
| part_of = First Countryname Wars |
||
| date = 2027-06-14 |
| date = 2027-06-14 |
||
| location = Placename, Countryname |
| location = Placename, Countryname |
||
| outcome = Countryname Victory |
| outcome = Countryname Victory |
||
| combatant1 = Countryname |
| combatant1 = Countryname |
||
| combatant1_flag = Green_flag.png |
|||
| combatant2 = Evilnation |
| combatant2 = Evilnation |
||
| combatant2_flag = Red_flag.png |
|||
| commander1 = Lord Country |
| commander1 = Lord Country |
||
| commander1_flag = Green_flag.png |
|||
| commander2 = King Evil |
| commander2 = King Evil |
||
| commander2_flag = Red_flag.png |
|||
| strength1 = ~1,200 troops |
| strength1 = ~1,200 troops |
||
| strength2 = ~1,800 mercenaries |
| strength2 = ~1,800 mercenaries |
||
| casualties1 = ~300 killed or wounded |
| casualties1 = ~300 killed or wounded |
||
| casualties2 = ~900 killed or wounded |
| casualties2 = ~900 killed or wounded |
||
| result = Countryname |
| result = Countryname victory and enemy retreat |
||
}} |
}} |
||
Revision as of 07:04, 9 May 2026
Usage
{{Infobox Battle
| battle = Battle of Placename
| image = placename_battle.png
| caption = Battle depiction
| part_of = First Countryname Wars
| date = 2027-06-14
| location = Placename, Countryname
| outcome = Countryname Victory
| combatant1 = Countryname
| combatant1_flag = Green_flag.png
| combatant2 = Evilnation
| combatant2_flag = Red_flag.png
| commander1 = Lord Country
| commander1_flag = Green_flag.png
| commander2 = King Evil
| commander2_flag = Red_flag.png
| strength1 = ~1,200 troops
| strength2 = ~1,800 mercenaries
| casualties1 = ~300 killed or wounded
| casualties2 = ~900 killed or wounded
| result = Countryname victory and enemy retreat
}}
Battle of Placename
Battle depiction
| Date | 2027-06-14 |
|---|---|
| Part of | First Countryname Wars |
| Location | Placename, Countryname |
| Result | Countryname Victory |
| Belligerents | |
|
|
|
| Commanders | |
|
|
|
| Strength | |
| ~1,200 troops | ~1,800 mercenaries |
| Casualties | |
| ~300 killed or wounded | ~900 killed or wounded |
| Summary | Countryname victory and enemy retreat |
TemplateData
Infobox for battles and military engagements.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Battle Name | battle | no description | String | required |
| Image | image | no description | File | optional |
| Image Caption | caption | no description | String | optional |
| Part of Campaign | part_of | no description | String | optional |
| Date | date | no description | String | optional |
| Location | location | no description | String | optional |
| Outcome | outcome | no description | String | optional |
| Combatant 1 | combatant1 | no description | String | optional |
| Combatant 2 | combatant2 | no description | String | optional |
| Commander 1 | commander1 | no description | String | optional |
| Commander 2 | commander2 | no description | String | optional |
| Strength 1 | strength1 | no description | String | optional |
| Strength 2 | strength2 | no description | String | optional |
| Casualties 1 | casualties1 | no description | String | optional |
| Casualties 2 | casualties2 | no description | String | optional |
| Result Summary | result | no description | String | optional |