Difference between revisions of "Template:Mph"

 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{{1|}}} mph ({{#expr:{{{1|}}}*1.60934 round 1}} km/h)</includeonly><noinclude>
+
<includeonly><span class="convertable-length">{{{1|}}}<span class="convertable-length-units"> mph</span></span></includeonly><noinclude>
===Source===
+
{{Tilt-A-Wiki template}}
<code><nowiki>{{{1|}}} mph ({{#expr:{{{1|}}}*1.60934 round 1}} round 1}} km/h)</nowiki><noinclude></code><br />
 
 
===Usage===
 
===Usage===
Used to convert mph to km/h at the press of the Imperial/Metric button in the header. To use this template, type the following:<br />
+
Used to display a value in km/h beside a value in mph. To use this template, type the following:<br />
 
<code><nowiki>{{Mph|100}}</nowiki></code><br />
 
<code><nowiki>{{Mph|100}}</nowiki></code><br />
 
into an article while using Source Mode. Only use numeric figures. The template will display "mph" after the entered text.
 
into an article while using Source Mode. Only use numeric figures. The template will display "mph" after the entered text.

Latest revision as of 21:00, 7 August 2019

{{{image-left}}}
Info.png
This template is also used on Tilt-A-Wiki, the Flat Ride Wiki.
Please remember to edit its Tilt-A-Wiki counterpart.
{{{image-right}}}

Usage[edit source]

Used to display a value in km/h beside a value in mph. To use this template, type the following:
{{Mph|100}}
into an article while using Source Mode. Only use numeric figures. The template will display "mph" after the entered text.