Template:Plain image with caption/doc

Since MediaWiki does not provide a way to add visible captions to images integrated seamlessly in a page (i.e., without borders), this template aims to provide that functionality.

Usage
This template can be either with named parameters, as in
 *  

...or in its shorthand form:
 *  


 * The only compulsory parameters are image and caption.
 * When using the shorthand version, keep in mind that the order of parameters is important

Examples
The triangle parameters give the option to add a colored triangle label—

 

Using "image-override" to stack images

TemplateData
{	"description": "A template for adding a caption to a frameless image.", "params": { "image": { "label": "Image", "description": "The image to use. The File: prefix is optional.", "type": "string", "default": "—", "required": true, "aliases": [ "1"			]		},		"caption": { "label": "Image caption and alt text", "description": "The caption to display under or above the image. Also sets the alt text.", "type": "string", "default": "—", "required": true, "aliases": [ "2"			]		},		"width": { "label": "Image width", "description": "Sets the pixel width of the image and the template. the px suffix is optional.", "type": "number", "default": "250px", "required": false, "aliases": [ "3"			]		},		"align": { "label": "Float and center", "description": "Floats the template to the left, right, or centers it. Accepts left, center, or right.", "type": "string", "default": "right", "required": false, "aliases": [ "4"			]		},		"caption position": { "label": "Caption position", "description": "Determines whether the caption goes above or below the image. Accepts top or bottom.", "type": "string", "default": "bottom", "required": false, "aliases": [ "5"			]		},		"triangle": { "label": "Triangle pointer", "description": "Allows you to add a triangular pointer next to the caption text. Accepts triangle or none.", "type": "string", "default": "none", "required": false, "aliases": [ "6"			]		},		"triangle color": { "label": "Triangle pointer color", "description": "Lets you set a CSS color for the triangular pointer.", "type": "string", "default": "#ff0080", "required": false, "aliases": [ "7"			]		},		"image override": { "label": "Replacement content for the image", "description": "Lets you substitute any allowed HTML where the image would normally be.", "type": "string", "default": "—", "required": false, "aliases": [ "8"			]		},		"caption override": { "label": "Replacement content for the caption", "description": "Lets you substitute any allowed HTML where the caption would normally be.", "type": "string", "default": "—", "required": false, "aliases": [ "9"			]		}	} }