Changes

Template:Ft in to m/doc

2,450 bytes added, 13:02, 11 April 2020
Created page with "{{template doc page}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> ;Usage: :<nowiki>{{ft in to m | ft | in | abbr | spell | precision | wiki}}</nowiki> ;Examples :''[..."
{{template doc page}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
;Usage:
:<nowiki>{{ft in to m | ft | in | abbr | spell | precision | wiki}}</nowiki>

;Examples
:''[[WP:MOSNUM#Units of measurement|Manual of Style]] notation'': <nowiki>{{ft in to m|30|1}}</nowiki>&nbsp;&rarr; {{ft in to m|30|1}}
:''Short notation'': <nowiki>{{ft in to m|30|1|abbr=yes}}</nowiki>&nbsp;&rarr; {{ft in to m|30|1|abbr=yes}}
:''Full notation'': <nowiki>{{ft in to m|ft=30|in=1|abbr=no|spell=Commonwealth|precision=2|wiki=yes}}</nowiki>&nbsp;&rarr; {{ft in to m|ft=30|in=1|abbr=no|spell=Commonwealth|precision=2|wiki=yes}}

''Italicized'' parameters are optional:
*'''ft''', when not explicitly specified, is the first unnamed parameter of the template. To convert values such as "0&nbsp;ft&nbsp;10&nbsp;in", set '''ft'''=0 (<nowiki>{{ft in to m|0|10...}}</nowiki>). Please do not format this parameter; i.e., use 1234 instead of 1,234.
*'''''in''''', when not explicitly specified, is the second unnamed parameter of the template. To convert values such as "10&nbsp;ft&nbsp;0&nbsp;in", either set '''in'''=0 (<nowiki>{{ft in to m|10|0...}}), or omit this parameter (<nowiki>{{ft in to m|10...}}</nowiki>), or use {{tl|ft to m}} instead of this template.
*'''''abbr''''' can take values of either ''mos'', ''yes'', or ''no''. ''Mos'' will show the names of the units as specified in the [[WP:MOSNUM#Units of measurement|Manual of Style for dates and numbers]] (x&nbsp;feet y&nbsp;inches, m); ''yes'' will show the abbreviated names of the units (x&nbsp;ft y&nbsp;in, m); and ''no'' will show the full names of the units (x&nbsp;feet y&nbsp;inches, meters). The default value is ''mos''.
*'''''spell''''' can take values of ''American'' or ''Commonwealth'' and is only meaningful when ''abbr'' is set to ''no''. ''American'' will use "meters", and ''Commonwealth''&mdash;"metres". The default value is ''American''.
*'''''precision''''' is the number of decimal digits in the converted value. The default value is&nbsp;1.
*'''''wiki''''' specifies whether the names of the units should be wikified or not and can take values of either ''yes'' or ''no''. The default value is ''no''.

Capitalization of the parameters is unimportant.

==See also==
*{{tl|m to ft in}}
*{{tl|m to ft}}
*{{tl|ft to m}}

<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Conversion templates|{{PAGENAME}}]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->

</includeonly>