Template:Infobox military conflict: Difference between revisions

From Horizon's End Wiki
No edit summary
mNo edit summary
 
(14 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}}
{{documentation}}
[[Category:Templates]]
[[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>

Latest revision as of 20:17, 2 May 2025


Infobox to display information about a military conflict

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
namename

Name of the battle/conflict.

Example
Battle of Asteri
Stringsuggested
partofpartof

Larger conflict or war it is part of.

Example
Vega-Nova War (2025)
Unknownoptional
imageimage

Filename of the image.

Example
Boa.png
Unknownoptional
captioncaption

Image caption text.

Example
A dynmap image showing the very beginning of the Battle of Asteri.
Unknownoptional
placeplace

Where the conflict happened.

Example
[[IliosResearchStation]], [[Ilios]]
Unknownoptional
datedate

When the conflict occurred.

Example
January 1, 1970
Unknownoptional
combatants_headercombatants_header

Title for combatants section.

Default
Participants
Example
Participants
Auto value
Unknownoptional
combatant1combatant1

Nations involved on side 1.

Example
{{flag|File|Name}}
Unknownoptional
combatant2combatant2

Nations involved on side 2

Example
{{flag|File|Name}}
Unknownoptional
strength1strength1

Ships involved on side 1. "☠" denotes a sink.

Example
20k [[Battlecruiser]] ([[NovaManGood2110]]) ☠<br>350 [[Starfighter]] ([[_Longy]])
Unknownoptional
strength2strength2

Ships involved on side 2. "☠" denotes a sink.

Example
20k [[Battlecruiser]] ([[NovaManGood2110]]) ☠<br>350 [[Starfighter]] ([[_Longy]])
Unknownoptional
casualties1casualties1

Tallied ship and block losses of side 1.

Example
6 ships lost. (2100 blocks)
Unknownoptional
casualties2casualties2

Tallied ship and block losses of side 2.

Example
6 ships lost. (25936 blocks)
Unknownoptional
resultresult

Outcome of the battle.

Example
Decisive [[Vega]] victory.
Unknownoptional
widthwidth

Width of the infobox.

Example
450px
Unknownoptional