Template:Image gallery

From DMCB Wiki
Revision as of 21:47, 18 October 2010 by Greg (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 

Contents

Parameters

Required

|Image|Alt text|Caption
Specify one of these lines for each image. Image is the image name (without any File: or Image: prefix). Alt is the alt text, used by visually impaired readers; it typically has little in common with the caption. Caption is the caption. If no such lines are present, a gallery with a single question-mark image is produced. There is currently a limit of 30 such lines.

Optional

title
The gallery's title.
width
(default 180) Maximum width of each image.
height
(default 180) Maximum height of each image.
lines
(default 2) The number of text lines needed for the largest caption. Blank lines are appended to smaller captions. A caption that does not fit is cut off.

Example

{{Image gallery
|title=Title goes Here
|lines=4
|width=160
|height=140
|File1.png|Alt text; description of the image itself
|File2.png|Alt text|Caption; description of importance of image, can use wiki markup
|File3.png|Alt text|Caption; description of importance of image, can use wiki markup
}}


Personal tools