ទំព័រគំរូ: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. ទំព័រគំរូ:Infobox ship begin/shared doc

TemplateData[កែប្រែ]

This is the TemplateData documentation for the template used by the new VisualEditor.

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.

Template parameters

ParameterDescriptionTypeStatus
Image nameimage Ship image

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

Stringrequired
Image alternative textimage alt

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

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

Stringoptional
Captioncaption Ship caption

Image caption shown beneth it.

Stringoptional