Template:Infobox battle

From CinderCivs Wiki
Revision as of 14:28, 29 May 2024 by Nex23 (talk | contribs) (Created page with "<div style="float: right; clear: right; margin: 0 0 1em 1em; width: 300px; border: 1px solid #a2a9b1; background: #f8f9fa; padding: 5px; font-size: 90%;"> {| style="width: 100%; border-collapse: collapse;" |- | colspan="2" style="background: #ccddee; text-align: center; font-size: 110%; font-weight: bold;" | {{{name|}}} |- | colspan="2" style="text-align: center;" | [[File:{{{image|}}}|250px|alt={{{image_alt|}}}]] |- | colspan="2" style="text-align: center;" | {{{image_...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
[[File:|250px|alt=]]
Date
Location
Result
Combatant 1
Combatant 2
Commander 1
Commander 2
Strength vs
Casualties and losses vs


{

   "description": "Infobox for battles",
   "params": {
       "name": {
           "label": "Name",
           "description": "The name of the battle",
           "type": "string",
           "required": true
       },
       "image": {
           "label": "Image",
           "description": "An image representing the battle",
           "type": "string",
           "required": false
       },
       "image_alt": {
           "label": "Image alt text",
           "description": "Alt text for the image",
           "type": "string",
           "required": false
       },
       "image_caption": {
           "label": "Image caption",
           "description": "Caption for the image",
           "type": "string",
           "required": false
       },
       "date": {
           "label": "Date",
           "description": "The date of the battle",
           "type": "string",
           "required": false
       },
       "location": {
           "label": "Location",
           "description": "The location of the battle",
           "type": "string",
           "required": false
       },
       "result": {
           "label": "Result",
           "description": "The result of the battle",
           "type": "string",
           "required": false
       },
       "combatant1": {
           "label": "Combatant 1",
           "description": "The first combatant",
           "type": "string",
           "required": false
       },
       "combatant2": {
           "label": "Combatant 2",
           "description": "The second combatant",
           "type": "string",
           "required": false
       },
       "commander1": {
           "label": "Commander 1",
           "description": "Commander of the first combatant",
           "type": "string",
           "required": false
       },
       "commander2": {
           "label": "Commander 2",
           "description": "Commander of the second combatant",
           "type": "string",
           "required": false
       },
       "strength1": {
           "label": "Strength 1",
           "description": "Strength of the first combatant",
           "type": "string",
           "required": false
       },
       "strength2": {
           "label": "Strength 2",
           "description": "Strength of the second combatant",
           "type": "string",
           "required": false
       },
       "casualties1": {
           "label": "Casualties 1",
           "description": "Casualties and losses of the first combatant",
           "type": "string",
           "required": false
       },
       "casualties2": {
           "label": "Casualties 2",
           "description": "Casualties and losses of the second combatant",
           "type": "string",
           "required": false
       }
   }

}