"سانچہ:Main page image" کے نسخوں کے درمیان فرق

Created page with '<div class="{{#ifeq: {{{align|right}}} | right | floatright | {{#ifeq: {{{align|left}}} | left | floatleft | center}} }}"> <div class="thumbinner" style="backgro...'
 
کوئی خلاصۂ ترمیم نہیں
سطر 1: سطر 1:
<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; max-width:{{#ifexpr: {{str find0|{{{maxwidth|115}}} | px }} > -1 |  
<div class="thumbinner" style="background:none; border:none; 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>}}}}}|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>}}}]]