编辑“︁
Template:Infobox aircraft begin/doc
”︁
跳转到导航
跳转到搜索
这是
Infobox aircraft begin
模板的
文档页面
。
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
{{NoteTA |G1 = MediaWiki |G2 = Aero }} {{Documentation subpage}} {{Deprecated template|Infobox aircraft begin|Infobox aircraft|date=2024-11-16}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> {{intricate template}} {{Lua|Module:InfoboxImage}} == 使用 == {| {{Parameter names example |_template= |name |logo |image |size |alt |caption |long caption}} |} {| {{Parameter names example |_template= |name |logo |image |image_size |alt |long caption}} |} 此模板为所有航空器相关信息框提供通用格式。此模板和任何配合使用的模板都必须被括在<code>{|</code>和<code>|}</code>之中以生成一个完整的维基表格。(见[[Help:表格]]) <code> <nowiki>{|{{</nowiki>Infobox aircraft begin<br> |''在此处输入参数''<br> <nowiki>}}</nowiki><br> <nowiki>|}</nowiki> </code> 对于航空器型号条目,使用: <code> <nowiki>{|{{</nowiki>Infobox aircraft begin<br> |''在此处输入参数''<br> <nowiki>}}{{</nowiki>Infobox aircraft type<br> |''在此处输入参数''<br> <nowiki>}}</nowiki><br> <nowiki>|}</nowiki> </code> 对于航空发动机条目,使用: <code> <nowiki>{|{{</nowiki>Infobox aircraft begin<br> |''在此处输入参数''<br> <nowiki>}}{{</nowiki>Infobox aircraft engine<br> |''在此处输入参数''<br> <nowiki>}}</nowiki><br> <nowiki>|}</nowiki> </code> 多重模板可以被层叠起来,例如使用特定飞机型号制造的唯一飞机同时也有其个体值得关注的使用历史,如[[圣路易斯精神号]]: <code> <nowiki>{|{{</nowiki>Infobox aircraft begin<br> |''在此处输入参数''<br> <nowiki>}}{{</nowiki>Infobox aircraft type<br> |''在此处输入参数''<br> <nowiki>}}{{</nowiki>Infobox aircraft career<br> |''在此处输入参数''<br> <nowiki>}}</nowiki><br> <nowiki>|}</nowiki> </code> ==其他模块== 当前可用于Infobox aircraft模块化模板的其他模块如下: ; {{tl|Infobox aircraft type}} : 与航空器型号(或子型号)有关的通用资料,如职能、制造商、产量、首飞日期。但'''不包括'''性能规格。 ; {{tl|Infobox aircraft career}} : 与个别具有重要意义的飞机有关的资料,比如注册号、军队序列号、当前保存状态。 ; {{tl|Infobox aircraft engine}} : 与航空器发动机型号有关的通用资料,如型号、制造商、主要应用。但'''不包括'''性能规格。 ; {{tl|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 {{nobold|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== <!-- Abstract usage of the template --> <pre style="overflow:auto"> {{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. --> }} </pre> ==Example== <pre style="overflow:auto"> <nowiki> |name = Foo</nowiki> <nowiki> |image = Foo.jpg</nowiki> <nowiki> |size = 300px</nowiki> <nowiki> |alt = an aircraft in flight</nowiki> <nowiki> |caption = The Foo on its first flight</nowiki> </pre> == Tracking categories == * {{clc|Pages using deprecated image syntax}} – Used by [[Module:InfoboxImage]] to track articles where an infobox uses image syntax in the format <kbd><nowiki>|image=[[File:Example.jpg]]</nowiki></kbd>. To exclude articles from this category, change it to {{samp|<nowiki>|image=Example.jpg</nowiki>}}. * {{clc|No local image but image on Wikidata}} – 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 {{para|nocat_wdimage|yes}} to the infobox. == Supporting templates and modules == The following templates are used directly from this template: * {{tl|WPMILHIST Infobox style}} * {{tl|Wikidata image}} ==TemplateData== {{Collapse top|title=[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}} {{TemplateData header|noheader=1}} <templatedata> { "params": { "name": { "label": "Name", "type": "string", "required": false, "description": "Name of the aircraft without the name of the manufacturer" }, "image": { "label": "Image", "type": "string/wiki-page-name", "required": false, "description": "Image of the aircraft" }, "size": { "label": "Image Size", "type": "string", "required": false, "description": "Size of image (eg. 300px)", "default": "250px" }, "alt": { "label": "Alternative Text", "type": "string", "required": false, "description": "Alternative text to display if image does not display for whatever reason" }, "caption": { "label": "Caption", "type": "string", "required": false, "description": "Caption for the image" }, "long caption": { "label": "Long caption", "type": "string", "required": false, "description": "A longer (multi-line), more detailed caption may be desirable from time to time. Long captions will appear left-justified in the infobox." } }, "format": "block" } </templatedata> {{Collapse bottom}} <noinclude> [[Category:航空模板|Infobox Aircraft Begin]] </noinclude><includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> [[Category:航空交通信息框模板|Aircraft Begin]] [[Category:飛行器模板]] [[Category:添加追踪分类的模板]] }}</includeonly>
摘要:
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
模板
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息