跳至內容

模板:Infobox aircraft begin/doc

本頁使用了標題或全文手工轉換
維基百科,自由的百科全書

使用

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

此模板為所有航空器相關資訊框提供通用格式。此模板和任何配合使用的模板都必須被括在{||}之中以生成一個完整的維基表格。(見Help:表格

{|{{Infobox aircraft begin
 |在此处输入参数
}}
|}

對於航空器型號條目,使用:

{|{{Infobox aircraft begin
 |在此处输入参数
}}{{Infobox aircraft type
 |在此处输入参数
}}
|}

對於航空引擎條目,使用:

{|{{Infobox aircraft begin
 |在此处输入参数
}}{{Infobox aircraft engine
 |在此处输入参数
}}
|}

多重模板可以被層疊起來,例如使用特定飛機型號製造的唯一飛機同時也有其個體值得關注的使用歷史,如聖路易斯精神號

{|{{Infobox aircraft begin
 |在此处输入参数
}}{{Infobox aircraft type
 |在此处输入参数
}}{{Infobox aircraft career
 |在此处输入参数
}}
|}

其他模組

[編輯]

當前可用於Infobox aircraft模組化模板的其他模組如下:

{{Infobox aircraft type}}
與航空器型號(或子型號)有關的通用資料,如職能、製造商、產量、首飛日期。但不包括性能規格。
{{Infobox aircraft career}}
與個別具有重要意義的飛機有關的資料,比如註冊號、軍隊序列號、當前保存狀態。
{{Infobox aircraft engine}}
與航空器引擎型號有關的通用資料,如型號、製造商、主要應用。但不包括性能規格。
{{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

Tracking categories

[編輯]

Supporting templates and modules

[編輯]

The following templates are used directly from this template:

TemplateData

[編輯]
TemplateData documentation used by VisualEditor and other tools

Infobox aircraft begin模板資料

沒有描述。

模板參數

此模板以參數區塊格式為優先。

參數描述類型狀態
Namename

Name of the aircraft without the name of the manufacturer

字串非必填
Imageimage

Image of the aircraft

頁面名稱非必填
Image Sizesize

Size of image (eg. 300px)

預設
250px
字串非必填
Alternative Textalt

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

字串非必填
Captioncaption

Caption for the image

字串非必填
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.

字串非必填