Difference between revisions of "Template:ITN candidate/image"

From blackwiki
Jump to navigation Jump to search
imported>David Levy
(created)
 
imported>Jc86035
m (fixed lint errors)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:In the news/image|main}}</includeonly><noinclude>
+
{{#if:{{{image|}}}|<div style="float:right;margin-left:0.5em;">
{{documentation}}
+
[[{{#ifexist:Media:{{{image}}}|File:{{{image}}}|{{{image}}}}}{{#if:{{{link}}}|{{#switch:{{{link}}}|{{{image}}}|File:{{{image}}}|Image:{{{image}}}=|{{#switch:{{{image}}}|File:{{{link}}}|Image:{{{link}}}=|#default={{!}}link={{#ifexist:Media:{{{link}}}|File:{{{link}}}|{{{link}}}}}}}}}}}|{{#if:{{{size|}}}|{{{size}}}|100x100px}}{{yesno|{{{border|}}}|yes={{!}}border}}|{{{title}}}|alt={{#if:{{{alt|}}}|{{{alt}}}|{{{title}}}}}]]</div>}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
</noinclude>
 

Latest revision as of 10:32, 27 October 2017