Difference between revisions of "Template:Img link"
From The Doctor Who Cuttings Archive
Jump to navigationJump to searchJohn Lavalie (talk | contribs) (Created page with "<includeonly>{{#switch: comparison string | jpg | jpeg = [[Image:{{{filename}}}|link={{filepath:{{{filename}}}}}|{{px| 250}}]] }} </includeonly>") |
John Lavalie (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{# | + | <includeonly> |
− | + | {{#ifeq: {{#pos:{{{filename}}}|.jpg}} | 0 | {{#ifeq: {{#pos:{{{filename}}}|.pdf}} | 0 | | [[File:{{{filename}}}|{{{px|250}}}px]] }} | [[Image:{{{filename}}}|link={{filepath:{{{filename}}}}}|{{{px|250}}}]]px }} | |
− | |||
− | 250}}]] | ||
− | }} | ||
</includeonly> | </includeonly> |