Difference between revisions of "Template:ScaleImage"

From Wythepedia: The George Wythe Encyclopedia
Jump to: navigation, search
 
(46 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[File:BretonBritton1640Spine.jpg|{{ #if:{{#pos:{{{15|100}}}|px}}|{{{15|100}}}| {{#expr: ({{#imgw: BretonBritton1640Spine.jpg }} * {{{15|100}}}) / 100 }}px }}|{{{Description|}}}]]</includeonly>
+
<includeonly>[[File:{{{imagename}}}|link={{{link}}}|{{ #if:{{#pos:{{{newwidth|100}}}|px}}|{{{newwidth|100}}}| {{#expr: {{#expr: ({{#imgw: {{{imagename}}} }} * {{{newwidth|100}}}) / 100 }} round 0 }}px }}|frameless|{{{caption}}}]]</includeonly>

Latest revision as of 13:59, 11 June 2015