Difference between revisions of "Template:Convert/doc"

From LFS Manual
Jump to navigationJump to search
m
m
Line 6: Line 6:
 
<nowiki>{{convert|1|kmh|mph}}</nowiki>|{{convert|1|kmh|mph}}}}<!-- Template:Mra -->
 
<nowiki>{{convert|1|kmh|mph}}</nowiki>|{{convert|1|kmh|mph}}}}<!-- Template:Mra -->
 
{{markup|
 
{{markup|
<nowiki>{{convert|1|kmh|mph|round=2}}</nowiki>|{{convert|1|kmh|mph|2}}}}<!-- Template:Mra -->
+
<nowiki>{{convert|1|kmh|mph|round=2}}</nowiki>|{{convert|1|kmh|mph|round=2}}}}<!-- Template:Mra -->
  
 
<includeonly>
 
<includeonly>
 
[[Category:Conversion templates]]
 
[[Category:Conversion templates]]
 
</includeonly>
 
</includeonly>

Revision as of 15:04, 9 December 2023

Usage

Markup Renders as
{{convert|1|km|mi}}

1 km (1 mi)

Markup Renders as
{{convert|1|kmh|mph}}

1 km/h (1 mph)

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

1 km/h (0.62 mph)