UtterAccess HomeUtterAccess Wiki

Welcome Guest ( Log In | Register )

Discussion
> Template:Gallery    
(Difference between revisions)
Revision as of 08:25, 30 March 2012
BananaRepublic (Talk | contribs)

← Previous diff
Revision as of 14:14, 1 April 2012
Jleach (Talk | contribs)
(added documentation & template category, no functional change)
Next diff →
Line 115: Line 115:
|test={{{61|}}} |test={{{61|}}}
|then={{GalleryBlock|{{{61|}}}|{{{62|}}}}} |then={{GalleryBlock|{{{61|}}}|{{{62|}}}}}
-|else=}}</div>+|else=}}</div><noinclude>
 + 
 +{{Template}}
 + 
 +</noinclude>

Revision as of 14:14, 1 April 2012

{{{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
Thank you for your support!
Disclaimers