Template:Item infobox gallery

From Guild Wars 2 Wiki
Jump to: navigation, search
Gallery
Add a gallery image

Click to enlarge

Usage[edit]

Used to generate a gallery of images for the item.

{{Item infobox gallery
| gallery1 = 
| gallery1-text = 
| gallery2 = 
| gallery2-text = 
| gallery3 = 
| gallery3-text = 
| gallery4 = 
| gallery4-text = 
| gallery5 = 
| gallery5-text = 
}}

Parameters[edit]

Parameter Optional? Default Notes
name Required The canonical name of item, used for Property:Has caption.
gallery1 ... gallery5 Optional {{PAGENAME}}.jpg Gallery images of the item.
gallery1-text ... gallery5-text Optional Click to enlarge Gallery image descriptions.

Example[edit]

<div class="infobox">
{{Item infobox gallery
| gallery1 = Badlands Stalker.jpg
| gallery1-text = Caption text to appear beneath first image
| gallery2 = Highlands Harrier.jpg
| gallery2-text = Caption text to appear beneath second image
}}
</div>
Gallery
Badlands Stalker.jpg

Caption text to appear beneath first image

Highlands Harrier.jpg

Caption text to appear beneath second image