Template:GalleryItems: Difference between revisions

From Step Mods | Change The Game
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><li class="modgallerybox" style="width: 185px;"><div style="width: 185px;"><div class="thumb" style="width: 180px; height: 116px;"><div style="margin: 16px auto;">{{#hsimg:GALLERY{{#var:id}}|150|{{{caption|}}}| {{{url}}} }}</div></div>{{#if: {{{caption|}}} | <div class="modgallerytext"><p>{{{caption}}}</p></div>}}</div></li></includeonly>
<includeonly><li class="modgallerybox" style="width: 185px;"><div style="width: 185px;"><div class="thumb" style="width: 180px; height: 116px;"><div style="margin: 16px auto;">{{#hsimg:GALLERY{{#var:id}}|150|{{{caption|}}}| {{{url}}} }}</div></div>{{#if: {{{caption|}}} | <div class="modgallerytext"><p>{{{caption}}}</p></div>}}</div></li></includeonly><noinclude>
 
==Purpose & Usage==
Some text here.
 
==Example==
The following will limit the TOC to 3 headings depth.
 
'''Code:'''
<pre>{{GalleryItems|url=https://copy.com/b1qwohqNdVIc0ryw|caption=Dummy Image}}</pre>
 
'''Defining Height and Width:'''
 
== See Also ==
[[:Template:Gallery]]
</noinclude>

Revision as of 03:41, October 14, 2014


Purpose & Usage

Some text here.

Example

The following will limit the TOC to 3 headings depth.

Code:

{{GalleryItems|url=https://copy.com/b1qwohqNdVIc0ryw|caption=Dummy Image}}

Defining Height and Width:

See Also

Template:Gallery