Template:Gallery

From Meta, a Wikimedia project coordination wiki
Template documentation


This template, using Module:Gallery and Template:Gallery/styles.css, shows a set of images with caption. Each image with caption is embedded in a set of HTML elements width the same size. As a result the browser displays them row by row, with as many on one row as fit in the window.

The optional parameters are title, align, footer, style, state, height, width, whitebg and noborder.

Example:

{{Gallery
|caption=Photos
|width=150
|perrow=4
|Oost_amsterdam_cs.JPG|Oostzijde Centraal Station
|AMS_central_station_3.jpg|[[Stationsplein (Amsterdam)|Stationsplein]] Amsterdam
|Asd_cs_afstand.JPG|Het station vanaf de [[Oude Kerkstoren]]
|Amsterdam Centraal oostzijde.jpg|Het station vanuit het oosten
...
}}