Difference between revisions of "Template:Convert/doc"

From LFS Manual
Jump to navigationJump to search
m
m
Line 4: Line 4:
 
<nowiki>{{convert|1|km|mi|round=2}}</nowiki>|{{convert|1|km|mi|round=2}}}}<!-- Template:Mra -->
 
<nowiki>{{convert|1|km|mi|round=2}}</nowiki>|{{convert|1|km|mi|round=2}}}}<!-- Template:Mra -->
 
{{markup|
 
{{markup|
<nowiki>{{convert|1|km2|mi2}}</nowiki>|{{convert|1|km2|mi2}}}}<!-- Template:Mra -->
+
<nowiki>{{convert|1|km2|mi2|round=2}}</nowiki>|{{convert|1|km2|mi2}}}}<!-- Template:Mra -->
 
{{markup|
 
{{markup|
 
<nowiki>{{convert|1|kmh|mph|round=3}}</nowiki>|{{convert|1|kmh|mph|round=2}}}}<!-- Template:Mra -->
 
<nowiki>{{convert|1|kmh|mph|round=3}}</nowiki>|{{convert|1|kmh|mph|round=2}}}}<!-- Template:Mra -->

Revision as of 14:20, 10 December 2023

Usage

Markup Renders as
{{convert|1|km|mi|round=2}}

1 km (0.62 mi)

Markup Renders as
{{convert|1|km2|mi2|round=2}}

1 km² (0 mi²)

Markup Renders as
{{convert|1|kmh|mph|round=3}}

1 km/h (0.62 mph)

Markup Renders as
{{convert|1|kmh|mph|round=2}}

1 km/h (0.62 mph)

Markup Renders as
{{convert|200|kw|bhp}}

200 kW (268 bhp)

Markup Renders as
{{convert|400|nm|lbft}}

400 Nm (295 lbft)