模板: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)