Template:Gallery: Difference between revisions
From Step Mods | Change The Game
(uploaded with x-external-editor) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:id|{{#expr:{{#var:id}}+1}}}}{{#ifeq: {{{enable|}}} | Yes | <ul class="modgallery">{{#if: {{{title|}}} | <li class="modgallerycaption">{{{title}}}</li> }}{{{galleryitems}}}</ul>}}</includeonly> | <includeonly>{{#vardefine:id|{{#expr:{{#var:id}}+1}}}}{{#ifeq: {{{enable|}}} | Yes | <ul class="modgallery">{{#if: {{{title|}}} | <li class="modgallerycaption">{{{title}}}</li> }}{{{galleryitems}}}</ul>}}</includeonly><noinclude> | ||
== Usage == | |||
<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}} | |||
{{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-2-1330114198.jpg|caption=Hi there}} | |||
{{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-1-1330114197.jpg|caption=This caption has more than one line of text, what will it do?}} | |||
{{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-5-1330113866.jpg|caption=This is an}} | |||
{{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-4-1330113864.jpg|caption=Example}} | |||
{{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-3-1330113862.jpg|caption=Fireplace}} | |||
}} | |||
</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}} | |||
{{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-2-1330114198.jpg|caption=Hi there}} | |||
{{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-1-1330114197.jpg|caption=This caption has more than one line of text, what will it do?}} | |||
{{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-5-1330113866.jpg|caption=This is an}} | |||
{{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-4-1330113864.jpg|caption=Example}} | |||
{{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-3-1330113862.jpg|caption=Fireplace}} | |||
}} |
Revision as of 19:06, March 5, 2013
Usage[edit source]
{{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}} {{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-2-1330114198.jpg|caption=Hi there}} {{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-1-1330114197.jpg|caption=This caption has more than one line of text, what will it do?}} {{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-5-1330113866.jpg|caption=This is an}} {{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-4-1330113864.jpg|caption=Example}} {{GalleryItems|url=http://static.skyrim.nexusmods.com/mods/images/607-3-1330113862.jpg|caption=Fireplace}} }}
A wall
Text
More text
Hi there
This caption has more than one line of text, what will it do?
This is an
Example
Fireplace
WARNING
This template is deprecated. Please revise markup to use Template:GallerySimple instead.WARNING
This template is deprecated. Please revise markup to use Template:GallerySimple instead.WARNING
This template is deprecated. Please revise markup to use Template:GallerySimple instead.WARNING
This template is deprecated. Please revise markup to use Template:GallerySimple instead.WARNING
This template is deprecated. Please revise markup to use Template:GallerySimple instead.WARNING
This template is deprecated. Please revise markup to use Template:GallerySimple instead.WARNING
This template is deprecated. Please revise markup to use Template:GallerySimple instead.WARNING
This template is deprecated. Please revise markup to use Template:GallerySimple instead.