Template:Infobox Conflict: Difference between revisions

From Pactoria Wiki
Jump to navigation Jump to search
Created page with "<includeonly>{{#invoke:Infobox Conflict|main}}</includeonly><noinclude> {{documentation}} Category:Infobox templates </noinclude>"
 
Added template data
Line 2: Line 2:
{{documentation}}
{{documentation}}
[[Category:Infobox templates]]
[[Category:Infobox templates]]
<templatedata>
{
"description": "An infobox template for displaying information about conflicts, including sieges and wars.",
"params": {
"title": {
"label": "Conflict Name Title",
"description": "The name of the conflict",
"type": "string",
"required": true,
"suggested": true
},
"image": {
"label": "Primary Image",
"description": "Name of an image file about the conflict",
"type": "string",
"example": "Conflict Siege.png",
"suggested": true
},
"alt": {
"label": "Image Description",
"description": "Alt text for image description",
"type": "string"
},
"caption": {
"label": "Image Caption",
"description": "Brief description of the image's content",
"type": "string",
"example": "Skyline of the siege"
},
"date": {
"label": "Date",
"description": "Dates the conflict happened on",
"type": "string",
"example": "12th January-12th March 2026"
},
"location": {
"label": "Location",
"description": "Locations the conflict happened in",
"type": "string",
"example": "Example Nation, Example Continent"
},
"status": {
"label": "Conflict Status",
"description": "Status of the (ongoing) conflict. State whether the conflict is still ongoing actively, there's minor skirmishes, stalemate, etc.. Mutually exclusive with 'Result'",
"type": "string",
"example": "Ongoing conflict"
        },
"result": {
"label": "Conflict Result",
"description": "Status of the (ended) conflict. State which side of the conflict won",
"type": "string",
"example": "Athelite victory"
},
"territory": {
"label": "Territorial Changes",
"description": "Territorial Changes after the conflict's end.",
"type": "string",
"example": "Wardens of Roses annexes Matrix<br>Example Country cedes Triadron to Example Ally"
},
"combatant1": {
"label": "Combatant Number 1",
"description": "One of the combatant sides.",
"type": "string",
"example": "Matrix Coalition"
},
"combatant2": {
"label": "Combatant Number 2",
"description": "One of the combatant sides.",
"type": "string",
"example": "Warden Coalition"
},
"combatant3": {
"label": "Combatant Number 3",
"description": "One of the combatant sides.",
"type": "string",
"example": "Kingdom of Stones"
},
"commander1": {
"label": "Commander Number 1",
"description": "Commander from one of the combatant sides (example: commander1 for combatant1)",
"type": "string",
"example": "JojoDaYoyo"
},
"commander2": {
"label": "Commander Number 2",
"description": "Commander from one of the combatant sides (example: commander1 for combatant1)",
"type": "string",
"example": "Alzxdnr"
},
"commander3": {
"label": "Commander Number 3",
"description": "Commander from one of the combatant sides (example: commander1 for combatant1)",
"type": "string",
"example": "Anfhony"
},
"strength1": {
"label": "Strength Numbers 1",
"description": "Strength numbers from one of the combatant sides (example: strength1 for combatant1)",
"type": "string",
"example": "100"
},
"strength2": {
"label": "Strength Numbers 2",
"description": "Strength numbers from one of the combatant sides (example: strength1 for combatant1)",
"type": "string",
"example": "80"
},
"strength3": {
"label": "Strength Numbers 3",
"description": "Strength numbers from one of the combatant sides (example: strength1 for combatant1)",
"type": "string",
"example": "90"
},
"casualties1": {
"label": "Casualties Number 1",
"description": "Casualties from one of the combatant sides (example: casualties1 for combatant1)",
"type": "string",
"example": "200 total"
},
"casualties2": {
"label": "Casualties Number 2",
"description": "Casualties from one of the combatant sides (example: casualties1 for combatant1)",
"type": "string",
"example": "50 total"
},
"casualties3": {
"label": "Casualties Number 3",
"description": "Casualties from one of the combatant sides (example: casualties1 for combatant1)",
"type": "string",
"example": "30"
}
},
"paramOrder": [
"title",
        "image",
        "alt",
        "caption",
        "date",
        "location",
        "status",
        "result",
        "territory",
        "combatant1",
        "combatant2",
        "combatant3",
        "commander1",
        "commander2",
        "commander3",
        "strength1",
        "strength2",
        "strength3",
        "casualties1",
        "casualties2",
        "casualties3"
],
"format": "block"
}
</templatedata>
</noinclude>
</noinclude>

Revision as of 00:57, 29 March 2026

An infobox template for displaying information about conflicts, including sieges and wars.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Conflict Name Titletitle

The name of the conflict

Stringrequired
Primary Imageimage

Name of an image file about the conflict

Example
Conflict Siege.png
Stringsuggested
Image Descriptionalt

Alt text for image description

Stringoptional
Image Captioncaption

Brief description of the image's content

Example
Skyline of the siege
Stringoptional
Datedate

Dates the conflict happened on

Example
12th January-12th March 2026
Stringoptional
Locationlocation

Locations the conflict happened in

Example
Example Nation, Example Continent
Stringoptional
Conflict Statusstatus

Status of the (ongoing) conflict. State whether the conflict is still ongoing actively, there's minor skirmishes, stalemate, etc.. Mutually exclusive with 'Result'

Example
Ongoing conflict
Stringoptional
Conflict Resultresult

Status of the (ended) conflict. State which side of the conflict won

Example
Athelite victory
Stringoptional
Territorial Changesterritory

Territorial Changes after the conflict's end.

Example
Wardens of Roses annexes Matrix<br>Example Country cedes Triadron to Example Ally
Stringoptional
Combatant Number 1combatant1

One of the combatant sides.

Example
Matrix Coalition
Stringoptional
Combatant Number 2combatant2

One of the combatant sides.

Example
Warden Coalition
Stringoptional
Combatant Number 3combatant3

One of the combatant sides.

Example
Kingdom of Stones
Stringoptional
Commander Number 1commander1

Commander from one of the combatant sides (example: commander1 for combatant1)

Example
JojoDaYoyo
Stringoptional
Commander Number 2commander2

Commander from one of the combatant sides (example: commander1 for combatant1)

Example
Alzxdnr
Stringoptional
Commander Number 3commander3

Commander from one of the combatant sides (example: commander1 for combatant1)

Example
Anfhony
Stringoptional
Strength Numbers 1strength1

Strength numbers from one of the combatant sides (example: strength1 for combatant1)

Example
100
Stringoptional
Strength Numbers 2strength2

Strength numbers from one of the combatant sides (example: strength1 for combatant1)

Example
80
Stringoptional
Strength Numbers 3strength3

Strength numbers from one of the combatant sides (example: strength1 for combatant1)

Example
90
Stringoptional
Casualties Number 1casualties1

Casualties from one of the combatant sides (example: casualties1 for combatant1)

Example
200 total
Stringoptional
Casualties Number 2casualties2

Casualties from one of the combatant sides (example: casualties1 for combatant1)

Example
50 total
Stringoptional
Casualties Number 3casualties3

Casualties from one of the combatant sides (example: casualties1 for combatant1)

Example
30
Stringoptional