Template:Gallery
Jump to navigation
Jump to search
Documentation
This template generates a gallery of images on pages. It is intended to supersede the MediaWiki <gallery>
tag.
Syntax
{{Gallery|<images>}}
or {{Gallery|<images>|<width>|<height>}}
1
: A list of images separated by|
symbols.- A caption can be added to an image by adding a
;
(semi-colon) delimiter and writing the caption.
- A caption can be added to an image by adding a
width
: Sets the width of images. Defaults to 100.- While the size is parsed as pixels, do not write
px
after the size.
- While the size is parsed as pixels, do not write
height
: Sets the height of images. Defaults to 100.- While the size is parsed as pixels, do not write
px
after the size.
- While the size is parsed as pixels, do not write
Examples
- Regular Gallery
{{Gallery |Argus.png |Aurora.png |Countess.png }}
- Captions
{{Gallery |Argus.png;Caption |Aurora.png;Another caption |Countess.png }}
- Sizes
{{Gallery |width=120 |height=90 |Argus.png;Caption |Aurora.png;Another caption |Countess.png }}