Template:Infobox military conflict: Difference between revisions
No edit summary |
mNo edit summary |
||
| (8 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:Infobox military conflict|main}}</includeonly> | <includeonly>{{#invoke:Infobox military conflict|main}}</includeonly> | ||
<noinclude> | |||
{{documentation}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 8: | Line 10: | ||
"description": "Name of the battle/conflict.", | "description": "Name of the battle/conflict.", | ||
"example": "Battle of Asteri", | "example": "Battle of Asteri", | ||
"suggested": true | "suggested": true, | ||
"type": "string" | |||
}, | }, | ||
"partof": { | "partof": { | ||
| Line 33: | Line 36: | ||
"description": "Title for combatants section.", | "description": "Title for combatants section.", | ||
"example": "Participants", | "example": "Participants", | ||
"autovalue": "" | "autovalue": "", | ||
"default": "Participants" | |||
}, | }, | ||
"combatant1": { | "combatant1": { | ||
| Line 45: | Line 49: | ||
"strength1": { | "strength1": { | ||
"description": "Ships involved on side 1. \"☠\" denotes a sink.", | "description": "Ships involved on side 1. \"☠\" denotes a sink.", | ||
"example": "20k [[Battlecruiser]] ([[NovaManGood2110]]) ☠" | "example": "20k [[Battlecruiser]] ([[NovaManGood2110]]) ☠<br>350 [[Starfighter]] ([[_Longy]])" | ||
}, | }, | ||
"strength2": { | "strength2": { | ||
"description": "Ships involved on side 2. \"☠\" denotes a sink.", | "description": "Ships involved on side 2. \"☠\" denotes a sink.", | ||
"example": " | "example": "20k [[Battlecruiser]] ([[NovaManGood2110]]) ☠<br>350 [[Starfighter]] ([[_Longy]])" | ||
}, | }, | ||
"casualties1": { | "casualties1": { | ||
| Line 57: | Line 61: | ||
"casualties2": { | "casualties2": { | ||
"description": "Tallied ship and block losses of side 2.", | "description": "Tallied ship and block losses of side 2.", | ||
"example": " 6 ships lost (25936 blocks)" | "example": " 6 ships lost. (25936 blocks)" | ||
}, | }, | ||
"result": { | "result": { | ||
Latest revision as of 20:17, 2 May 2025
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Template:Infobox military conflict
Use this template to display a clean summary of a military conflict.
Template Usage
{{Infobox military conflict
|name =
|partof =
|image =
|caption =
|place =
|date =
|combatants_header =
|combatant1 =
|combatant2 =
|strength1 =
|strength2 =
|casualties1 =
|casualties2 =
|result =
|width =
}}
Field Descriptions
| Field | Description |
|---|---|
name |
Name of the battle/conflict. |
partof |
Larger conflict or war it is part of (can be linked). |
image |
Filename of the image. |
caption |
Image caption text. |
place |
Where the conflict happened. Can use internal links. |
date |
When the conflict occurred. |
combatants_header |
Title for combatants section. Default: Participants |
combatant1 |
nations involved on side 1, {{flag|File|Name}} |
combatant2 |
nations involved on side 2, {{flag|File|Name}} |
strength1 |
Ships involved on side 1 |
strength2 |
Ships involved on side 2. |
casualties1 |
Ship losses suffered by side 1. |
casualties2 |
Ship losses suffered by side 2. |
result |
Outcome of the battle. You can use <br> for multiple lines.
|
width |
Optional: Set the infobox width (e.g. 450px).
|
Infobox to display information about a military conflict
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| name | name | Name of the battle/conflict.
| String | suggested |
| partof | partof | Larger conflict or war it is part of.
| Unknown | optional |
| image | image | Filename of the image.
| Unknown | optional |
| caption | caption | Image caption text.
| Unknown | optional |
| place | place | Where the conflict happened.
| Unknown | optional |
| date | date | When the conflict occurred.
| Unknown | optional |
| combatants_header | combatants_header | Title for combatants section.
| Unknown | optional |
| combatant1 | combatant1 | Nations involved on side 1.
| Unknown | optional |
| combatant2 | combatant2 | Nations involved on side 2
| Unknown | optional |
| strength1 | strength1 | Ships involved on side 1. "☠" denotes a sink.
| Unknown | optional |
| strength2 | strength2 | Ships involved on side 2. "☠" denotes a sink.
| Unknown | optional |
| casualties1 | casualties1 | Tallied ship and block losses of side 1.
| Unknown | optional |
| casualties2 | casualties2 | Tallied ship and block losses of side 2.
| Unknown | optional |
| result | result | Outcome of the battle.
| Unknown | optional |
| width | width | Width of the infobox.
| Unknown | optional |