ទំព័រគំរូ: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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image name | image Ship image | Name of the image to be displayed. Simple name is enough. Full image syntax is accepted... for now. | String | required |
Image alternative text | image alt | Alternative text for the image, shown to those who are unable to see the image. | String | optional |
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. | String | optional |
Caption | caption Ship caption | Image caption shown beneth it. | String | optional |