This is the template sandbox page for Template:Infobox aircraft begin (diff). See also the companion subpage for test cases. |
This template is used on approximately 9,900 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.
Preview message: Transclusion count updated automatically (see documentation). |
This template uses Lua: |
{{{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 currently available for the modular Infobox aircraft are:
{{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. -->
}}
|name = Foo
|image = Foo.jpg
|image_border = yes
|size = 300px
|alt = an aircraft in flight
|caption = The Foo on its first flight
|nocat_wdimage=yes
to the infobox.The following templates are used directly from this template:
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.
|