Template:Main page image: Difference between revisions
Appearance
m Howcheng moved page User:Howcheng/sandbox/main page image to Template:Main page image: moving out of sandbox |
alt text |
||
| Line 1: | Line 1: | ||
<div class="thumbinner" style="background:none; border:none; max-width:{{str number/trim|{{{width|120}}}}}px;"> | <div class="thumbinner" style="background:none; border:none; max-width:{{str number/trim|{{{width|120}}}}}px;"> | ||
[[File:{{Remove file prefix|{{{image<noinclude>|Example.svg</noinclude>}}}}}|{{{border|none}}}|{{#ifeq: {{str endswith|{{{width|120}}} | px}} | yes | {{#ifexpr: {{str find0|{{{width|120}}} | px }} > -1 | {{str left|{{{width|120}}}|{{str find0|{{{width|120}}}}}}} | {{{width|120}}} }}px |{{{caption<noinclude>|Caption goes here.</noinclude>}}}]] | [[File:{{Remove file prefix|{{{image<noinclude>|Example.svg</noinclude>}}}}}|{{{border|none}}}|{{#ifeq: {{str endswith|{{{width|120}}} | px}} | yes | {{#ifexpr: {{str find0|{{{width|120}}} | px }} > -1 | {{str left|{{{width|120}}}|{{str find0|{{{width|120}}}}}}} | {{{width|120}}} }}px |{{{alt|{{{caption<noinclude>|Caption goes here.</noinclude>}}}}}}]] | ||
<div class="thumbcaption" style="word-wrap: break-word; {{#if: {{{caption align|}}} | text-align: {{{caption align}}}; }}">{{{caption<noinclude>|Caption goes here.</noinclude>}}}</div></div> | <div class="thumbcaption" style="word-wrap: break-word; {{#if: {{{caption align|}}} | text-align: {{{caption align}}}; }}">{{{caption<noinclude>|Caption goes here.</noinclude>}}}</div></div> | ||
Revision as of 13:15, 15 July 2015
[[File:Template:Remove file prefix|none|{{#ifeq: Template:Str endswith | yes | Expression error: Unrecognized punctuation character "[".px |Caption goes here.]]
Caption goes here.