Template:Item infobox gallery

From Guild Wars 2 Wiki
Jump to navigationJump to search
Gallery
Add a gallery image

Click to enlarge

Description[edit]

Used to generate a gallery of images for the item. This template sets Property: Has appearance to the first image in the gallery.

Usage[edit]

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

Parameters[edit]

Parameters handled by {{Item infobox gallery}} template[edit]

name
Required. The canonical name, used for Property:Has caption. Defaults to the name of the base article ({{BASEPAGENAME}}).
gallery1 ... gallery5
Optional. Gallery of images. Defaults to {{PAGENAME}}.jpg.
gallery1-text ... gallery5-text
Optional. Image descriptions.

Examples[edit]

<div class="infobox">
{{Item infobox gallery
| name = Badlands Stalker
| 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