Template:Gallery/doc

This template is used to simulate the MediaWiki function, but allows for greater control over the functionality of the gallery. Specifically, it allows for adding a custom link on the image itself, which is not possible through the traditional tag.

Usage
...

Components
This template is comprised of three mandatory components:, , and.

This sub-template is used to mark the beginning of the gallery.

Parameters

 * |style= : This optional parameter allows for the addition of CSS styles to the main body of the gallery. This is unnecessary in most cases.

This sub-template is used to generate each individual entry for the gallery. Multiple uses of this template will allow for the addition of multiple entries in the gallery.

Parameters

 * |image= : Filename of the image for the gallery entry. Do not include.
 * |text= : Text below the image. Optional. If  is specified, the caption will default to a link to the same page as the specified link. If neither   nor   are specified, no text will be displayed.
 * |link= : Link placed on the image itself. Optional. If not specified, the image will link to its own description page. To have no link at all, enter.
 * |width= : Max width (in pixels) of the image in the gallery entry. Optional. If not specified, will default to 100px. Do not include, simply the number alone is enough. If specified, it is advisable to make all entries in a single gallery have the same   value.
 * |height= : Max height (in pixels) of the image in the gallery entry. Optional. If not specified, will default to the value specified for . If neither   nor   are specified, will default to 100px. Same syntax and suggestions apply for   and.

This sub-template marks the end of the gallery.