Template:Multiple Images 2/Doc

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

Summary[edit]

This is a simpler version of {{Multiple Images}} which makes use of MetaTemplate to make it easier to use. It can be used to create a box with any number of images arranged vertically or horizontally, with captions for the entire box and/or for each image. Unlike the original template, custom links and alt text are not supported. If you require them, use the original template instead.

Parameters[edit]

Multiple Images 2
Parameter Scope Description
width optional The width for every image (in pixels). Unlike the original template, this is required unless the three-parameter version is being used.
align optional The alignment of the overall box (defaults to "right"). Images and text within the box will always be left-aligned.
direction optional Defaults to "horizontal"
header_align optional Defaults to "center"
footer_align optional Defaults to "left"
background_color optional Defines the background color between the border of the box and the images.
nocaptions optional If a value is specified, the template will show only images with no captions. In this case, width must be specified, and each parameter will be the filename of an image. You cannot use nocaptions together with individual image widths. If you need to do this, use the 3-parameter version of the template and leave all caption parameters empty.
Images
Each set of between 1-3 unnamed parameters defines an image.
1 parameter: width is specified and nocaptions=1 is used. Parameters are the image names only.
2 parameters: width is specified and nocaptions is absent. The first parameter in each pair is the image name; the second is the caption. Empty captions will not be displayed at all (i.e., no extra space is used).
3 parameters: width is absent. The first parameter in each triplet is the image name, the second is the caption, and the third is the width in pixels. Empty captions work as per the 2-parameter version; empty image widths will be set to 200px.

Examples[edit]

{{Multiple Images 2|width=200
|SI-place-Gates of Madness.jpg|The Gates of Madness, as seen from the Shivering Isles proper
|SI-quest-Rebuilding the Gatekeeper 02.jpg|[[Shivering:Relmyna Verenim|Relmyna]] creates a new Gatekeeper
}}
The Gates of Madness, as seen from the Shivering Isles proper
The Gates of Madness, as seen from the Shivering Isles proper
Relmyna creates a new Gatekeeper
Relmyna creates a new Gatekeeper

See Also[edit]