Template:Infobox Battle: Difference between revisions
From Knightspire Wiki
Jump to navigationJump to search
Content deleted Content added
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 14: | Line 14: | ||
</div> |
</div> |
||
}} |
}} |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
{{#if: {{{date|}}} | |
{{#if: {{{date|}}} | |
||
<tr><th>Date</th><td>{{{date}}}</td></tr> |
<tr><th>Date (LORE)</th><td>{{#invoke:KnightspireDate|loreYear|{{{date|}}}}}</td></tr> |
||
}} |
}} |
||
| Line 82: | Line 84: | ||
<td>{{{casualties2|}}}</td> |
<td>{{{casualties2|}}}</td> |
||
</tr> |
</tr> |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
</table> |
</table> |
||
| Line 122: | Line 120: | ||
| casualties1 = ~300 killed or wounded |
| casualties1 = ~300 killed or wounded |
||
| casualties2 = ~900 killed or wounded |
| casualties2 = ~900 killed or wounded |
||
| result = Countryname victory and enemy retreat |
|||
}} |
}} |
||
</pre> |
</pre> |
||
| Line 151: | Line 148: | ||
| casualties1 = ~300 killed or wounded |
| casualties1 = ~300 killed or wounded |
||
| casualties2 = ~900 killed or wounded |
| casualties2 = ~900 killed or wounded |
||
| result = Countryname victory and enemy retreat |
|||
}} |
}} |
||
| Line 219: | Line 215: | ||
"casualties2": { |
"casualties2": { |
||
"label": "Casualties 2", |
"label": "Casualties 2", |
||
"type": "string" |
|||
}, |
|||
"result": { |
|||
"label": "Result Summary", |
|||
"type": "string" |
"type": "string" |
||
} |
} |
||
Latest revision as of 07:17, 9 May 2026
Usage
{{Infobox Battle
| battle = Battle of Placename
| image = Battle_example.jpg
| 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
}}
Battle of Placename
| Date (IRL) | 2027-06-14 |
|---|---|
| Date (LORE) | Year 59 |
| 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 |
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 |