H2w
From NEC Retro
Revision as of 12:39, 14 September 2015 by Black Squirrel (talk | contribs) (Created page with "<includeonly>{{#expr: ({{#mediawidth:{{{1}}}}}*({{{2}}} div {{#mediaheight:{{{1}}}}})) round 0 }}</includeonly><noinclude> This template obtains the width of a resized image,...")
Revision as of 12:39, 14 September 2015 by Black Squirrel (talk | contribs) (Created page with "<includeonly>{{#expr: ({{#mediawidth:{{{1}}}}}*({{{2}}} div {{#mediaheight:{{{1}}}}})) round 0 }}</includeonly><noinclude> This template obtains the width of a resized image,...")
This template obtains the width of a resized image, given that its height is known.
Example
{{h2w|GoldenAxe Title.png|224}} returns Expression error: Unexpected < operator.
{{h2w|GoldenAxe Title.png|112}} returns Expression error: Unexpected < operator.
{{h2w|GoldenAxe Title.png|97}} returns Expression error: Unexpected < operator.