ଛାଞ୍ଚ:Infobox settlement/permi2km2/doc
This is a documentation subpage for ଛାଞ୍ଚ:Infobox settlement/permi2km2. It may contain 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 density conversions between /sq mi and /km2.
Usage
ସମ୍ପାଦନାUsage: {{Infobox settlement/permi2km2|permi2|perkm2|pop|mi2|km2|switch}}
Ordinarily produces density output: permi2/sq mi (perkm2/km2). The rounding factor is always 1 (one place after the decimal point).
If one of permi2 and perkm2 is omitted, it will be calculated by conversion of the other (which must be numerical or an error will be displayed). But setting one to auto means it will be calculated automatically from the population (pop) and area (mi2, km2) parameters.
Setting switch to any non-empty value causes the metric value to be displayed first.
Examples
ସମ୍ପାଦନାCode | Result |
---|---|
{{infobox settlement/permi2km2| |auto|50| |13.0| }}
|
୧୦/ମି୨ (୩.୮/କି.ମି.୨) |
{{infobox settlement/permi2km2|auto| |50|5.0| | }}
|
୧୦/ମି୨ (୩.୯/କି.ମି.୨) |
See also
ସମ୍ପାଦନା- {{Convert}} (for unit conversions within articles)
- {{infobox settlement}}
- {{infobox settlement/areadisp}}
- {{infobox settlement/densdisp}}
- {{infobox settlement/lengthdisp}}
- {{infobox settlement/checkauto}}