Template: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
编辑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 name | image Ship image | Name of the image to be displayed. Simple name is enough. Full image syntax is accepted... for now. | 字符串 | 必需 |
Image alternative text | image alt | Alternative text for the image, shown to those who are unable to see the image. | 字符串 | 可选 |
Image size | image 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. | 字符串 | 可选 |
Caption | caption Ship caption | caption text shown beneath the image. | 字符串 | 可选 |
跟踪模板
编辑上述文档嵌入自Template:Infobox ship image/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。 本模板的子页面。 |