Template:Infobox aircraft: Difference between revisions

Jump to navigation Jump to search
m (1 revision imported)
m (1 revision imported: Updating military templates)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template for discussion/dated|action=|page=Infobox aircraft|link=Wikipedia:Templates for discussion/Log/2019 February 3#Template:Infobox aircraft|type=sidebar|help=off|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}}
{{Infobox
{| {{ infobox aircraft begin
| templatestyles = Template:Infobox aircraft/styles.css
| name                            = {{{name|}}}
| bodyclass  = ib-aircraft vcard
| image                            = {{{image|}}}
| autoheaders = y
| caption                          = {{{caption|}}}
 
}}{{ infobox aircraft type
| above      = {{If empty|{{{name|}}}<includeonly>|{{PAGENAMEBASE}}</includeonly>}}
| type                            = {{{type|}}}
 
| national origin                 = {{{national origin|}}}
<!-- Logo and image -->
| manufacturer                     = {{{manufacturer|}}}
 
| designer                         = {{{designer|}}}
| data1      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|sizedefault=210px|border={{#if:{{{logo_border|}}}|yes}}|alt={{{logo_alt|}}}}}
| first flight                    = {{{first flight|}}}
 
| introduction                    = {{{introduction|}}}
| data2      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{size|}}}}}}|sizedefault=300px|border={{#if:{{{image_border|}}}|yes}}|alt={{{alt|}}}}} <!--
| retired                          = {{{retired|}}}
  -->{{#if:{{{caption|}}}{{{image_caption|}}}|<div class="ib-aircraft-caption">{{if empty|{{{image_caption|}}}|{{{caption}}}}}</div>}}
| status                          = {{{status|}}}
 
| primary user                     = {{{primary user|}}}
| rowclass3  = ib-aircraft-caption-left
| more users                      = {{{more users|}}}
| data3      = {{{long_caption|}}}
| produced                        = {{{produced|}}}
 
| number built                    = {{{number built|}}}
| data4      =
| program cost                    = {{{program cost|}}}
 
| unit cost                        = {{{unit cost|}}}
| data5      =
| developed from                   = {{{developed from|}}}
 
| variants with their own articles = {{{variants with their own articles|}}}
<!-- General information -->
}}
 
|}<noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude>
| header6    = General information
 
| label7    = Other name(s)
| data7      = {{{other_names|}}}
| label8    = Type
| data8      = {{{aircraft_type|{{{type|}}}}}}
| label9    = Role
| data9      = {{{aircraft_role|}}}
| label10    = Project for
| data10    = {{#if:{{{aircraft_type|}}}||{{{aim|}}}}}
| label11    = National origin
| data11    = {{{national_origin|}}}
| label12    = [[Aerospace manufacturer|Manufacturer]]
| data12    = {{{manufacturers|{{{manufacturer|}}}}}}
| label13    = Designer
| data13    = {{{design_group|}}} {{#if:{{{designer|}}}|<div> {{#if:{{{designer}}}|{{Nowrap|{{{designer|}}} {{#if:{{{design_group|}}}|(Designer)}} }}}}</div>}}
| label14    = Built by
| data14    = {{{builder|}}}
| label15    = Issued by
| data15    = {{{issuer|}}}
| label16    = Status
| data16    = {{{status|}}}
| label17    = Owners
| data17    = {{{owners|}}}
| label18    = Primary user{{#if:{{{more_users|}}}|s}}
| data18    = {{{primary_user|}}}{{#if:{{{more_users|}}}|<div> {{{more_users|}}} </div>}}
| label19    = Service
| data19    = {{{service|}}}
| label20    = Major applications
| data20    = {{{major_applications|}}}
| label21    = Proposals
| data21    = {{{proposals|}}}
| label22    = Prototypes
| data22    = {{{prototypes|}}}
| label23    = Number built
| data23    = {{{number_built|}}}
| label24    = Construction number
| data24    = {{{construction_number|}}}
| label25    = [[Aircraft registration|Registration]]
| data25    = {{{civil_registration|}}}
| label26    = [[Serial number|Serial]]
| data26    = {{{military_serial|}}}
| label27    = Radio code
| data27    = {{{radio_code|}}}
| label28    = Requirement
| data28    = {{{requirement|}}}
| label29    = Aircraft carried
| data29    = {{{aircraft_carried|}}}
| label30    = Flights
| data30    = {{{flights|}}}
| label31    = Total hours
| data31    = {{{total_hours|}}}
| label32    = Total distance
| data32    = {{{total_distance|}}}
 
<!-- History and current status -->
 
| header33    = History
 
| label34    = Manufactured
| data34      = {{{construction_date|{{{produced|}}}}}}
| label35    = Introduction date
| data35      = {{{introduction|{{{introduced|}}}}}}
| label36    = First flight
| data36      = {{{first_flight|}}}
| label37    = First run
| data37      = {{#if:{{{first_flight|}}}||{{{first_run|}}}}}
| label38    = Initiated
| data38      = {{{initiated|}}}
| label40    = In service
| data40      = {{{in_service|}}}
| label41    = Last flight
| data41      = {{{last_flight|}}}
| label42    = Retired
| data42      = {{#if:{{{last_flight|}}}||{{{retired|}}}}}
| label43    = Concluded
| data43      = {{{concluded|}}}
| label44    = Expected
| data44      = {{#if:{{{concluded|}}}||{{{expected|}}}}}
| label45    = Outcome
| data45      = {{{outcome|}}}
| label46    = Developed from
| data46      = {{{developed_from|}}}
| label47    = {{#if:{{{aim|}}}{{{issuer|}}}|Related|Variants}}
| data47      = {{{variants|{{{related|}}}}}}
| label48    = Developed into
| data48      = {{{developed_into|}}}
| label49    = Preserved at
| data49      = {{{preservation|}}}
| label50    = Fate
| data50      = {{{fate|}}}
| label51    = Predecessors
| data51      = {{{predecessors|}}}
| label52    = Successors
| data52      = {{{successors|}}}
<!-- Any additional note or data source -->
| header53    = Notes
| data54      = {{{notes|}}}
}}<noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 06:30, 13 September 2024