Template:Infobox aircraft: Difference between revisions

From Agropelter Archives
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
<templatedata>
<templatedata>
{
{
"description": "An infobox for aircraft.",
  "description": "Infobox for aircraft.",
"params": {
  "params": [
"name": {
    {
"label": "Name",
      "name": "name",
"description": "The name of the aircraft",
      "label": "Name",
"type": "string",
      "description": "The name of the aircraft",
"required": true
      "type": "string",
},
      "required": true
"type": {
    },
"label": "Type",
    {
"description": "Type/role of the aircraft",
      "name": "type",
"type": "string"
      "label": "Type",
},
      "description": "Type / role of the aircraft",
"crew": {
      "type": "string"
"label": "Crew",
    },
"description": "Number of crew",
    {
"type": "string"
      "name": "crew",
},
      "label": "Crew",
"length": {
      "description": "Number of crew members",
"label": "Length",
      "type": "string"
"description": "Length of the aircraft",
    },
"type": "string"
    {
},
      "name": "length",
"wingspan": {
      "label": "Length",
"label": "Wingspan",
      "description": "Length of the aircraft",
"description": "Wingspan of the aircraft",
      "type": "string"
"type": "string"
    },
},
    {
"speed": {
      "name": "wingspan",
"label": "Speed",
      "label": "Wingspan",
"description": "Maximum speed",
      "description": "Wingspan of the aircraft",
"type": "string"
      "type": "string"
},
    },
"range": {
    {
"label": "Range",
      "name": "speed",
"description": "Range of the aircraft",
      "label": "Speed",
"type": "string"
      "description": "Maximum speed",
},
      "type": "string"
"armament": {
    },
"label": "Armament",
    {
"description": "Weapons carried",
      "name": "range",
"type": "string"
      "label": "Range",
}
      "description": "Operational range",
}
      "type": "string"
    },
    {
      "name": "armament",
      "label": "Armament",
      "description": "Weapons carried",
      "type": "string"
    },
    {
      "name": "image",
      "label": "Image",
      "description": "Image filename (without File:)",
      "type": "image"
    }
  ]
}
}
</templatedata>
</templatedata>

Revision as of 20:38, 27 September 2025

Infobox


Property "params" is expected to be of type "object".