Шаблон:Item infobox gallery

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск
Gallery
Add a gallery image

Usage[править]

Used to generate a gallery of images for the item.

{{Item infobox gallery|
+<Image>, <Caption>
+<Image>, <Caption>
+<Image>, <Caption>
...
}}

Legacy mode:

{{Item infobox gallery
| gallery1 = File.jpg
| gallery1-text = Caption
...
}}

Parameters[править]

Arraymap parameters

gallery 
Optional. Enter images using +<Image>, <Caption> with a newline between the caption and the next image. Defaults to <page name>.jpg

Legacy parameters

name 
Required. The canonical name of item, used for Property:Has caption.
gallery1 ... gallery5 
Optional. Gallery images of the weapon. Defaults to <page name>.jpg
gallery1-text ... gallery5-text 
Optional. Gallery image descriptions.

Example[править]

{{Item infobox gallery|
+Relyk Garden of Ilya v1 start.jpg, The passage in [[Dhuum's Last Stand]]
+Relyk Garden of Ilya v1 2.jpg,     Head up the series of ramps
+Relyk Garden of Ilya v1 3.jpg,     Look for the opening by the rubble
+Relyk Garden of Ilya v1 4.jpg,     Make your way up the rubble to the structure
}}
Gallery
220x200px

The passage in Dhuum's Last Stand

220x200px

Head up the series of ramps

220x200px

Look for the opening by the rubble

220x200px

Make your way up the rubble to the structure