قالب:Ft in to m/doc
هذه صفحة توثيق فرعية لـ قالب:Ft in to m. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
- Usage
- {{ft in to m | ft | in | abbr | spell | precision | wiki}}
- Examples
- Manual of Style notation: {{ft in to m|30|1}} → 30 feet 1 inch (9٫2 m)
- Short notation: {{ft in to m|30|1|abbr=yes}} → 30 ft 1 in (9٫2 m)
- Full notation: {{ft in to m|ft=30|in=1|abbr=no|spell=Commonwealth|precision=2|wiki=yes}} → 30 feet 1 inch (9٫17 metres)
Italicized parameters are optional:
- ft, when not explicitly specified, is the first unnamed parameter of the template. To convert values such as "0 ft 10 in", set ft=0 ({{ft in to m|0|10...}}). 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 ft 0 in", either set in=0 ({{ft in to m|10|0...}}), or omit this parameter (<nowiki>{{ft in to m|10...}}), or use {{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 Manual of Style for dates and numbers (x feet y inches, m); yes will show the abbreviated names of the units (x ft y in, m); and no will show the full names of the units (x feet y 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—"metres". The default value is American.
- precision is the number of decimal digits in the converted value. The default value is 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
- {{m to ft in}}
- {{m to ft}}
- {{ft to m}}