ढाँचा:Infobox settlement/mi2km2/doc
This is a documentation subpage for ढाँचा:Infobox settlement/mi2km2. 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 subtemplate of {{Infobox settlement}} generates formatted area conversions between square mile and square kilometer.
Usage
[स्रोत सम्पादन]Usage: {{infobox settlement/mi2km2|mi2|km2|switch|round|link|magn}}
Ordinarily produces: mi2 sq mi (km2 km2).
If one of mi2 and km2 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. 1 for one decimal place).
Setting link to any non-empty value causes the units to be wikilinked to square mile and square kilometre (see wp:overlink before using this option).
Setting mag changes the wikilink behind km2 (for example, set it to 1 E06 to link to 1 E06 m²).
Examples
[स्रोत सम्पादन]Code | Result |
---|---|
{{infobox settlement/mi2km2|42| | |0|| }}
|
४२ वर्ग माइल (१०९ किमी२) |
See also
[स्रोत सम्पादन]- {{convert}} (for unit conversions in article text)
- {{infobox settlement}}
- {{infobox settlement/areadisp}}
- {{infobox settlement/ftm}}