Difference between revisions of "Template:ScaleImage"

From Wythepedia: The George Wythe Encyclopedia
Jump to: navigation, search
Line 1: Line 1:
<includeonly>[[File:{{{imagename}}}|left|link={{{link}}}|{{ #if:{{#pos:{{{newwidth|100}}}|px}}|{{{newwidth|100}}}| {{#expr: {{#expr: ({{#imgw: {{{imagename}}} }} * {{{newwidth|100}}}) / 100 }} round 0 }}px }}|frameless|{{{caption}}}]]</includeonly>
+
<includeonly>[[File:{{{imagename}}}|none|link={{{link}}}|{{ #if:{{#pos:{{{newwidth|100}}}|px}}|{{{newwidth|100}}}| {{#expr: {{#expr: ({{#imgw: {{{imagename}}} }} * {{{newwidth|100}}}) / 100 }} round 0 }}px }}|frameless|{{{caption}}}]]</includeonly>

Revision as of 12:19, 11 June 2015