Template:Infobox military unit: Difference between revisions

From NARA
Jump to navigation Jump to search
(will edit later)
No edit summary
Line 1: Line 1:
<includeonly>{{Infobox
{{Infobox military unit
| bodystyle      = {{WPMILHIST Infobox style|main_box_raw}}
| unit_name =
| abovestyle    = {{WPMILHIST Infobox style|header_raw}}
| native_name =
| subheaderstyle = {{WPMILHIST Infobox style|sub_header_raw}}
| image =
| above          = {{{unit_name|{{PAGENAMEBASE}}}}}
| image_size =
| subheader      = {{{native_name|}}}
| alt =
 
| caption =
|  imagestyle  = {{WPMILHIST Infobox style|image_box_raw}}
| dates = <!-- or | start_date = | end_date = -->
|   image       = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}}}
| disbanded =
| caption       = {{{caption|}}}
| country = <!-- or | countries = -->
 
| allegiance =
| headerstyle    = {{WPMILHIST Infobox style|header_raw}}
| branch =
|  labelstyle    = padding-right: 1em;
| type =
 
| role = <!-- or | specialization = -->
| label1  = {{#if:{{{start_date|}}}|{{#if:{{{end_date|}}}|Active|Founded}}|Active}}
| size =
|  data1  = {{#if:{{{start_date|}}}|{{#if:{{{end_date|}}}|{{{start_date}}}–{{{end_date}}}|{{{start_date}}}}}|{{{dates|}}}}}
| command_structure =
 
| garrison =
|  label2 = Disbanded
| garrison_label =
|   data2 = {{{disbanded|}}}
| nickname =
 
| patron =
| label3  = {{#if:{{{country|}}}|Country|Countries}}
| motto =
|  data3  = {{#if:{{{country|}}}|{{{country}}}|{{{countries|}}}}}
| colors = <!-- or | colours = -->
 
| colors_label = <!-- or | colours_label = -->
|  label4  = Allegiance
| march =
|   data4  = {{{allegiance|}}}
| mascot =
 
| anniversaries =
|  label5  = Branch
| equipment =
|   data5  = {{{branch|}}}
| equipment_label =
 
| battles =
|  label6  = Type
| battles_label =
|   data6  = {{{type|}}}
| decorations =
 
| battle_honours =
|  label7  = Role
| battle_honours_label =
|   data7  = {{{role|}}}{{{specialization|}}}
| flying_hours =
 
| website =
|  label8  = Size
<!-- Commanders -->
|   data8  = {{{size|}}}
| current_commander =
 
| commander1 =
|  label9  = Part&nbsp;of
| commander1_label =
|   data9  = {{{command_structure|}}}
| commander2 =
 
| commander2_label =
|  label10 = {{#if:{{{garrison_label|}}}|{{{garrison_label|}}}|Garrison/HQ}}
| commander3 =
|   data10 = {{{garrison|}}}
| commander3_label =
 
| commander4 =
| label11 = Nickname(s)
| commander4_label =
|   data11 = {{{nickname|}}}
| commander5 =
 
| commander5_label =
|  label12 = Patron
| commander6 =
|   data12 = {{{patron|}}}
| commander6_label =
 
| commander7 =
|  label13 = Motto(s)
| commander7_label =
|   data13 = {{{motto|}}}
| commander8 =
 
| commander8_label =
| label14 = {{if empty|{{{colors_label|}}}|{{{colours_label|}}}|{{#if:{{{colours|}}}|Colours|Colors}}}}
| commander9 =
|   data14 = {{#if:{{{colours|}}}|{{{colours|}}}|{{{colors|}}}}}
| commander9_label =
 
| notable_commanders =
|  label15 = March
<!-- Insignia -->
|   data15 = {{{march|}}}
| identification_symbol =
 
| identification_symbol_label =
|  label16 = Mascot(s)
| identification_symbol_2 =
|   data16 = {{{mascot|}}}
| identification_symbol_2_label =
 
| identification_symbol_3 =
|  label17 = Anniversaries
| identification_symbol_3_label =
|   data17 = {{{anniversaries|}}}
| identification_symbol_4 =
 
| identification_symbol_4_label =
|  label18 = {{#if:{{{equipment_label|}}}|{{{equipment_label|}}}|Equipment}}
| identification_symbol_5 =
|   data18 = {{{equipment|}}}
| identification_symbol_5_label =
 
| identification_symbol_6 =
| label19 = {{#if:{{{battles_label|}}}|{{{battles_label|}}}|Engagements}}
| identification_symbol_6_label =
|   data19 = {{{battles|}}}
<!-- Aircraft -->
 
| aircraft_attack =
| label20 = Decorations
| aircraft_bomber =
|   data20 = {{{decorations|}}}
| aircraft_electronic =
 
| aircraft_fighter =
|  label21 = {{#if:{{{battle_honours_label|}}}|{{{battle_honours_label|}}}|[[Battle honour|Battle&nbsp;honour]]s}}
| aircraft_helicopter =
|   data21 = {{{battle_honours|}}}
| aircraft_helicopter_attack =
 
| aircraft_helicopter_cargo =
| label22 = Flying hours
| aircraft_helicopter_multirole =
|   data22 = {{{flying_hours|}}}
| aircraft_helicopter_observation =
 
| aircraft_helicopter_trainer =
|  label23 = Website
| aircraft_helicopter_utility =
|   data23 = {{{website|}}}
| aircraft_interceptor =
 
| aircraft_patrol =
| header24 = {{#if:{{{commander1|}}}{{{commander2|}}}{{{commander3|}}}{{{current_commander|}}}{{{ceremonial_chief|}}}{{{colonel_of_the_regiment|}}}{{{notable_commanders|}}} | Commanders }}
| aircraft_recon =
 
| aircraft_trainer =
|  label25 = {{#if:{{{commander1_label|}}}|{{{commander1_label|}}}|{{#if:{{{current_commander_label|}}}|{{{current_commander_label|}}}|Current<br>commander}}}}
| aircraft_transport =
|   data25 = {{#if:{{{commander1|}}}|{{{commander1|}}}|{{{current_commander|}}}}}
| aircraft_tanker =
 
| aircraft_general =
|  label26 = {{#if:{{{commander2_label|}}}|{{{commander2_label|}}}|{{#if:{{{ceremonial_chief_label|}}}|{{{ceremonial_chief_label|}}}|Ceremonial&nbsp;chief}}}}
}}
|   data26 = {{#if:{{{commander2|}}}|{{{commander2|}}}|{{{ceremonial_chief|}}}}}
 
| label27 = {{#if:{{{commander3_label|}}}|{{{commander3_label|}}}|{{#if:{{{colonel_of_the_regiment_label|}}}|{{{colonel_of_the_regiment_label|}}}|Colonel&nbsp;of<br>the&nbsp;Regiment}}}}
|   data27 = {{#if:{{{commander3|}}}|{{{commander3|}}}|{{{colonel_of_the_regiment|}}}}}
 
| label28 = {{#if:{{{commander4_label|}}}|{{{commander4_label|}}}|{{#if:{{{command_sergeant_major_label|}}}|{{{command_sergeant_major_label|}}}|Command Sergeant Major}}}}
|   data28 = {{#if:{{{commander4|}}}|{{{commander4|}}}|{{{command_sergeant_major|}}}}}
 
| label29 = {{{commander5_label|Commander}}}
|   data29 = {{{commander5|}}}
 
| label30 = {{{commander6_label|Commander}}}
|   data30 = {{{commander6|}}}
 
| label31 = {{{commander7_label|Commander}}}
|   data31 = {{{commander7|}}}
 
| label32 = {{{commander8_label|Commander}}}
|   data32 = {{{commander8|}}}
 
| label33 = {{{commander9_label|Commander}}}
|   data33 = {{{commander9|}}}
 
| label34 = Notable<br>commanders
|   data34 = {{{notable_commanders|}}}
 
| header35 = {{#if:{{{identification_symbol|}}}{{{identification_symbol_2|}}} | Insignia }}
 
| header36 = {{#ifeq: {{{identification_symbol_label|}}} | none | {{{identification_symbol|}}} | }}
|  label36 = {{#if:{{{identification_symbol_label|}}}|{{{identification_symbol_label|}}}|Identification<br>symbol}}
|   data36 = {{#ifeq: {{{identification_symbol_label|}}} | none | | {{{identification_symbol|}}} }}
 
| label37 = {{#if:{{{identification_symbol_2_label|}}}|{{{identification_symbol_2_label|}}}|Identification<br>symbol}}
|   data37 = {{{identification_symbol_2|}}}
 
| label38 = {{#if:{{{identification_symbol_3_label|}}}|{{{identification_symbol_3_label|}}}|Identification<br>symbol}}
|   data38 = {{{identification_symbol_3|}}}
 
| label39 = {{#if:{{{identification_symbol_4_label|}}}|{{{identification_symbol_4_label|}}}|Identification<br>symbol}}
|   data39 = {{{identification_symbol_4|}}}
 
| label40 = {{#if:{{{identification_symbol_5_label|}}}|{{{identification_symbol_5_label|}}}|Identification<br>symbol}}
|   data40 = {{{identification_symbol_5|}}}
 
| label41 = {{#if:{{{identification_symbol_6_label|}}}|{{{identification_symbol_6_label|}}}|Identification<br>symbol}}
|   data41 = {{{identification_symbol_6|}}}
 
| header42 = {{#if:{{{aircraft_attack|}}}{{{aircraft_bomber|}}}{{{aircraft_electronic|}}}{{{aircraft_fighter|}}}{{{aircraft_interceptor|}}}{{{aircraft_patrol|}}}{{{aircraft_recon|}}}{{{aircraft_trainer|}}}{{{aircraft_transport|}}}{{{aircraft_tanker|}}}{{{aircraft_helicopter|}}}{{{aircraft_helicopter_attack|}}}{{{aircraft_helicopter_cargo|}}}{{{aircraft_helicopter_multirole|}}}{{{aircraft_helicopter_observation|}}}{{{aircraft_helicopter_trainer|}}}{{{aircraft_helicopter_utility|}}}{{{aircraft_general|}}} | Aircraft flown }}
 
|  label43 = [[Attack aircraft|Attack]]
|   data43 = {{{aircraft_attack|}}}
 
|  label44 = [[Bomber]]
|   data44 = {{{aircraft_bomber|}}}
 
|  label45 = [[Electronic warfare|Electronic<br>warfare]]
|   data45 = {{{aircraft_electronic|}}}
 
|  label46 = [[Fighter aircraft|Fighter]]
|   data46 = {{{aircraft_fighter|}}}
 
|  label47 = [[Helicopter]]
|   data47 = {{{aircraft_helicopter|}}}
 
|  label48 = [[Attack helicopter]]
|   data48 = {{{aircraft_helicopter_attack|}}}
 
|  label49 = [[Cargo helicopter]]
|   data49 = {{{aircraft_helicopter_cargo|}}}
 
|  label50 = [[Multirole helicopter]]
|   data50 = {{{aircraft_helicopter_multirole|}}}
 
|  label51 = [[Observation helicopter]]
|   data51 = {{{aircraft_helicopter_observation|}}}
 
|  label52 = [[Trainer helicopter]]
|   data52 = {{{aircraft_helicopter_trainer|}}}
 
|  label53 = [[Utility helicopter]]
|   data53 = {{{aircraft_helicopter_utility|}}}
 
|  label54 = [[Interceptor aircraft|Interceptor]]
|   data54 = {{{aircraft_interceptor|}}}
 
|  label55 = [[Patrol aircraft|Patrol]]
|   data55 = {{{aircraft_patrol|}}}
 
|  label56 = [[Surveillance aircraft|Reconnaissance]]
|   data56 = {{{aircraft_recon|}}}
 
|  label57 = [[Trainer (aircraft)|Trainer]]
|   data57 = {{{aircraft_trainer|}}}
 
|  label58 = [[Cargo aircraft|Transport]]
|   data58 = {{{aircraft_transport|}}}
 
|  label59 = [[Aerial refueling|Tanker]]
|   data59 = {{{aircraft_tanker|}}}
 
|  data60 = {{{aircraft_general|}}}
 
|  data61 = {{{misc|{{{module|}}}}}}
}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox military unit with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox military unit]] with unknown parameter "_VALUE_"|ignoreblank=y| aircraft_attack | aircraft_bomber | aircraft_electronic | aircraft_fighter | aircraft_general | 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_tanker | aircraft_trainer | aircraft_transport | allegiance | alt | anniversaries | battle_honours | battle_honours_label | battles | battles_label | branch | caption | ceremonial_chief | ceremonial_chief_label | colonel_of_the_regiment | colonel_of_the_regiment_label | colors | colors_label | colours | colours_label | command_sergeant_major | command_sergeant_major_label | command_structure | commander1 | commander1_label | commander2 | commander2_label | commander3 | commander3_label | commander4 | commander4_label | commander5 | commander5_label | commander6 | commander6_label | commander7 | commander7_label | commander8 | commander8_label | commander9 | commander9_label | countries | country | current_commander | current_commander_label | dates | decorations | disbanded | end_date | equipment | equipment_label | flying_hours | garrison | garrison_label | identification_symbol | 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 | identification_symbol_label | image | image_size | march | mascot | misc | module | motto | native_name | nickname | notable_commanders | patron | role | size | specialization | start_date | type | unit_name | website }}<includeonly>{{short description|Military unit|2=noreplace}}</includeonly><noinclude>
{{Documentation}}
</noinclude>

Revision as of 02:33, 24 June 2023

Template loop detected: Template:Infobox military unit