UtterAccess HomeUtterAccess Wiki

Welcome Guest ( Log In | Register )

Custom Search
Discussion
> Template:Gallery    

{{{1}}}


Template Documentation: Gallery

This template is used to build an image gallery on a grid layout with a dynamic number of columns which are relevant to the browser width. It is meant to be used with images that are not uploaded to wiki.

Two paremeters are required for each image to be displayed in the gallery: one for the image, and one for the image caption. Currently the template is set up to handle 30 images.

If gallery needs to render images that are quite tall, pass in named parameter "height". By default, images are allowed to be 128px tall.

The image parameter is intended to be a full descriptive url to the /uapix image rather than a wiki image link. For wiki images, use the built-in <gallery> tag instead.

Example usage:

{{gallery|height=128px
|http://www.utteraccess.com/uapix/someimg.jpg|[[Caption Text/Link Here]]
|http://www.utteraccess.com/uapix/someimg.jpg|[[Caption Text/Link Here]]
|http://www.utteraccess.com/uapix/someimg.jpg|[[Caption Text/Link Here]]
|http://www.utteraccess.com/uapix/someimg.jpg|[[Caption Text/Link Here]]
}}

For help creating a documentation page, see Manual:Template Documentation



Discussion
Custom Search
Thank you for your support!
This page has been accessed 26,713 times.  This page was last modified 23:08, 1 April 2012 by BananaRepublic. Contributions by Jack Leach  Disclaimers