Template:Image Gallery/doc
Displays a gallery of images for a given category. The results of the semantic category query are formatted by {{Image gallery line}}.
Template Data
Displays a gallery of images for a given category.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Category | 1 | Category of images to display
| String | optional |
| Image property | image-property | Used to specify the image property to be displayed in the gallery
| String | optional |
| SMW query conditions | conditions | Semi-colon separated list of additional semantic query conditions to filter the category results.
| String | optional |
| Alternate SMW query conditions | or-conditions | Semi-colon separated list of alternative semantic query conditions to filter the category results. The "OR" conditions will be combined with the conditions to merge two result sets, i.e. [[Has foo::foo]] OR [[Has bar::bar]]. The category will always be included in the search filters.
| String | optional |
| Show image placeholders? | show-placeholders | Set to 'n' to prevent the image placeholder from displaying for any pages without an image.
| Boolean | optional |
| Caption property | caption-property | Used to specify the property value that should appear as a caption.
| String | optional |
| Limit | limit | Maximum number of images to be displayed. (Warning: many large images may cause slow page loads, so it may be better to separate a large gallery into multiple pages.)
| Number | optional |
| Sort field(s) | sort | Comma-delimited list of properties to sort by.
| String | optional |
| Image size | size | Used to specify the maximum height of the images in the gallery.
| Number | optional |
| Further results link | further-results | The page where further results will be displayed, used for the "further results" link | Page name | optional |