Difference between revisions of "H2w"
From Sega Retro
Scarred Sun (talk | contribs) m (Protected "Template:H2w": High-traffic template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
m (Text replacement - "Category:Sega Retro templates" to "Category:Templates") |
||
Line 9: | Line 9: | ||
<tt><nowiki>{{h2w|GoldenAxe Title.png|97}}</nowiki></tt> returns '''{{h2w|GoldenAxe Title.png|97}}''' | <tt><nowiki>{{h2w|GoldenAxe Title.png|97}}</nowiki></tt> returns '''{{h2w|GoldenAxe Title.png|97}}''' | ||
− | [[Category: | + | [[Category:Templates]]</noinclude> |
Latest revision as of 13:16, 1 January 2022
This template obtains the width of a resized image, given that its height is known.
Example
{{h2w|GoldenAxe Title.png|224}} returns 320
{{h2w|GoldenAxe Title.png|112}} returns 160
{{h2w|GoldenAxe Title.png|97}} returns 138