Template:GalleryItems: Difference between revisions
From Step Mods | Change The Game
TechAngel85 (talk | contribs) |
TechAngel85 (talk | contribs) |
||
Line 2: | Line 2: | ||
==Purpose & Usage== | ==Purpose & Usage== | ||
The purpose of the GalleryItem template is to define and display one gallery item per usage. This template must be used within the Gallery template as such: | |||
<pre> | |||
{{Gallery | |||
|enable=Yes | |||
|align=center | |||
|galleryitems= | |||
{{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-5-1330114202.jpg|caption=A wall}} | |||
{{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-4-1330114200.jpg|caption=Text}} | |||
{{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-3-1330114199.jpg|caption=More text}} | |||
}} | |||
</pre> | |||
See below for the parameters that can be used with GalleryItem. | |||
==Example== | ==Example== |
Revision as of 03:47, October 14, 2014
Purpose & Usage
The purpose of the GalleryItem template is to define and display one gallery item per usage. This template must be used within the Gallery template as such:
{{Gallery |enable=Yes |align=center |galleryitems= {{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-5-1330114202.jpg|caption=A wall}} {{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-4-1330114200.jpg|caption=Text}} {{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-3-1330114199.jpg|caption=More text}} }}
See below for the parameters that can be used with GalleryItem.
Example
The following will display a single gallery item within a gallery.
Code:
{{GalleryItems|url=https://copy.com/b1qwohqNdVIc0ryw|caption=Dummy Image}}
Defining Height and Width: