قالب:Infobox Aircraft Begin
This template is used on many pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page قبل تنفيذهم. |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Usage
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
}}
|}
Examples
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 (eg, The Spirit of St. Louis, use:
{|{{Infobox aircraft begin
|parameters go here
}}{{Infobox aircraft type
|parameters go here
}}{{Infobox aircraft career
|parameters go here
}}
|}
Modules currently available for the modular Infobox aircraft are:
- {{Infobox aircraft begin}}
- Must be included in every stack. This template carries the name, image, image caption, and formatting for the rest of the stack.
- {{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)
- {{Seriesbox Aircraft Categories}}
- Non-parameterised seriesbox for broad categories of aircraft, such as airship, helicopter, glider.
Parameters
- 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 Image:filename format with no image tags
- 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.
- 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.
The above documentation is transcluded from قالب:Infobox Aircraft Begin/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |