Template:Wing Infobox: Difference between revisions
No edit summary |
No edit summary |
||
| Line 129: | Line 129: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Infobox | "description": "Infobox for Civil Air Patrol Wing pages.", | ||
"params": { | "params": { | ||
" | "image": { | ||
"label": " | "label": "Image Box", | ||
"description": " | "description": "File name of the emblem or patch (e.g., Example.png).", | ||
"type": " | "type": "wiki-file-name", | ||
" | "suggested": true | ||
}, | }, | ||
"commander": { | "commander": { | ||
"label": "Commander", | "label": "Commander Box", | ||
"description": "Name of the | "description": "Name and rank of the Wing Commander.", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "deputy_commander": { | ||
"label": " | "label": "Deputy Commander Box", | ||
"description": " | "description": "Name and rank of the Deputy Commander.", | ||
"type": "string" | "type": "string" | ||
}, | |||
"chief_of_staff": { | |||
"label": "Chief of Staff Box", | |||
"description": "Name and rank of the Chief of Staff.", | |||
"type": "string" | |||
}, | |||
"cadets": { | |||
"label": "Number of Cadets Box", | |||
"description": "Current number of cadet members.", | |||
"type": "number" | |||
}, | |||
"seniors": { | |||
"label": "Number of Seniors Box", | |||
"description": "Current number of senior members.", | |||
"type": "number" | |||
}, | |||
"total_members": { | |||
"label": "Total Number of Members Box", | |||
"description": "Total combined membership count.", | |||
"type": "number" | |||
}, | |||
"as_of": { | |||
"label": "As of (Date) Box", | |||
"description": "Date when the membership stats were last updated.", | |||
"type": "date" | |||
}, | |||
"website": { | |||
"label": "Website Box", | |||
"description": "URL to the official Wing website.", | |||
"type": "url" | |||
} | } | ||
} | }, | ||
"paramOrder": [ | |||
"image", | |||
"commander", | |||
"deputy_commander", | |||
"chief_of_staff", | |||
"cadets", | |||
"seniors", | |||
"total_members", | |||
"as_of", | |||
"website" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Revision as of 09:33, 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 for Civil Air Patrol Wing pages.",
"params": {
"image": {
"label": "Image Box",
"description": "File name of the emblem or patch (e.g., Example.png).",
"type": "wiki-file-name",
"suggested": true
},
"commander": {
"label": "Commander Box",
"description": "Name and rank of the Wing Commander.",
"type": "string",
"suggested": true
},
"deputy_commander": {
"label": "Deputy Commander Box",
"description": "Name and rank of the Deputy Commander.",
"type": "string"
},
"chief_of_staff": {
"label": "Chief of Staff Box",
"description": "Name and rank of the Chief of Staff.",
"type": "string"
},
"cadets": {
"label": "Number of Cadets Box",
"description": "Current number of cadet members.",
"type": "number"
},
"seniors": {
"label": "Number of Seniors Box",
"description": "Current number of senior members.",
"type": "number"
},
"total_members": {
"label": "Total Number of Members Box",
"description": "Total combined membership count.",
"type": "number"
},
"as_of": {
"label": "As of (Date) Box",
"description": "Date when the membership stats were last updated.",
"type": "date"
},
"website": {
"label": "Website Box",
"description": "URL to the official Wing website.",
"type": "url"
}
},
"paramOrder": [
"image",
"commander",
"deputy_commander",
"chief_of_staff",
"cadets",
"seniors",
"total_members",
"as_of",
"website"
]
} </templatedata>