Jump to content

Template:Image frame

From Wikitech
Template documentation

Usage

This template creates a frame like those surrounding images. This template can be used to put two or more images into a frame together.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Contentcontent

Content of the main section (generally images).

Contentrequired
Widthwidth

The width of the image within the frame, in pixels (though do not add "px" to the width e.g., use width=175 and not width=175px).

Default
Automatic, based on content
Numbersuggested
Alignmentalign

"left" and "right" float the image to that side. "center" centres the image, and "none" left-aligns it without floating.

Suggested values
left center right none
Default
right
Stringoptional
Linklink

Link for the "Enlarge" link in the caption.

Page nameoptional
Alternative link textlink_text

Alternative text used for the link for the "Enlarge" link in the caption, usually displayed as tooltip.

Stringoptional
Link overridelinkoverride

Completely replaces the 'info' link.

Lineoptional
Captioncaption

no description

Contentoptional