Doctor Who Cuttings Archive

Difference between revisions of "Template:Img link"

From The Doctor Who Cuttings Archive
Jump to navigationJump to search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#ifeq: {{#pos:{{{filename}}}|.jpg}} | 0 | | [[Image:{{{filename}}}|link={{filepath:{{{filename}}}}}|{{px|250}}]]px }}  
+
{{#ifeq: {{#pos:{{{filename}}}|.jpg}} | 0 | | [[Image:{{{filename}}}|link={{filepath:{{{filename}}}}}|{{{px|250}}}]]px }}  
{{#ifeq: {{#pos:{{{filename}}}|.pdf}} | 0 | | [[File:{{{filename}}}|{{px|250}}px]] }}  
+
{{#ifeq: {{#pos:{{{filename}}}|.pdf}} | 0 | | [[File:{{{filename}}}|{{{px|250}}}px]] }}  
 
</includeonly>
 
</includeonly>

Revision as of 00:51, 13 October 2013