Template:Thumbnail

From Asian Canadian Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
<span class="acwThumb" title="{{{1}}}">[[Image:{{{2}}}|{{ #if:{{{Featured|}}}|120px|80px}}|{{{1}}}|link={{{1}}}|alt={{{1}}}]]<span class="arts hidden">{{{3}}}</span><span class="location hidden">{{{4}}}</span><span class="Modification_date hidden">{{{5}}}</span><span class="Featured hidden">{{{6}}}</span><span class="page hidden">{{{1}}}</span></span>
+
<span class="acwThumb" title="{{{1}}}">{{ #if:{{{Featured|}}}|{{ #varset: iwidth|120px}}|{{ #varset: iwidth|80px}} }}[[Image:{{{2}}}|{{ #var: iwidth }}|{{{1}}}|link={{{1}}}|alt={{{1}}}]]<span class="arts hidden">{{{3}}}</span><span class="location hidden">{{{4}}}</span><span class="Modification_date hidden">{{{5}}}</span><span class="Featured hidden">{{{6}}}</span><span class="page hidden">{{{1}}}</span></span>

Revision as of 15:08, 24 May 2013

{{ #varset: iwidth|80px}}[[Image:{{{2}}}||{{{1}}}|link={{{1}}}|alt={{{1}}}]]

Personal tools
Namespaces

Variants
Actions
Participating
Categories
Toolbox