Template:ScaleImage: Difference between revisions

From Wythepedia: The George Wythe Encyclopedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>[[File:{{{imagename}}}|{{ #if:{{#pos:{{{newwidth|100}}}|px}}|{{{newwidth|100}}}| {{#expr: ({{#imgw: {{{imagename}}} }} * {{{newwidth|100}}}) / 100 }}px }}|{{{caption|}}}]]</includeonly>
[[File:{{{imagename}}}|{{ #if:{{#pos:{{{newwidth|100}}}|px}}|{{{newwidth|100}}}| {{#expr: {{#expr: ({{#imgw: {{{imagename}}} }} * {{{newwidth|100}}}) / 100 }} round 0 }}px }}|{{{caption|}}}]]</includeonly>

Revision as of 20:48, 1 October 2013

[[File:{{{imagename}}}|Expression error: Unexpected < operator.px|]]</includeonly>