Template:G/doc

This template can be used to make galleries of images hosted on other sites.

Style parameters
There are several style parameters to set the styles of the gallery. Here is a documentation for them. The documentation for this template is almost identical to the tag, other than that in this template uses template parameters, and the gallery uses attributes.

Width
The  parameters can define the widths of the images in the gallery. Set an amount of pixels in this parameter to change the widths.

Position
The  parameter can align the gallery to the right or center, or to the left which is also the default value. Possible parameter values are,   and  (default).

Spacing
The  parameter can modify the spacing between images. Possible values are,  (default) and

Border
The  parameter can modify the borders around each image. Possible values are,  (default),   and

Captionalign
The  parameter can align the captions below images to the left, right and center. Possible values are,   and  (default).

Captionsize
The  can modify the size of the captions below the images. Possible values are,  (default) and

Gallery caption
To make the gallery have a caption above it, put the wanted caption in the  parameter.

Default parameters
The normal parameters are just a parameter with the url of the image. If you want to give the image a caption, add it behind a  (backslash). For example putting  behind the image url would make the caption "caption".

To make the file link to a wikipage, put  behind it. To make it link to an external url, put  behind it. The order of the caption and the link parameter does not matter.