Coasterpedia

Changes

  • Create account
  • Log in
Coasterpedia
Navigation
  • Main page
  • Random page
  • Help
Portals
  • World records
  • Roller coasters
  • Coaster types
  • Ride types
Interaction
  • Community portal
  • Forum
  • Create an article
  • Recent changes
  • Active discussions
  • Chat (Discord)
Wiki tools
  • Upload file
  • Special pages
Units:

Welcome to Coasterpedia. Please create an account to start editing!

Changes

  • Template
  • Discussion
  • View
  • View source
  • History
Page tools
Printable version
  • ← Older edit
  • Newer edit →

Template:Mph (view source)

Revision as of 18:08, 6 October 2013

19 bytes removed ,  18:08, 6 October 2013
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 round 1}} round 1}} km/h)</nowiki><noinclude></code><br />
+
<code><nowiki>{{{1|}}} mph ({{#expr:{{#expr:{{{1|}}}*1.60934}} 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.
Lachlan
Bureaucrats, Structured Discussions bots, Interface administrators, Administrators
43,428

edits

Retrieved from "https://coasterpedia.net/wiki/Special:MobileDiff/37329"
  • Privacy
  • About Coasterpedia
  • Contact us
  • Mobile view
  • Creative Commons Attribution Share Alike
  • Powered by MediaWiki
  • Monitored by WikiApiary