From Spanking Art
Jump to navigationJump to search
Template documentation (for the above template, sometimes hidden or invisible)

This template will display a secondary converted unit to go with the inputted unit. See list of unit types implemented


Input Displays as
{{convert|<3.21>|<kg>|<lb>}} 3.21 kilograms (7.1 lb)
{{convert|<3.21>|<kg>|<lb>|<0>}} 3.21 kilograms (7 lb)
{{convert|<10>|<kg>|<lb>|<disp=or>}} 10 kilograms or 22 pounds
{{convert|<6>|<ft>|<5>|<in>|<m>}} 6 feet 5 inches (1.96 m)
{{convert|<6>|<ft>|<5>|<in>|<m>|<abbr=on>}} 6 ′ 5 ″ (1.96 m)
{{convert|<10>|<mi>}} 10 miles (16 km)
{{convert|<100>|<mpgus>}} 100 miles per US gallon (2.4 L/100 km; 120 mpg-imp)
{{convert|<120>|<km/h>}} 120 kilometres per hour (75 mph)
{{convert|<72>|<°F>|<°C>}} 72 °F (22 °C)
{{convert|<-18>|<°C>|<°F>}} −18 °C (−0 °F)
{{convert|<1250>|<sqft>|<m2>|<lk=in>|<sigfig=2>}} 1,250 square feet (120 m2) Note 'lk=in' links only the input unit. This example is for illustration only, common units of measurement should not be linked. See: wp:overlink.
{{convert|<20.5>|<m3>|<cuyd>|<lk=out>|<abbr=on>}} 20.5 m3 (26.8 cu yd) Note 'lk=out' links only the output unit, cu yd.
{{convert|<641>|<acre>|<ha sqmi>|<lk=on>}} 641 acres (259 ha; 1.002 sq mi)

Note 'lk=on' links all units. Per guidelines, common units should not be linked. See: wp:overlink.

{{convert|<641>|<acre>|<ha sqmi>|<2>|<lk=on>}} 641 acres (259.40 ha; 1.00 sq mi)

Although 640 acres equals 1 square mile; 641 acres rounded to two decimal places equals 1.00 sq mi.

Visit Template:Convert/doc to edit this text! (How does this work?) (Refresh this text - why?)