Template:Gallery

From xat wiki
Jump to: navigation, search

Display a gallery of up to 10 images.

Attributes

  • 1d-10d - Image descriptions (optional).
  • width - Width of each thumbnail in pixels (optional, defaults to 275).
  • scalable - value no to prevent images from scaling.
  • hide - value yes to hide the gallery (i.e. to have the code as a placeholder until images become available).

Usage

{{Gallery|width=#
|image_link|1d=First image description.
|second_image_link|2d=Second image description.
}}

Example

{{Gallery|width=100
|http://i.imgur.com/abcd.png|1d=First image description.
|http://i.imgur.com/abcd.png|2d=Second image description.
}}

Minimalist example

{{Gallery
|http://i.imgur.com/abcd.png
|http://i.imgur.com/abcd.png
}}