Lompat ke isi

Cèṭa'an:Pop density/doc

Ḍâri Wikipèḍia bhâsa Madhurâ, lombhung pangataowan mardhika

TemplateStyles' src attribute must not be empty.

TemplateStyles' src attribute must not be empty.

TemplateStyles' src attribute must not be empty.

This 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}}

Examples

[beccè' sombher]
  • {{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)"
rounding
  • {{Pop density|120|240|km2|sqmi|prec=1}} → "0,5/km2 (1,3/sq mi)"
no conversion
reverse outputs
  • {{Pop density|1600|600|sqmi|km2|flip=on}} → "1,03/km2 (2,67/sq mi)"
give only raw numerical output
table
{| 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

[beccè' sombher]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Pop density in articles based on its TemplateData.

TemplateData for Pop density

This template converts a population and area to a density.

Parameter templat

Templat ini lebih menyukai format parameter dalam satu baris.

ParameterKeteranganJenisStatus
Number of people1

tidak ada keterangan

Contoh
1600000
Angkawajib diisi
Area2

Numerical value of area

Contoh
240
Angkawajib diisi
Unit of area3

tidak ada keterangan

Nilai yang disarankan
sqkm km2 mi2 sqmi acres acre ha dunam sqm m2
Katawajib diisi
Convert to units4

Area unit to convert to

Kataopsional
Precisionprec

Round to this number of decimals

Contoh
2
Angkaopsional
Displaydisp

Give only raw numerical output. Use "num" for usage in normal text; use "table" within tables.

Nilai yang disarankan
num table
Kataopsional
Reverse outputsflip

tidak ada keterangan

Nilai yang disarankan
on
Kataopsional

See also

[beccè' sombher]