Jump to content

Template:Wing Infobox: Difference between revisions

From CAPipedia
DBurch97 (talk | contribs)
Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Usage == {{Parameter names example|_template=|State|Commander|Deputy Commanders|Chief of Staff|Senior Enlisted Leader|Deputy Chief of Staff|Squadrons|Cadets|Seniors|Total|Date|Accessdate|Website}} <syntaxhighlight lang="wikitext" style="overflow: auto"> {{Parameter names example | unit_name | native_name | image..."
 
DBurch97 (talk | contribs)
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
== Usage ==
{{Parameter names example|_template=|State|Commander|Deputy Commanders|Chief of Staff|Senior Enlisted Leader|Deputy Chief of Staff|Squadrons|Cadets|Seniors|Total|Date|Accessdate|Website}}


<syntaxhighlight lang="wikitext" style="overflow: auto">
<noinclude>
{{Parameter names example
| unit_name
| native_name
| image
| image_size
| alt
| caption
| dates = {{unbulleted list|{{{dates}}}|''or:'' {{{start_date}}}–{{{end_date}}}}}
| <!-- start_date -->
| <!-- end_date -->
| disbanded
| country = {{unbulleted list|{{{country}}}|''or:'' {{{countries}}}}}
| <!-- countries -->
| allegiance
| branch
| type
| role
| specialization
| size
| command_structure
| garrison
| <!-- garrison_label -->
| nickname
| patron
| motto
| colors
| <!-- colors_label -->
| march
| mascot
| anniversaries
| equipment
| <!-- equipment_label -->
| battles
| <!-- battles_label -->
| decorations
| battle_honours
| <!-- battle_honours_label -->
| flying_hours
| website
|
| current_commander
| commander1 = {{unbulleted list|{{{current_commander}}}|''or:'' {{{commander1}}}}}
| <!-- commander1_label -->
| <!-- current_commander_label -->
|
| ceremonial_chief
| commander2 = {{unbulleted list|{{{ceremonial_chief}}}|''or:'' {{{commander2}}}}}
| <!-- commander2_label -->
| <!-- ceremonial_chief_label -->
|
| commander3 = {{unbulleted list|{{{colonel_of_the_regiment}}}|''or:'' {{{commander3}}}}}
| <!-- commander3_label -->
| <!-- colonel_of_the_regiment_label -->
|
| commander4 = {{unbulleted list|{{{command_sergeant_major}}}|''or:'' {{{commander4}}}}}
| command_sergeant_major
| <!-- commander4_label -->
| <!-- command_sergeant_major_label -->
|
| commander5
| <!-- commander5_label -->
| commander6
| <!-- commander6_label -->
| commander7
| <!-- commander7_label -->
| commander8
| <!-- commander8_label -->
| commander9
| <!-- commander9_label -->
| notable_commanders
|
| identification_symbol
| <!-- identification_symbol_label -->
| identification_symbol_2
| <!-- identification_symbol_2_label -->
| identification_symbol_3
| <!-- identification_symbol_3_label -->
| identification_symbol_4
| <!-- identification_symbol_4_label -->
| identification_symbol_5
| <!-- identification_symbol_5_label -->
| identification_symbol_6
| <!-- identification_symbol_6_label -->
|
| aircraft_attack
| aircraft_bomber
| aircraft_electronic
| aircraft_fighter
| aircraft_helicopter
| aircraft_helicopter_attack
| aircraft_helicopter_cargo
| aircraft_helicopter_multirole
| aircraft_helicopter_observation
| aircraft_helicopter_trainer
| aircraft_helicopter_utility
| aircraft_interceptor
| aircraft_patrol
| aircraft_recon
| aircraft_trainer
| aircraft_transport
| aircraft_tanker
| aircraft_general
}}
</syntaxhighlight>
 
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Civil Air Patrol templates]]
[[Category:Military infobox templates|Civil Air Patrol Wing]]
 
}}</includeonly>
<templatedata>
<templatedata>
{
{
"params": {
  "description": "Infobox for Civil Air Patrol Wing pages.",
"State": {},
  "params": {
"Image": {
    "image": {
"type": "wiki-file-name"
      "label": "Image Box",
},
      "description": "File name of the emblem or patch (e.g., Example.png).",
"imagesize": {
      "type": "wiki-file-name",
"label": "Image size"
      "suggested": true
},
    },
"alt": {
    "commander": {
"label": "Alt text",
      "label": "Commander Box",
"type": "string"
      "description": "Name and rank of the Wing Commander.",
},
      "type": "string",
"Commander": {},
      "suggested": true
"Chief of Staff": {},
    },
"Deputy Chief of Staff": {},
    "deputy_commander": {
"Squadrons": {},
      "label": "Deputy Commander Box",
"Cadets": {},
      "description": "Name and rank of the Deputy Commander.",
"Seniors": {},
      "type": "string"
"Total": {},
    },
"Awards": {},
    "chief_of_staff": {
"Website": {
      "label": "Chief of Staff Box",
"type": "url"
      "description": "Name and rank of the Chief of Staff.",
},
      "type": "string"
"Date": {
    },
"type": "date"
    "cadets": {
},
      "label": "Number of Cadets Box",
"Established": {},
      "description": "Current number of cadet members.",
"Country": {},
      "type": "number"
"Deputy Commander": {},
    },
"Senior Enlisted Leader": {}
    "seniors": {
},
      "label": "Number of Seniors Box",
"format": "block",
      "description": "Current number of senior members.",
"paramOrder": [
      "type": "number"
"Image",
    },
"imagesize",
    "total_members": {
"alt",
      "label": "Total Number of Members Box",
"Established",
      "description": "Total combined membership count.",
"Country",
      "type": "number"
"State",
    },
"Commander",
    "as_of": {
"Deputy Commander",
      "label": "As of (Date) Box",
"Chief of Staff",
      "description": "Date when the membership stats were last updated.",
"Deputy Chief of Staff",
      "type": "date"
"Senior Enlisted Leader",
    },
"Squadrons",
    "website": {
"Cadets",
      "label": "Website Box",
"Seniors",
      "description": "URL to the official Wing website.",
"Total",
      "type": "url"
"Awards",
    }
"Website",
  },
"Date"
  "paramOrder": [
]
    "image",
    "commander",
    "deputy_commander",
    "chief_of_staff",
    "cadets",
    "seniors",
    "total_members",
    "as_of",
    "website"
  ]
}
}
</templatedata>
</templatedata>
</noinclude>

Latest revision as of 09:37, 4 September 2026


<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>