"साँचा:Main page image": अवतरणों में अंतर
दिखावट
No edit summary |
max-width same as image |
||
पंक्ति १: | पंक्ति १: | ||
<div class="{{#ifeq: {{{align|right}}} | right | floatright | {{#ifeq: {{{align|left}}} | left | floatleft | center}} }}"> | <div class="{{#ifeq: {{{align|right}}} | right | floatright | {{#ifeq: {{{align|left}}} | left | floatleft | center}} }}"> | ||
<div class="thumbinner" style="background:none; border:none; min-width: 85px;"> | <div class="thumbinner" style="background:none; border:none; min-width:85px; max-width:{{strnumber/trim|{{{width|115}}}}}"> | ||
[[File:{{Remove file prefix|{{{image<noinclude>|Example.svg</noinclude>}}}}}|{{{border|none}}}|{{#ifeq: {{str endswith|{{{width|115x115}}} | px}} | yes | {{#ifexpr: {{str find0|{{{width|115x115}}} | px }} > -1 | {{str left|{{{width|115x115}}}|{{str find0|{{{width|115}}}}}}} | {{{width|115x115}}} }}px |{{{caption<noinclude>|Caption goes here.</noinclude>}}}]] | [[File:{{Remove file prefix|{{{image<noinclude>|Example.svg</noinclude>}}}}}|{{{border|none}}}|{{#ifeq: {{str endswith|{{{width|115x115}}} | px}} | yes | {{#ifexpr: {{str find0|{{{width|115x115}}} | px }} > -1 | {{str left|{{{width|115x115}}}|{{str find0|{{{width|115}}}}}}} | {{{width|115x115}}} }}px |{{{caption<noinclude>|Caption goes here.</noinclude>}}}]] | ||
<div class="thumbcaption"><div style="{{#if: {{{caption align|}}} | text-align: {{{caption align}}}; | }}">{{{caption<noinclude>|Caption goes here.</noinclude>}}}</div></div> | <div class="thumbcaption"><div style="{{#if: {{{caption align|}}} | text-align: {{{caption align}}}; | }}">{{{caption<noinclude>|Caption goes here.</noinclude>}}}</div></div> | ||
</div> | </div> | ||
</div> | </div> |
२२:२१, २३ जून २०१५ का अवतरण
[[File:साँचा:Remove file prefix|none|{{#ifeq: साँचा:Str endswith | yes | एक्स्प्रेशन त्रुटि: अनपेक्षित उद्गार चिन्ह "["।px |Caption goes here.]]
Caption goes here.