ढाँचा:Infobox settlement/ftm/doc
स्वरूप
This is a documentation subpage for ढाँचा:Infobox settlement/ftm. It contains usage information, categories and other content that is not part of the original ढाँचा page. |
This template is not intended to be used directly. |
This is a length conversion subtemplate for {{Infobox settlement}}.
Usage
[स्रोत सम्पादन]{{Infobox settlement/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
[स्रोत सम्पादन]Code | Result |
---|---|
{{Infobox settlement/ftm|57.1}}
|
५७.१ फिट (१७ मि) |
{{Infobox settlement/ftm|29.23|8.91}}
|
२९.२३ फिट (८.९१ मि) |
{{Infobox settlement/ftm||3.2|1||1}}
|
३.२ m (१० ft) |
{{Infobox settlement/ftm|11.494|||3|1}}
|
११.४९४ ft (३.५०३ m) |
See also
[स्रोत सम्पादन]- {{infobox settlement/lengthdisp}}
- {{infobox settlement/mi2km2}}
- {{convert}} (for unit conversions in article text)