Template:Infobox aircraft: Difference between revisions

From AviationSafetyX Wiki
Jump to navigation Jump to search
Removing nowrap from "designers" parameter. Not sure why it was put there, but it was causing issues
 
Created page with "{{#invoke:...}} {{#invoke:Infobox | infobox }}"
Line 1: Line 1:
{{Infobox
{{#invoke:...}}
| templatestyles = Template:Infobox aircraft/styles.css
| bodyclass  = ib-aircraft vcard
| autoheaders = y


| above      = {{If empty|{{{name|}}}<includeonly>|{{PAGENAMEBASE}}</includeonly>}}
{{#invoke:Infobox | infobox }}
 
<!-- Logo and image -->
 
| data1      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|sizedefault=210px|border={{#if:{{{logo_border|}}}|yes}}|alt={{{logo_alt|}}}}}
 
| data2      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{size|}}}}}}|sizedefault=300px|border={{#if:{{{image_border|}}}|yes}}|alt={{{alt|}}}}} <!--
  -->{{#if:{{{caption|}}}{{{image_caption|}}}|<div class="ib-aircraft-caption">{{if empty|{{{image_caption|}}}|{{{caption}}}}}</div>}}
 
| rowclass3  = ib-aircraft-caption-left
| data3      = {{{long_caption|}}}
 
| data4      =
 
| data5      =
 
<!-- General information -->
 
| 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}}}|{{{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>

Revision as of 08:02, 3 April 2025

Script error: You must specify a function to call.

<templatestyles src="Module:Infobox/styles.css"></templatestyles>