Template:Mph: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{{1|}}} mph ({{#expr:{{{1|}}}*1.60934 round 1}} km/h)</includeonly><noinclude> | <includeonly>{{{1|}}} mph ({{#expr:{{#expr:{{{1|}}}*1.60934}} round 1 }} km/h)</includeonly><noinclude> | ||
===Source=== | ===Source=== | ||
<code><nowiki>{{{1|}}} mph ({{#expr:{{{1|}}}*1.60934 | <code><nowiki>{{{1|}}} mph ({{#expr:{{#expr:{{{1|}}}*1.60934}} round 1 }} km/h)</nowiki><noinclude></code><br /> | ||
===Usage=== | ===Usage=== | ||
Used to | 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. |
Revision as of 18:08, 6 October 2013
Source
{{{1|}}} mph ({{#expr:{{#expr:{{{1|}}}*1.60934}} round 1 }} km/h)
Usage
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.