टेम्पलेट:Infobox aircraft begin
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
संपादन करीं{{{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
संपादन करीं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
संपादन करीं- 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.
- 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
संपादन करीं{{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. --> |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
संपादन करीं|name = Foo |image = Foo.jpg |size = 300px |alt = an aircraft in flight |caption = The Foo on its first flight
TemplateData
संपादन करींTemplateData for Infobox aircraft begin
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of the aircraft without the name of the manufacturer | String | optional |
Image | image | Image of the aircraft | Page name | optional |
Image Size | size | Size of image (eg. 300px)
| String | optional |
Alternative Text | alt | Alternative text to display if image does not display for whatever reason | String | optional |
Caption | caption | Caption for the image | String | optional |
Long caption | 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. | String | optional |
परिचय खातिर ऊपर दिहल गइल बिबरनलेख के टेम्पलेट:Infobox aircraft begin/doc से ट्रांसक्लूड क के इहाँ देखावल जा रहल बाटे। (संपादन करीं | इतिहास देखीं) संपादक लोग एह टेम्पलेट के अभ्यासपन्ना (सैंडबाक्स) (बनाईं | मिरर करीं) आ टेस्टकेस (बनाईं) पन्ना सभ पर अभ्यास आ प्रयोग (टेस्टिंग) क सकत बाटे। अनुरोध बा कि अगर श्रेणी जोड़े के होखे तब /doc उपपन्ना (सबपेज) पर जोड़ल जाय। एह टेम्पलेट के उपपन्ना (सबपेज) देखीं। |