ଛାଞ୍ଚ:Infobox islands/density
Appearance
This is a subtemplate of {{Infobox islands}}, and should not be used directly.
Usage
[ସମ୍ପାଦନା]Input | Output |
---|---|
{{Infobox islands/density|km2=85}} |
୮୫ /km୨ (୨୨୦ /sq mi) |
{{Infobox islands/density|sqmi=220}} |
୨୨୦ /sq mi (୮୫ /km୨) |
{{Infobox islands/density|m2=25}} |
୨୫ /m୨ (୨.୩ /sq ft) |
{{Infobox islands/density|sqft=2}} |
୨ /sq ft (୨୨ /m୨) |
{{Infobox islands/density|km2=85|sqmi=220}} |
୮୫ /km୨ (୨୨୦ /sq mi) |
{{Infobox islands/density|m2=25|sqft=2}} |
୨୫ /m୨ (୨ /sq ft) |
{{Infobox islands/density|km2=85|m2=25}} |
୮୫ /km୨ (୨୨୦ /sq mi) |
{{Infobox islands/density|sqmi=220|sqft=2}} |
୨୨୦ /sq mi (୮୫ /km୨) |
{{Infobox islands/density|m2=25|sqmi=220|sqft=2}} |
୨୨୦ /sq mi (୮୫ /km୨) |
{{Infobox islands/density|km2=85|sqmi=220|sqft=2}} |
୮୫ /km୨ (୨୨୦ /sq mi) |
{{Infobox islands/density|km2=85|m2=25|sqft=2}} |
୮୫ /km୨ (୨୨୦ /sq mi) |
{{Infobox islands/density|km2=85|m2=25|sqmi=220}} |
୮୫ /km୨ (୨୨୦ /sq mi) |
{{Infobox islands/density|km2=85|m2=25|sqmi=220|sqft=2}} |
୮୫ /km୨ (୨୨୦ /sq mi) |
{{convert|85|/km2|abbr=on}}
→ 85/km2 (220/sq mi){{convert|220|/sqmi|abbr=on}}
→ 220/sq mi (85/km2)
Code
[ସମ୍ପାଦନା]The code uses {{precision}} to determine the level of precision. The logic is to give preference to km2/sqmi over m2/sqft. If both km2 and sqmi are specified, then no conversion takes place. Similarly, if both m2 and sqft are specified (and km2/sqmi are not specified), then no conversion takes place.
See also
[ସମ୍ପାଦନା]- {{convert}}
- {{Infobox islands/area}}
- {{Infobox islands/length}}