Template:ItemGallery
Jump to navigation
Jump to search
This is the template documentation for {{ItemGallery}}. It is transcluded from Template:ItemGallery/doc and may be directly edited there.
Description
This template displays a gallery of images in 'packed' format (see MediaWiki Help:Images for details.
It is intended for use on Item: pages to display a gallery of images of the item.
For an example of usage see Item:Bronze Axe.
Usage
- {{ItemGallery|file #1|file #2|...|h=###|same=y}}
Parameters
The File: images to display in the gallery should be specified as unnamed parameters. Up to 20 images are supported.
Additional parameters:
- h
- (optional) Specifies the height in pixels of all images in the gallery
- same
- (optional) If specified and set to 'y' (or any value), a list of pages which share the same cosmetic as the first file parameter will be included
Example
Source: {{ItemGallery|File:Ash Staff.jpg|h=100|same=y}}
Result:
Same appearance as:
- Item:Wooden Staff (file link) (← links)
- Item:Ash Staff (file link) (← links)
- Item:Fine Ash Staff (file link) (← links)
- Item:Polished Staff (file link) (← links)
- Item:Cutleaf's Staff (file link) (← links)
- Item:Ash Staff (Level 4) (file link) (← links)
- Item:Swift Staff (Level 64) (file link) (← links)