H2w
From Sonic Retro
Revision as of 19:21, 1 January 2022 by BSonirachi (talk | contribs) (Text replacement - "Category:Sonic Retro templates" to "Category:Templates")
Revision as of 19:21, 1 January 2022 by BSonirachi (talk | contribs) (Text replacement - "Category:Sonic Retro templates" to "Category:Templates")
This template obtains the width of a resized image, given that its height is known.
Example
{{h2w|Sonic1 title.png|224}} returns 320
{{h2w|Sonic1 title.png|112}} returns 160
{{h2w|Sonic1 title.png|97}} returns 139
{{h2w|VGL2 CD US booklet.pdf|97}} returns 97