Difference between revisions of "Template:Convert/doc"

From LFS Manual
Jump to navigationJump to search
m
m
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<noinclude>{{documentation subpage}}</noinclude>
 +
 
== Usage ==
 
== Usage ==
  
{{convert|1|km|mi}}
+
{{markup|
{{convert|1|kmh|mph}}
+
<nowiki>{{convert|1|km|mi|round=2}}</nowiki>|{{convert|1|km|mi|round=2}}}}<!-- Template:Mra -->
 +
{{markup|
 +
<nowiki>{{convert|1|km2|mi2|round=2}}</nowiki>|{{convert|1|km2|mi2|round=2}}}}<!-- Template:Mra -->
 +
{{markup|
 +
<nowiki>{{convert|1|kmh|mph|round=3}}</nowiki>|{{convert|1|kmh|mph|round=2}}}}<!-- Template:Mra -->
 +
{{markup|
 +
<nowiki>{{convert|1|kmh|mph|round=2}}</nowiki>|{{convert|1|kmh|mph|round=2}}}}<!-- Template:Mra -->
 +
{{markup|
 +
<nowiki>{{convert|200|kw|bhp}}</nowiki>|{{convert|200|kw|bhp}}}}<!-- Template:Mra -->
 +
{{markup|
 +
<nowiki>{{convert|400|nm|lbft}}</nowiki>|{{convert|400|nm|lbft}}}}<!-- Template:Mra -->
  
 
<includeonly>
 
<includeonly>
 
[[Category:Conversion templates]]
 
[[Category:Conversion templates]]
 
</includeonly>
 
</includeonly>

Latest revision as of 10:51, 24 January 2024

Information icon4.png This is a documentation subpage for Template:Convert.

It may contain usage information, categories and other content that is not part of the original page.

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.39 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)