• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Infobox aircraft begin/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Infobox aircraft begin
This is the template sandbox page for Template:Infobox aircraft begin (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 9,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template tracks the Wikidata property:
  • image (P18) (see uses)
This template uses Lua:
  • Module:InfoboxImage (sandbox)

Contents

  • 1 Usage
  • 2 Other modules
  • 3 Parameters
  • 4 Template with notes
  • 5 Example
  • 6 Tracking categories
  • 7 Supporting templates and modules
  • 8 TemplateData

Usage

edit
{{{name}}}
[[File:{{{logo}}}|210px]]
[[File:{{{image}}}|{{{size}}}|alt={{{alt}}}]]
{{{caption}}}
{{{name}}}
[[File:{{{logo}}}|210px]]
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]]
{{{long caption}}}

This template acts to provide common formatting for other aircraft-related infoboxes. It (and any boxes that follow it) must be enclosed by {| and |} that enclose a wiki-table (see Help:Tables).

{|{{Infobox aircraft begin
 |parameters go here
}}
|}

For an article on an aircraft type, use:

{|{{Infobox aircraft begin
 |parameters go here
}}{{Infobox aircraft type
 |parameters go here
}}
|}

Or, for an article on an aero engine, use:

{|{{Infobox aircraft begin
 |parameters go here
}}{{Infobox aircraft engine
 |parameters go here
}}
|}

Multiple templates can be stacked one after the other. For example, where the only example built of a particular aircraft type also had an individually noteworthy career (e.g., The Spirit of St. Louis, use:

{|{{Infobox aircraft begin
 |parameters go here
}}{{Infobox aircraft type
 |parameters go here
}}{{Infobox aircraft career
 |parameters go here
}}
|}

Other modules

edit

Other modules currently available for the modular Infobox aircraft are:

{{Infobox aircraft type}}
General data fields relevant to an aircraft type (or subtype), such as role, manufacturer, number produced, date of first flight (but not technical specifications)
{{Infobox aircraft career}}
Data fields relevant to an individually significant airframe, such as construction number, registration number, military serial, current preservation status.
{{Infobox aircraft engine}}
General data fields relevant to an aircraft engine, such as type, manufacturer, major applications (but not technical specifications)
{{Infobox aircraft program}}
General data on programs to develop types (and subtypes) of aircraft and aircraft engines, but not on the aircraft or engines themselves or their technical specifications

Parameters

edit
name
The subject of the article. When naming aircraft and engines, 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 name itself is unambiguous and the manufacturer will be stated just a few lines down in the Type Infobox.
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 250px.
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
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.

Template with notes

edit
{{Infobox aircraft begin
 |name = REQUIRED <!-- avoid stating manufacturer (it's stated 3 lines below) unless name used by other aircraft manufacturers -->
 |image = <!-- in the ''File:filename'' format with no image tags.  In-flight images are preferred for aircraft. -->
 |image_border = <!-- Add "yes" (without quotes) to add a thin border to the image -->
 |alt = <!-- Alt text for main image -->
 |caption = <!-- Image caption; if it isn't descriptive, please skip. -->
 |long caption = <!-- A longer (multi-line), more detailed caption may be desirable from time to time. Text is left-justified in the infobox. -->
}}

Example

edit
 |name = Foo
 |image = Foo.jpg
 |image_border = yes
 |size = 300px
 |alt = an aircraft in flight
 |caption = The Foo on its first flight

Tracking categories

edit
  • Category:No local image but image on Wikidata (8,818) – Used by Template:Wikidata image to track articles where an infobox has no image but Wikidata has an image name. To exclude articles from this category, add an image or |nocat_wdimage=yes to the infobox.

Supporting templates and modules

edit

The following templates are used directly from this template:

  • {{WPMILHIST Infobox style}}
  • {{Wikidata image}}

TemplateData

edit
TemplateData documentation used by VisualEditor and other tools
See a monthly parameter usage report for Template:Infobox aircraft begin in articles based on its TemplateData.

TemplateData for Infobox aircraft begin

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of the aircraft without the name of the manufacturer

Stringoptional
Imageimage

Image of the aircraft

Page nameoptional
Image Sizesize

Size of image (eg. 300px)

Default
250px
Stringoptional
Alternative Textalt

Alternative text to display if image does not display for whatever reason

Stringoptional
Captioncaption

Caption for the image

Stringoptional
Long captionlong caption

A longer (multi-line), more detailed caption may be desirable from time to time. Long captions will appear left-justified in the infobox.

Stringoptional
The above documentation is transcluded from Template:Infobox aircraft begin/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Infobox_aircraft_begin/sandbox&oldid=1021658933"
Last edited on 5 May 2021, at 23:10

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 5 May 2021, at 23:10 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop