Template:Ftm/doc
From Edge of Darkness Wiki
Ftm/doc
This is a documentation subpage for Template:Ftm. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
Usage
{{ftm|feet|metres|switch|round|link}}
Ordinarily produces: feet ft (metres m).
If one of feet and metres is omitted, it will be calculated by conversion of the other (which must be numerical or an error will be displayed).
Setting switch to any non-empty value causes the metric value to be displayed first.
Set round to define the degree of rounding (e.g. 0 for no decimal places, 1 for 1 decimal, etc.).
Setting link to any non-empty value causes the units to be wikilinked to foot (unit of length) and metre.
Examples
{{ftm|57.1}} produces:
57.1 ft (17 m)
{{ftm|29.23|8.91}} produces:
29.23 ft (8.91 m)
{{ftm||3.2|1||1}} produces:
{{ftm|11.494|||3|1}} produces:
See also
- {{mtf}}
- {{ft to m}}
- {{m to ft}}
- {{convert}}
- {{ft in to m}}
- {{m to ft in}}