Widget:Wikipedia image
From CruisersWiki
(Difference between revisions)
m |
(escape) |
||
Line 13: | Line 13: | ||
}--><a href="<!--{$link}-->" class="image"><!--{ | }--><a href="<!--{$link}-->" class="image"><!--{ | ||
/if | /if | ||
- | }--><img <!--{if $thumb}-->class="thumbimage" <!--{/if}-->alt="<!--{$file}-->" src="https://en.wikipedia.org/wiki/Special:Redirect/file/<!--{$fileEscaped}--><!--{ | + | }--><img <!--{if $thumb}-->class="thumbimage" <!--{/if}-->alt="<!--{$file|escape}-->" src="https://en.wikipedia.org/wiki/Special:Redirect/file/<!--{$fileEscaped}--><!--{ |
if $file == $noSvg | if $file == $noSvg | ||
}-->?dummy<!--{if $width}-->&width=<!--{$width}--><!--{/if}--><!--{if $height}-->&height=<!--{$height}--><!--{/if}--><!--{ | }-->?dummy<!--{if $width}-->&width=<!--{$width}--><!--{/if}--><!--{if $height}-->&height=<!--{$height}--><!--{/if}--><!--{ |
Latest revision as of 13:39, 3 March 2019
A helper widget for Template:Wikipedia image