Wikia

Psychology Wiki

Ft to m

Talk0
34,117pages on
this wiki

Template page

Exquisite-khelpcenter This template contains one or more optional parameters: see the talk page for details.

This template employs some extremely complicated and esoteric features of template syntax. Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the template sandbox or your user space.

The template documentation below is transcluded from Template:Ft to m/doc [edit]

This template is intended to perform foot-to-meter conversions. It converts single values, ranges, as well as two- and three-dimensional measurements.

Accepted parametersEdit

Italicized parameters are optional:

  • num, or l (length), or from, or first unnamed parameter is a required parameter, which specifies the number of feet to be converted to meters (for single value conversions), or length (for two- and three-dimensional conversions), or start of range (for range conversions). Please do not format this parameter; i.e., use 1234 instead of 1,234.
  • w (width), or to, or second unnamed parameter is a parameter specifying width (for dimensional conversions) or end of range (for range conversions) in feet to be converted to meters. Please do not format this parameter; i.e., use 1234 instead of 1,234.
  • h (height) or third unnamed parameter is a parameter specifying height (for three-dimensional conversions) in feet to be converted to meters. Please do not format this parameter; i.e., use 1234 instead of 1,234.
  • convtype (conversion type) can take values of either range or dim. Range is only meaningful when two values are supplied for conversion. The default value is dim.
  • abbr can take values of either mos, yes, or no. Mos will show the names of the units as specified in the *spell can take values of Commonwealth, Com, C, BrE or UK. For any of these values the spelling metre(s) will be used. The default spelling is meter(s). This is only meaningful when abbr is set to no.
  • precision is the number of decimal digits in the converted value. Defaulting to conversions to the most precise of the following.
  • conversions rounded down one decimal place as compared to the input value
    • note: Where a range is given the most precise of the inputs is used.
    • note: One square foot is of comparable size to ten square meters.
or
  • conversions rounded to two significant figures
  • sigfig specifies the number of significant figures in the converted value.
    • This overrides precision.
    • Where the conversion is of a range it is the number of significant figures in the first value which is specified with the second being rounded to the same level of precision.
  • max precision specifies the maximum precision to round to.
  • min precision specifies the minimum precision to round to.
  • 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.

Usage and examplesEdit

Single value conversionEdit

Usage
{{ft to m | num | abbr | spell | precision | wiki}}
Examples
:Short notation: {{ft to m|100|abbr=yes}} → Template:Ft to m/dim
Full notation: {{ft to m|num=100|abbr=no|spell=Commonwealth|precision=2|wiki=yes}} → Template:Ft to m/dim


Range conversionsEdit

Usage
{{ft to m | from | to | convtype | abbr | spell | precision | wiki}}
Examples
:Short notation: {{ft to m|100|200|convtype=range|abbr=yes}} → Template:Ft to m/range
Full notation: {{ft to m|from=100|to=200|convtype=range|abbr=no|spell=Commonwealth|precision=2|wiki=yes}} → Template:Ft to m/range


Two-dimensional conversionsEdit

Usage
{{ft to m | l | w | convtype | abbr | spell | precision | wiki}}
Examples
:Short notation: {{ft to m|100|200|abbr=yes}} → Template:Ft to m/dim
Full notation: {{ft to m|l=100|w=200|convtype=dim|abbr=no|spell=Commonwealth|precision=2|wiki=yes}} → Template:Ft to m/dim


Three-dimensional conversionsEdit

Usage
{{ft to m | l | w | h | convtype | abbr | spell | precision | wiki}}
Examples
:Short notation: {{ft to m|1|2|3|abbr=yes}} → Template:Ft to m/dim
Full notation: {{ft to m|l=1|w=2|h=3|convtype=dim|abbr=no|spell=Commonwealth|precision=2|wiki=yes}} → Template:Ft to m/dim

</noinclude>

See alsoEdit

This page uses content from the English language Wikipedia. The original content was at Template:Ft to m. The list of authors can be seen in the page history. As with this Psychology Wiki wiki, the content of Wikipedia is available under the GNU Free Documentation License.

Around Wikia's network

Random Wiki