Widget:Wikipedia image
From CruisersWiki
(Difference between revisions)
(image class fix) |
|||
Line 7: | Line 7: | ||
}--><!--{ | }--><!--{ | ||
if !$nolink | if !$nolink | ||
- | }--><a href="<!--{$link}-->" class=" | + | }--><a href="<!--{$link}-->" class="image"><!--{ |
/if | /if | ||
- | }--><img alt="<!--{$file}-->" src="https://wikipedia.org/wiki/Special:Redirect/file/<!--{$fileEscaped}--><!--{if $width}-->?width=<!--{$width}--><!--{/if}-->"><!--{ | + | }--><img <!--{if $thumb}-->class="thumbimage" <!--{/if}-->alt="<!--{$file}-->" src="https://wikipedia.org/wiki/Special:Redirect/file/<!--{$fileEscaped}--><!--{if $width}-->?width=<!--{$width}--><!--{/if}-->"><!--{ |
if !$nolink | if !$nolink | ||
}--></a><!--{ | }--></a><!--{ |
Revision as of 16:07, 17 November 2016
A helper widget for Template:Wikipedia image