Template:Gallery/doc

Purpose
This template displays a set of images. However, contrary to the  tag, it doesn't resize images.

It is especially useful to display mixed-size images since they don't get reduced or enlarged to fit a given width or height.

Images are displayed in a row and are automatically split into several rows when necessary. Images are bottom-aligned, allowing their caption to be vertically aligned.

Usage
This template is to be used in place of the  tag.

Blank template
To use this template, you can copy and paste the following code to the page you want to use it on, and fill in the parameters.

Regular example
Result: (Resize your window to see how it works.)

Tweaked margins example
Result: (Resize your window to see how it works.)

Related templates

 * Gallery/image