Template:Infobox aircraft: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
m (1 revision imported: Updating military templates)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{|{{ infobox aircraft begin
{{Infobox
| name                            = {{{name|}}}
| templatestyles = Template:Infobox aircraft/styles.css
| image                           = {{{image|}}}
| bodyclass  = ib-aircraft vcard
| caption                         = {{{caption|}}}
| autoheaders = y
}}{{ infobox aircraft type
 
| type                            = {{{type|}}}
| above      = {{If empty|{{{name|}}}<includeonly>|{{PAGENAMEBASE}}</includeonly>}}
| national origin                 = {{{national origin|}}}
 
| manufacturer                     = {{{manufacturer|}}}
<!-- Logo and image -->
| designer                         = {{{designer|}}}
 
| first flight                    = {{{first flight|}}}
| data1      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|sizedefault=210px|border={{#if:{{{logo_border|}}}|yes}}|alt={{{logo_alt|}}}}}
| introduction                    = {{{introduction|}}}
 
| retired                          = {{{retired|}}}
| data2      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{size|}}}}}}|sizedefault=300px|border={{#if:{{{image_border|}}}|yes}}|alt={{{alt|}}}}} <!--
| status                          = {{{status|}}}
  -->{{#if:{{{caption|}}}{{{image_caption|}}}|<div class="ib-aircraft-caption">{{if empty|{{{image_caption|}}}|{{{caption}}}}}</div>}}
| primary user                     = {{{primary user|}}}
 
| more users                      = {{{more users|}}}
| rowclass3  = ib-aircraft-caption-left
| produced                        = {{{produced|}}}
| data3      = {{{long_caption|}}}
| number built                     = {{{number built|}}}
 
| program cost                    = {{{program cost|}}}
| data4      =
| unit cost                        = {{{unit cost|}}}
 
| developed from                  = {{{developed from|}}}
| data5      =
| 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>
 
{{#ifeq:{{NAMESPACE}}||[[Category:Articles using Infobox aircraft]]}} {{#ifeq:{{NAMESPACE}}|Template|[[Category:Articles using Infobox aircraft| {{PAGENAME}}]]}}
| 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