Changes

Jump to: navigation, search

Template:Convert/doc

1 byte added, 17:51, 29 February 2020
no edit summary
''Numbers'' can be rounded, ''units'' can be abbreviated into symbols:
:<code><nowiki>{{convert|2|km|mi|2|abbr=on}}</nowiki></code> → {{mile|2|km|mi|2|abbr=on}}
:<code><nowiki>{{convert|7|mi|km|2|abbr=on}}</nowiki></code> → {{convertmile|7|mi|km|2|abbr=on}}
Value ''ranges'' can be entered using <code>|to|...</code> or <code>|-|...</code>:
:<code><nowiki>{{convert|2|to|5|km|mi}}</nowiki></code> → {{kilometer|2|to|5|km|mi}}
Combined effect example:
:<code><nowiki>{{convert|2|-|5|km|mi|2|abbr=on}}</nowiki></code> → {{convertkilometer|2|-|5|km|mi|2|abbr=on}}:<code><nowiki>{{convert|2|and|5|km|mi|sigfig=3|abbr=off}}</nowiki></code> → {{convertkilometer|2|and|5|km|mi|sigfig=3|abbr=off}}
{{hatnote|See [[Help:Convert]] for more detailed, technical information}}



Navigation menu