Template:Wing Infobox: Difference between revisions
No edit summary |
No edit summary |
||
| Line 123: | Line 123: | ||
"Website" | "Website" | ||
] | ] | ||
} | |||
</templatedata> | |||
</noinclude> | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"description": "Infobox template for Civil Air Patrol Wings.", | |||
"params": { | |||
"name": { | |||
"label": "Wing Name", | |||
"description": "The official name of the wing.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"commander": { | |||
"label": "Commander", | |||
"description": "Name of the current wing commander.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"headquarters": { | |||
"label": "Headquarters", | |||
"description": "Location of the wing HQ.", | |||
"type": "string" | |||
} | |||
} | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Revision as of 09:31, 4 September 2026
<templatedata> { "description": "An infobox for Civil Air Patrol Wing pages.", "params": { "unit_name": { "label": "Unit Name", "description": "The full name of the wing (defaults to page title).", "type": "string" }, "Image": { "label": "Image Filename", "description": "File name of the wing patch or logo (e.g., Example.png).", "type": "wiki-file-name" }, "imagesize": { "label": "Image Size", "description": "Display width of the image (default is 200px).", "type": "string" }, "alt": { "label": "Alt Text", "description": "Accessibility description for the image.", "type": "string" }, "Commander": { "label": "Commander", "description": "Name and rank of the Wing Commander.", "type": "string" }, "Deputy Commander": { "label": "Deputy Commander", "description": "Name and rank of the Vice / Deputy Commander.", "type": "string" }, "Chief of Staff": { "label": "Chief of Staff", "description": "Name and rank of the Chief of Staff.", "type": "string" }, "Cadets": { "label": "Cadet Count", "description": "Total number of cadet members.", "type": "number" }, "Seniors": { "label": "Senior Count", "description": "Total number of senior members.", "type": "number" }, "Total": { "label": "Total Members", "description": "Total membership count across all categories.", "type": "number" }, "Website": { "label": "Website URL", "description": "Link to the official wing website.", "type": "url" } }, "format": "block", "paramOrder": [ "unit_name", "Image", "imagesize", "alt", "Commander", "Deputy Commander", "Chief of Staff", "Cadets", "Seniors", "Total", "Website" ] } </templatedata>
<templatedata>
{
"description": "Infobox template for Civil Air Patrol Wings.",
"params": {
"name": {
"label": "Wing Name",
"description": "The official name of the wing.",
"type": "string",
"required": true
},
"commander": {
"label": "Commander",
"description": "Name of the current wing commander.",
"type": "string",
"suggested": true
},
"headquarters": {
"label": "Headquarters",
"description": "Location of the wing HQ.",
"type": "string"
}
}
} </templatedata>