Ft in to m

Template loop detected: Template:Documentation subpage

This template returns the number of full years between two specified dates. If the second set of parameters is not included, it will return the number of full years between a specified date and today's date.

{{age|year1|month1|day1|year2|month2|day2}} or
{{age|1989|7|23|2003|7|14}} returns "13"
{{age|1989|7|23}} returns "32"
When using this template to calculate a person's age at death or a person's age on a specified date (rather than the person's current age), please substitute it into the page.
Example: {{subst:age|1989|7|23|2003|7|14}}
This template does not check for incorrect input:
{{age|1980|7|14|1993|6|233}} returns "12" (surplus days do not count as extra months)
{{age|1980|7|14|1993|88|14}} returns "13" (surplus months do not count as extra years)

See also

  • {{age in years and days}} — Age in years and days
  • {{age in days}} — Age in days
  • {{birth date and age}} — Displays birth date and age
  • {{birth date and age2}} — Displays birth date and age as of a specified date
  • {{Age nts}} — Like this template, but will sort correctly in sortable tables.
  • Wikipedia:Age calculation templates

id:Templat:Umur ba:Ҡалып:Йәш bg:Шаблон:Age ca:Plantilla:Edat cs:Šablona:Věk da:Skabelon:Alder de:Vorlage:Alter dsb:Pśedłoga:Starstwo es:Plantilla:Edad eo:Ŝablono:Aĝo eu:Txantiloi:Adina fr:Modèle:Âge gl:Modelo:Idade ko:틀:나이 hsb:Předłoha:Staroba os:Шаблон:Кар it:Template:Età ja:Template:年数 no:Mal:Alder pt:Predefinição:Idade ro:Format:Age ru:Шаблон:Возраст sq:Stampa:Mosha simple:Template:Age sl:Predloga:Starost uk:Шаблон:Вік vi:Bản mẫu:Tuổi zh:Template:Age

{{ft in to m | ft | in | abbr | spell | precision | wiki}}
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}}

Community content is available under CC-BY-SA unless otherwise noted.