From Wikipedia, the free encyclopedia
UsageThis template converts a population and area to a density.
{{Pop density|number of people|numerical value of area|unit of area|area unit to convert to}}
{{Pop density|120|240|km2|sqmi}}
→ "0.500/km2 (1.29/sq mi)"{{Pop density|1600|600|sqmi|km2}}
→ "2.67/sq mi (1.03/km2)"{{Pop density|120|240|km2|sqmi|prec=1
}}
→ "0.5/km2 (1.3/sq mi)"{{Pop density|120|240|km2}}
→ "0.500/km2"{{Pop density|1600|600|sqmi|km2|flip=on
}}
→ "1.03/km2 (2.67/sq mi)"{{Pop density|120|240|km2|disp=num
}}
→ "0.500"{{Pop density|1600|600|sqmi|disp=num
}}
→ "2.67"{{Pop density|120|240|km2|sqmi|disp=num
}}
→ "1.29"{{Pop density|1600|600|sqmi|km2|disp=num
}}
→ "1.03"{| class="wikitable" ! Population !! Area (km<sup>2</sup>) !! Density (/km<sup>2</sup>) |- | {{pop density|120|2400|km2|disp=table}} |}Population Area (km2) Density (/km2) 120 2400 0.0500
{| class="wikitable" ! Population !! Area (km<sup>2</sup>) !! Density (/km<sup>2</sup>) !! Density (/sqmi) |- | {{pop density|120|2400|km2|sqmi|disp=table}} |}Population Area (km2) Density (/km2) Density (/sqmi) 120 2400 0.0500 0.129 TemplateData
This template converts a population and area to a density.
Template parameters[Edit template data]
This template prefers inline formatting of parameters.
Parameter Description Type Status Number of people1
no description
2
Numerical value of area
3
no description
sqkm
km2
mi2
sqmi
acres
acre
ha
dunam
sqm
m2
4
Area unit to convert to
prec
Round to this number of decimals
disp
Give only raw numerical output. Use "num" for usage in normal text; use "table" within tables.
num
table
flip
no description
on
Math templates
Conversions
convert many units (see: list) cvt abbreviated {{convert}} convinfobox {{convert}} for infoboxes bbl to t barrels of oil to tonnes long ton long hundredweights, quarters and pounds to kilograms;Notation and
formatting bigmath bigger font to match TeX \displaystyle (standalone formulas only) bra–ket notation ceil, floor calculations :mw:Help:#expr; formatting indicators ⌈3.14⌉, ⌊3.14⌋ (no calculation performed) fraction slant fractions 3⁄5 (not for maths/science articles; use standing or upright fractions{{sfrac}}
instead) intmath integral symbols
{{fraction}}
)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3