Template:Infobox aircraft: Difference between revisions
mNo edit summary |
m (1 revision imported: Updating military templates) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox aircraft | {{Infobox | ||
| name | | templatestyles = Template:Infobox aircraft/styles.css | ||
| image | | bodyclass = ib-aircraft vcard | ||
| caption | | autoheaders = y | ||
| type | |||
| | | above = {{If empty|{{{name|}}}<includeonly>|{{PAGENAMEBASE}}</includeonly>}} | ||
| manufacturer | |||
| designer | <!-- 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 | ||
| number | | 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}}}|{{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
This template uses Lua: |
null
{{Infobox aircraft}} is used to produce an infobox for aircrafts and other related aeronautical topics including aircraft types and programs, individual aircraft and their careers. and aircraft engines. It may be used to display general characteristics and features of the item, along with manufacturing details and history as appropriate.
Some parameters in the Infobox are only intended for specific classes of topic and are not recommended for use with the other kinds. If there is already a section discussing the specifications of the aeronautical item, the inclusion of specifications and performance parameters in the Infobox should be skipped.
Infobox aircraft | |
---|---|
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}|border]] | |
[[File:{{{image}}}|300px|alt={{{alt}}}|border]] | |
General information | |
Other name(s) | {{{other_names}}} |
Type | {{{aircraft_type}}} |
Role | {{{aircraft_role}}} |
National origin | {{{national_origin}}} |
Manufacturer | {{{manufacturer}}} |
Designer | {{{design_group}}} {{{designer}}} (Designer) |
Built by | {{{builder}}} |
Issued by | {{{issuer}}} |
Status | {{{status}}} |
Owners | {{{owners}}} |
Service | {{{service}}} |
Major applications | {{{major_applications}}} |
Proposals | {{{proposals}}} |
Prototypes | {{{prototypes}}} |
Number built | {{{number_built}}} |
Registration | {{{civil_registration}}} |
Serial | {{{military_serial}}} |
Radio code | {{{radio_code}}} |
Requirement | {{{requirement}}} |
Aircraft carried | {{{aircraft_carried}}} |
Flights | {{{flights}}} |
Total hours | {{{total_hours}}} |
Total distance | {{{total_distance}}} |
History | |
Manufactured | {{{construction_date}}} |
Introduction date | {{{introduction}}} |
First flight | {{{first_flight}}} |
In service | {{{in_service}}} |
Last flight | {{{last_flight}}} |
Developed from | {{{developed_from}}} |
Related | {{{variants}}} |
Developed into | {{{developed_into}}} |
Preserved at | {{{preservation}}} |
Fate | {{{fate}}} |
Predecessors | {{{predecessors}}} |
Successors | {{{successors}}} |
Usage
{{Infobox aircraft
| name =
| logo =
| logo_size =
| image =
| image_size =
| alt =
| image_caption =
| long_caption =
| other_names =
| aircraft_type =
| aircraft_role =
| national_origin =
| manufacturer =
| design_group =
| designer =
| builder =
| issuer =
| status =
| owners =
| service =
| major_applications =
| proposals =
| prototypes =
| number_built =
| civil_registration =
| military_serial =
| radio_code =
| requirement =
| aircraft_carried =
| flights =
| total_hours =
| total_distance =
| construction_date =
| introduction =
| first_flight =
| first_run =
| initiated =
| developed_from =
| in_service =
| last_flight =
| retired =
| concluded =
| developed_into =
| preservation =
| fate =
| predecessors =
| successors =
| variants =
}}
Parameters
General parameters
- name: The subject of the article. When naming aircraft, please do not repeat the name of the manufacturer unless the name would be otherwise ambiguous. For example, "P-51 Mustang" does not need to have "North American" in front of it: the aircraft name is unambiguous and the manufacturer will be stated just a few lines down in the Type Infobox. Some exceptions exist, such as aircraft which only have model numbers, eg. "Boeing 707".
- logo: In the format filename.xxx format with or without 'File:' tag
- logo_size: Allows for the specification of logo size. default is 210px.
- logo_border: set to yes to a thin border to the logo
- logo_alt: Alt text for the image, for readers who cannot see the logo. Please see WP:ALT for details.
- image: In the format filename.xxx format with or without 'File:' tag
- size or image_size: Allows for the specification of image size. default is 300px.
- alt: Alt text for the image, for readers who cannot see the image. Please see WP:ALT for details.
- image_border: set to yes to add a thin border to the image
- caption or image_caption: A short (one- or two-line) caption for the image. If it isn't descriptive, then please skip it. "Boeing 747" or "Boeing 747 in flight" should be patently obvious from the context and does not need to be captioned. "A Qantas Airlines Boeing 747-400 at Heathrow Airport in 2006" is an example of a useful caption. Captions will appeared centred in the infobox.
- long_caption: A longer (multi-line), more detailed caption may be desirable from time to time. Long captions will appear left-justified in the infobox. Won't display if caption is defined.
- other_names: Any alternative names the particular aircraft (nicknames, nose art names) or program may have.
- Examples: "Spruce Goose" Super Jumbo, Joint Strike Fighter, Tomcat, Eagle, Dreamliner
- aircraft_role: The aircraft's role, e.g. airliner, military trainer aircraft, Agricultural aircraft
- national_origin: The country where the aircraft or program was manufactured or initiated. List collaborative programs of only 2 or 3 nations for more than 3, use "Multi-national". For licensed aircraft with a separate article, include both the originating country and the licensee country for simple variants and developments. The originating country may be omitted if it is a derivative design.
- manufacturer or manufacturers: The company or companies responsible for designing and building the aircraft.
- design_group: The name of the group(s) that designed the aeronautical item. Do not list if same as the manufacturer.
- designer: The person who designed the aircraft or led the design. Not appropriate for company chief designers, project leaders, teams, etc. unless they led the actual engineering design.
- builder: The group that only builds the aeronautical product, but is not responsible for design of it.
- issuer: The government agency or other authority that issued the design and/or production contract for the aircraft or program.Examples: United States Air Force, NASA, European Space Agency, Ministry of Defense (Russia)
- status: Status of the program, e.g. "Prototypes only", "Abandoned project". In most cases, redundant; use sparingly
- primary_user: The primary user of the civilian aircraft list only one user. Do not use for individual aircrafts
- Examples: Lufthansa, Air Canada, United Airlines
- more_users: Limited to THREE (3) "more users" here (4 total users). List users with {{plainlist}} or {{unbulleted list}}.
- service: The branches of the military that have operated the aircraft or program. When a service itself issues the requirement, this field is redundant, do not use it under these circumstances. DON'T add national or service flags, per WP:FLAGICON.
- For more users, limit to three in total and list using {{plainlist}} or {{unbulleted list}}
- Examples: United States Air Force, United States Navy
- proposals: Any proposals for the aircrafts or careers in the specific program, that were not accepted or built.
- prototypes: Any prototype versions of the aircraft that were built or prototypes evaluated for the program.
- Example: Northrop YF-17
- number_built: The total number of the aircraft or aircraft engine built
History and current status parameters
- produced or construction_date: The date range the aircraft was built (year to year)
- introduction: Date the aircraft entered military or revenue service
- first_flight: Date of first flight of the aircraft
- last_flight: Date of last flight of the aircraftretired : Date the aircraft left military or revenue service. If vague or more than a few dates, skip this
- in_service: Time in military or revenue service, as a range of dates
- developed_from: The (linked article) this aircraft design was developed from
- Use predecessors instead for aircraft programs
- developed_into: Any (separate articles) this aircraft type was developed into
- Use successors instead for aircraft programs
- variants or related: Variants of this aircraft with their own articles or related programs for aircraft programs
- notes: Any additional notes
Particular aircraft parameters
- aircraft_type: What this particular aircraft is an example off. For example, Enola Gay is a Boeing B-29 Superfortress
- Unique aircraft will not need this parameter
- owners: The individuals or organizations that own, manage or uses the aircraft.
- civil_registration: The registration number assigned to the aircraft for civilian use.
- military_serial: The serial number assigned to the aircraft for military use
- radio_code: Military radio codes where this is a commonly-used way of identifying this aircraft (eg. US, British, and German military aircraft of WWII)
- aircraft_carried: Type of aircraft carried, usually only for mothership aircraft
- flights: Number of flights made by this aircraft, usually only relevant for an aircraft no longer flying
- total_hours: The total number of hours the aircraft has flown
- total_distance: The total distance the aircraft has flown
- fate: Fate/disposition of this aircraft
- preservation: Where this aircraft is currently preserved (if it is)
Aircraft program parameters
- aim: a description of the aircraft or engine required or specified.
- Example: All-weather naval air-superiority fighter
- requirement: a formal name or a number for the requirement.
- Examples: OR.229, Advanced Tactical Fighter Statement of Operational Need
- initiated: the date that the program was initiated
- concluded: the date that the program was concluded (whatever the outcome)
- outcome: the outcome of the program. Examples:
- Dassault Mirage III selected for production
- program abandoned due to budget cuts
- program merged with TFX Program
Aircraft engine parameters
- aircraft_type: the type of the engine, eg. turbojet
- major_applications: aircraft (or other vehicles) that were powered by this engine
Examples
Migration from {{Infobox aircraft begin}}
Following this discussion initiated on 22 January 2023 at Templates for discussion, {{Infobox aircraft begin}}, {{Infobox aircraft type}}, {{Infobox aircraft career}}, {{Infobox aircraft engine}}, and {{Infobox aircraft program}} are being merged into this template. Thusly, uses of those templates should be converted to use this template.
Single module
Aircraft type
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Aircraft career
| ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Aircraft engine
| ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Aircraft program
| ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Multiple modules
As the above templates are modular, they can be used together. This is only used for {{Infobox aircraft type}} with {{Infobox aircraft career}} and {{Infobox aircraft type}} with {{Infobox aircraft engine}} as seen in the table below.
Infobox aircraft type | Infobox aircraft career | Infobox aircraft engine | Infobox aircraft program | |
---|---|---|---|---|
Infobox aircraft type | N/A | N/A | N/A | N/A |
Infobox aircraft career | 60 | N/A | N/A | N/A |
Infobox aircraft engine | 1 | 0 | N/A | N/A |
Infobox aircraft program | 0 | 0 | 0 | N/A |
Type and career
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Type and engine
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
TemplateData
TemplateData for Infobox aircraft
TemplateData
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Infobox for aircraft, aircraft career and programs.
|