Template:Infobox military conflict: Difference between revisions
Wiki Port 2 (talk | contribs) (Created page with "<includeonly>{{#invoke:Infobox military conflict|main}}</includeonly><noinclude> {{documentation}} </noinclude>") |
mNo edit summary |
||
| (16 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:Infobox military conflict|main}}</includeonly><noinclude> | <includeonly>{{#invoke:Infobox military conflict|main}}</includeonly> | ||
<noinclude> | |||
{{documentation}} | {{documentation}} | ||
[[Category:Templates]] | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"description": "Name of the battle/conflict.", | |||
"example": "Battle of Asteri", | |||
"suggested": true, | |||
"type": "string" | |||
}, | |||
"partof": { | |||
"description": "Larger conflict or war it is part of. ", | |||
"example": "Vega-Nova War (2025)" | |||
}, | |||
"image": { | |||
"description": "Filename of the image.", | |||
"example": "Boa.png" | |||
}, | |||
"caption": { | |||
"description": "Image caption text.", | |||
"example": "A dynmap image showing the very beginning of the Battle of Asteri." | |||
}, | |||
"place": { | |||
"description": "Where the conflict happened.", | |||
"example": "[[IliosResearchStation]], [[Ilios]]" | |||
}, | |||
"date": { | |||
"description": "When the conflict occurred. ", | |||
"example": "January 1, 1970" | |||
}, | |||
"combatants_header": { | |||
"description": "Title for combatants section.", | |||
"example": "Participants", | |||
"autovalue": "", | |||
"default": "Participants" | |||
}, | |||
"combatant1": { | |||
"description": "Nations involved on side 1.", | |||
"example": "{{flag|File|Name}} " | |||
}, | |||
"combatant2": { | |||
"description": "Nations involved on side 2", | |||
"example": "{{flag|File|Name}}" | |||
}, | |||
"strength1": { | |||
"description": "Ships involved on side 1. \"☠\" denotes a sink.", | |||
"example": "20k [[Battlecruiser]] ([[NovaManGood2110]]) ☠<br>350 [[Starfighter]] ([[_Longy]])" | |||
}, | |||
"strength2": { | |||
"description": "Ships involved on side 2. \"☠\" denotes a sink.", | |||
"example": "20k [[Battlecruiser]] ([[NovaManGood2110]]) ☠<br>350 [[Starfighter]] ([[_Longy]])" | |||
}, | |||
"casualties1": { | |||
"description": "Tallied ship and block losses of side 1.", | |||
"example": "6 ships lost. (2100 blocks)" | |||
}, | |||
"casualties2": { | |||
"description": "Tallied ship and block losses of side 2.", | |||
"example": " 6 ships lost. (25936 blocks)" | |||
}, | |||
"result": { | |||
"description": "Outcome of the battle.", | |||
"example": "Decisive [[Vega]] victory." | |||
}, | |||
"width": { | |||
"description": "Width of the infobox.", | |||
"example": "450px" | |||
} | |||
}, | |||
"description": "Infobox to display information about a military conflict", | |||
"paramOrder": [ | |||
"name", | |||
"partof", | |||
"image", | |||
"caption", | |||
"place", | |||
"date", | |||
"combatants_header", | |||
"combatant1", | |||
"combatant2", | |||
"strength1", | |||
"strength2", | |||
"casualties1", | |||
"casualties2", | |||
"result", | |||
"width" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
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 |