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:{{#expr:{{{size|200}}}+2}}px;"><a href="{{FILEPATH:{{{image}}}}}" class="images" rel="lightbox{{#if:{{{group|}}}|[{{{group}}}]}}" title="{{{title}}}">[[File:{{{image}}}|{{{size|200}}}px|{{{title}}}|link=]]</a><div class="thumbcaption">{{{title}}}</div></div></div><noinclude> | + | <div class="thumb t{{{position|left}}}"><div class="thumbinner" style="width:{{#expr:{{{size|200}}}+2}}px;"><a href="{{FILEPATH:{{{image}}}}}" class="images" rel="lightbox{{#if:{{{group|}}}|[{{{group}}}]}}" title="{{{title}}}">[[File:{{{image}}}|{{{size|200}}}px|{{{title|screenshot}}}|link=]]</a><div class="thumbcaption">{{{title}}}</div></div></div><noinclude> |
Usage: | Usage: | ||
<pre><nowiki>{{Lightbox|image=Imagename|title=Image title|position=[left|right]|size=200|group=Groupname}}</nowiki></pre> | <pre><nowiki>{{Lightbox|image=Imagename|title=Image title|position=[left|right]|size=200|group=Groupname}}</nowiki></pre> | ||
</noinclude> | </noinclude> |
Revision as of 20:06, 4 December 2010
Usage:
{{Lightbox|image=Imagename|title=Image title|position=[left|right]|size=200|group=Groupname}}