Template:In to mm
Jump to navigation
Jump to search
- Usage
- {{in to mm | num | abbr | spell | precision | wiki}}
- Examples
- Manual of Style notation: {{in to mm|35}} → 35 inches (889 mm)
- Short notation: {{in to mm|35|abbr=yes}} → 35 in (889 mm)
- Full notation: {{in to mm|num=35|abbr=no|spell=Commonwealth|precision=2|wiki=yes}} → 35 inches (889 millimetres)
Italicized parameters are optional:
- num is a required parameter, which specifies the number of inches to be converted to millimeters. Please do not format this parameter; i.e., use 1234 instead of 1,234.
- 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 (inches, mm); yes will show the abbreviated names of the units (in, mm); and no will show the full names of the units (inches, millimeters). 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 "millimeters", and Commonwealth—"millimetres". 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
- {{mm to in}}