模板:Infobox ship image/doc
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. | 字串 | 非必填 |
跟蹤模板
編輯