Template:Wing Infobox: Difference between revisions
No edit summary |
No edit summary |
||
| Line 51: | Line 51: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "An infobox for Civil Air Patrol Wing pages.", | |||
"params": { | "params": { | ||
"unit_name": { | "unit_name": { | ||
"label": "Unit Name" | "label": "Unit Name", | ||
"description": "The full name of the wing (defaults to page title).", | |||
"type": "string" | |||
}, | }, | ||
"Image": { | "Image": { | ||
"label": "Image Filename", | "label": "Image Filename", | ||
"description": "File name of the wing patch or logo (e.g., Example.png).", | |||
"type": "wiki-file-name" | "type": "wiki-file-name" | ||
}, | }, | ||
"imagesize": { | "imagesize": { | ||
"label": "Image Size" | "label": "Image Size", | ||
"description": "Display width of the image (default is 200px).", | |||
"type": "string" | |||
}, | }, | ||
"alt": { | "alt": { | ||
"label": "Alt Text" | "label": "Alt Text", | ||
"description": "Accessibility description for the image.", | |||
"type": "string" | |||
}, | }, | ||
"Commander": { | "Commander": { | ||
"label": "Commander" | "label": "Commander", | ||
"description": "Name and rank of the Wing Commander.", | |||
"type": "string" | |||
}, | }, | ||
"Deputy Commander": { | "Deputy Commander": { | ||
"label": "Deputy Commander" | "label": "Deputy Commander", | ||
"description": "Name and rank of the Vice / Deputy Commander.", | |||
"type": "string" | |||
}, | }, | ||
"Chief of Staff": { | "Chief of Staff": { | ||
"label": "Chief of Staff" | "label": "Chief of Staff", | ||
"description": "Name and rank of the Chief of Staff.", | |||
"type": "string" | |||
}, | }, | ||
"Cadets": { | "Cadets": { | ||
"label": "Cadet Count", | "label": "Cadet Count", | ||
"description": "Total number of cadet members.", | |||
"type": "number" | "type": "number" | ||
}, | }, | ||
"Seniors": { | "Seniors": { | ||
"label": "Senior Count", | "label": "Senior Count", | ||
"description": "Total number of senior members.", | |||
"type": "number" | "type": "number" | ||
}, | }, | ||
"Total": { | "Total": { | ||
"label": "Total Members", | "label": "Total Members", | ||
"description": "Total membership count across all categories.", | |||
"type": "number" | "type": "number" | ||
}, | }, | ||
"Website": { | "Website": { | ||
"label": "Website URL", | "label": "Website URL", | ||
"description": "Link to the official wing website.", | |||
"type": "url" | "type": "url" | ||
} | } | ||
Revision as of 09:21, 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>