Difference between revisions of "Template:Main page image/ITN"
Jump to navigation
Jump to search
]]
test>David Levy m (tweaked) |
test>Edokter (Undid revision 672741988 by David Levy (talk) Don't split divs over templates/pages please!) |
||
| Line 1: | Line 1: | ||
| − | + | {{#if:{{{image|}}}|<div style="float:right;margin-left:0.5em;" id="mp-itn-img"> | |
| − | {{#if:{{{image|}}}|<div style="float:right;margin-left:0.5em;" id="mp-itn-img">{{main page image|image={{{image}}}|width={{#if:{{{width|}}}|{{{width}}}|120}}|caption={{{caption}}}|link={{#ifeq:{{remove file prefix|{{{link}}}}}|{{remove file prefix|{{{image}}}}}||{{#if:{{{link}}}|File:{{remove file prefix|{{{link}}}}}}}}}}}</div> | + | {{main page image|image={{{image}}}|width={{#if:{{{width|}}}|{{{width}}}|120}}|caption={{{caption}}}|link={{#ifeq:{{remove file prefix|{{{link}}}}}|{{remove file prefix|{{{image}}}}}||{{#if:{{{link}}}|File:{{remove file prefix|{{{link}}}}}}}}}} |
| + | }</div>}} | ||
Revision as of 10:58, 24 July 2015
{{#if:|
[[File:{{{image}}}|Script error: No such module "If empty".px |{{{caption}}} |link=File:{{{link}}}}
}{{{caption}}}