Template:Wide image/doc

This template allows you to easily include a panorama image. If the image is too wide, scrollbars will be added. If you do not want the image to use a thumbnail frame, you can use no.

Usage

 * An  option is required. This specifies the full width at which the image will be displayed, and is distinct from box width (the width of the box on the page).
 * A  option is optional, and an image frame will be used if a caption is supplied. If the caption contains an equal sign, use the parameter   in the place of  . If the caption supplied is exactly equal to image syntax such as , the image's tooltip will no longer display the caption, but instead default to the name of the image.
 * The  option is optional, and if given a value in pixels followed by "px", or a value in percent followed by "%", will set the width of the box to that amount. For example, 45% would use 45% of the text section width, (not a percentage of the image width).
 * The  option is also optional but requires box width to be defined. If given a value of   or , the entire wide image will float to the right or left.  If given a value of   the image will not float.
 * The  describes the image's visual appearance to visually disabled readers. Please see WP:ALT for details.

To change the scroll direction from left-to-right to right-to-left, use rtl.

To align the caption, use align-cap.

To remove the outer border, use no.

Right aligned
This text goes after the wide image template.

Left aligned
This text goes after the wide image template.

Center aligned 75% width
This text goes after the wide image template.

No alignment
This text goes after the wide image template.

TemplateData
{	"description": "Allows you to easily include a panorama image. If the image is too wide, scrollbars will be added.", "params": { "1": {			"label": "Filename", "description": "Name of the file to display. Example: Helsinki z00.jpg", "type": "string", "required": true },		"2": {			"label": "Image width", "description": "Give the width in pixels (like: 1600px) that you want the included image to be", "type": "string", "required": true },		"3": {			"label": "Caption", "description": "A caption for the image that will be shown below image", "type": "string", "required": false, "aliases": [ "caption" ]		},		"4": {			"label": "Width of frame", "description": "Limit the width of the frame enclosing the picture. Example: \"400px\" or \"40%\"", "type": "string", "required": false, "aliases": [ "width" ]		},		"5": {			"label": "Frame alignment", "description": "Either of: left, right, center or none. When specified also requires you to set the \"Width of frame\" option", "default": "center", "type": "string", "required": false, "aliases": [ "align" ]		},		"dir": { "label": "Picture alignment", "description": "Use the value 'rtl' to make the right side of the image the initial visible portion inside the scroll frame", "default": "ltr (left to right)", "type": "string", "required": false },		"alt": { "label": "Textual alternative", "description": "Describes the image's visual appearance to visually disabled readers. Please see WP:ALT for details", "type": "string", "required": false }	} }