Actions

Template

W2h

From NEC Retro

Revision as of 12:39, 14 September 2015 by Black Squirrel (talk | contribs) (Created page with "<includeonly>{{#expr: ({{#mediaheight:{{{1}}}}}*({{{2}}} div {{#mediawidth:{{{1}}}}})) round 0 }}</includeonly><noinclude> This template obtains the height of a resized image,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template obtains the height of a resized image, given that its width is known.

Example

{{w2h|GoldenAxe Title.png|320}} returns Expression error: Unexpected < operator.

{{w2h|GoldenAxe Title.png|160}} returns Expression error: Unexpected < operator.

{{w2h|GoldenAxe Title.png|97}} returns Expression error: Unexpected < operator.