Template:Infobox ship image

维基教科书,自由的教学读本
跳到导航 跳到搜索
Documentation icon 模板文档[查看] [编辑] [页面历史] [清除]

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 nameimageShip 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.

字符串可选
CaptioncaptionShip caption

caption text shown beneath the image.

字符串可选

跟踪模板[编辑]

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