Difference between revisions of "W2h"
From NEC Retro
Ccawley2011 (talk | contribs) |
m (Text replacement - "Category:NEC Retro templates" to "Category:Templates") |
||
Line 9: | Line 9: | ||
<tt><nowiki>{{w2h|Sonic1 title.png|97}}</nowiki></tt> returns '''{{w2h|Sonic1 title.png|97}}''' | <tt><nowiki>{{w2h|Sonic1 title.png|97}}</nowiki></tt> returns '''{{w2h|Sonic1 title.png|97}}''' | ||
− | [[Category: | + | [[Category:Templates]]</noinclude> |
Latest revision as of 14:33, 1 January 2022
This template obtains the height of a resized image, given that its width is known.
Example
{{w2h|Sonic1 title.png|320}} returns 224
{{w2h|Sonic1 title.png|160}} returns 112
{{w2h|Sonic1 title.png|97}} returns 67