Template:CHeight

From 118Wiki
Revision as of 18:42, 9 March 2015 by Ceciri (talk | contribs) (added in " formatting, rewrote Metric code to be a bit simplier. (12*2.54= 30.48))
Jump to navigation Jump to search

This template calculates height from given parameters and formats. Ex: {{CHeight|Imperial|69}} produces 5' 9" (175.26cm)") |Parameter 1: Imperial, Parameter 2: 69 }} and {{CHeight|Metric|175.26}} produces 175.26 cm (5' Expression error: Unrecognized punctuation character "{".)") |Parameter 1: Metric, Parameter 2: 175.26 }}