Template:Auto images/documentation
Appearance
See also: Template:multiple images
Displays a box containing up to six images arranged horizontally. Most of the implementation is at Template:Auto images/aux.
An example of usage is at sex machine. As of 2023 this template is used on very few pages.
Parameters
[edit]|title=
(optional)- A title to display above the images.
|align=
or|float=
(optional)- Specifies the alignment of the entire element. Valid values are:
- left
- right
- center
- left_nowrap or none: Left aligned with no content wrapping around on the right.
- right_nowrap: Right aligned with no content wrapping around on the left.
- Defaults to center.
|text_align=
(optional)- The alignment of the image captions. This value is assigned to the CSS
text-align
property, causing it to have many valid values, but the more common ones are:- left
- right
- center
- justify
- Defaults to left.
|cont=1
(optional)- Causes the CSS top margin of the box to be -1 rather than 0 (the default).
|footer=
(optional)- A caption to display centered at the bottom of the box.
|total_width=
(optional)- The total width of the box in pixels. Defaults to 600 pixels.
|image1=
(required),|image2=
(optional), ...|image6=
- The location of each image within the File namespace without the
File:
prefix. Up to 6 images may be selected.
|width1=
(required),|width2=
, ...|width6=
- The width of each image file. This is not the width the image will be displayed with; that is calculated based on the
|total_width=
and the aspect ratio of each image. This parameter is required for each image.
|height1=
,|height2=
, ...|height6=
(optional)- The height of each image file in pixels. This is not the height the image will be displayed with; that is calculated based on the
|total_width=
and the aspect ratio of each image. When the template is used properly all images will be displayed with the same height.
|caption1=
,|caption2=
, ...|caption6=
(optional)- The caption of each image.
|alt1=
,|alt2=
, ...|alt6=
(optional)- Alternative text to display if an image fails to load. Usually a short description of what the image depicts.