Difference between revisions of "Template:ScaleImage"
From Wythepedia: The George Wythe Encyclopedia
Line 1: | Line 1: | ||
− | <includeonly>[[File:{{{imagename}}}|{{ #if:{{#pos:{{{newwidth|100}}} | + | <includeonly>[[File:{{{imagename}}}|{{ #if:{{#pos:{{{newwidth|100}}}}}|{{{newwidth|100|px}}}| {{#expr: ({{#imgw: {{{imagename}}} }} * {{{newwidth|100}}}) / 100 }}px }}|{{{caption|}}}]]</includeonly> |