টেমপ্লেট:Main page image: সংশোধিত সংস্করণের মধ্যে পার্থক্য
সম্পাদনা সারাংশ নেই |
mid-width: 85px |
||
১ নং লাইন: | ১ নং লাইন: | ||
<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; width:{{#ifexpr: {{str find0|{{{maxwidth|115}}} | px }} > -1 | | <div class="thumbinner" style="background:none; border:none; min-width: 85px; width:{{#ifexpr: {{str find0|{{{maxwidth|115}}} | px }} > -1 | | ||
{{str left|{{{maxwidth|115}}}|{{str find0|{{{maxwidth|115}}}}}}} | {{{maxwidth|115}}} }}px;"> | {{str left|{{{maxwidth|115}}}|{{str find0|{{{maxwidth|115}}}}}}} | {{{maxwidth|115}}} }}px;"> | ||
[[File:{{Remove file prefix|{{{image<noinclude>|Example.svg</noinclude>}}}}}|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> |