模板:Infobox ship image

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

This template is part of the new WikiProject Ships ship infobox. It adds a picture and caption to the infobox. Each section, except Infobox Ship Begin, can be repeated as necessary to support multiple careers, multiple sets of characteristics, etc. Template:Infobox ship begin/shared doc

TemplateData

编辑
这是用于新版可视化编辑器及其他工具的模板数据文档。

Infobox ship image模板数据

Used to add an image to ship articles. Used with {{Infobox ship begin}}. If your article does not have an image in this field, the ship will automatically be listed at the hidden category [[Category:Ship infoboxes without an image]]. Editors can use the category to easily see a list of infoboxes where no image is attached and work to find pictures.

模板参数[编辑模板数据]

此模板首选参数换行的代码块格式。

参数描述类型状态
Image nameimage Ship image

Name of the image to be displayed. Simple name is enough. Full image syntax is accepted... for now.

字符串必需
Image alternative textimage alt

Alternative text for the image, shown to those who are unable to see the image.

字符串可选
Image sizeimage size

Size of the image in CSS syntax. e.g. 300px. Optional. Use wisely; Wikipedia policy requires deviations from standard size to remain minimum. Ignored if a full image syntax with size is added to |image parameter.

字符串可选
Captioncaption Ship caption

caption text shown beneath the image.

字符串可选

跟踪模板

编辑

Category:使用船只信息框而未提供图像的条目(0)