Difference between revisions of "Template:Lightbox"
From Ogame Wiki - Preview (mw1.22)
[checked revision] | [checked revision] |
Line 1: | Line 1: | ||
− | <div class="thumb t{{{position|left}}}"><div class="thumbinner" style="width:202px;"><a href="{{FILEPATH:{{{image}}}}}" class="images" rel="lightbox{{#if:{{{group|}}}|[{{{group}}}]" title="{{{title}}}>[[File:{{{image}}}|200px|{{{title}}}|link=]]</a><div class="thumbcaption">{{{title}}}</div></div></div><noinclude> | + | <div class="thumb t{{{position|left}}}"><div class="thumbinner" style="width:202px;"><a href="{{FILEPATH:{{{image}}}}}" class="images" rel="lightbox{{#if:{{{group|}}}|[{{{group}}}]}}" title="{{{title}}}>[[File:{{{image}}}|200px|{{{title}}}|link=]]</a><div class="thumbcaption">{{{title}}}</div></div></div><noinclude> |
Usage: | Usage: | ||
<pre><nowiki>{{Lightbox|image=Imagename|title=Image title|position=[left|right]|group=Groupname}}</nowiki></pre> | <pre><nowiki>{{Lightbox|image=Imagename|title=Image title|position=[left|right]|group=Groupname}}</nowiki></pre> | ||
</noinclude> | </noinclude> |
Revision as of 14:19, 4 December 2010
Usage:
{{Lightbox|image=Imagename|title=Image title|position=[left|right]|group=Groupname}}