Usage सम्पादन गर्नुहोस्

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 सम्पादन गर्नुहोस्

  • {{Pop density|120|240|km2|sqmi}} → "०.५00/किमी (१.२९/वर्ग माइल)"
  • {{Pop density|1600|600|sqmi|km2}} → "२.६७/वर्ग माइल (१.०३/किमी)"
rounding
  • {{Pop density|120|240|km2|sqmi|prec=1}} → "०.५/किमी (१.३/वर्ग माइल)"
no conversion
  • {{Pop density|120|240|km2}} → "०.५00/किमी"
reverse outputs
  • {{Pop density|1600|600|sqmi|km2|flip=on}} → "१.०३/किमी (२.६७/वर्ग माइल)"
give only raw numerical output
  • {{Pop density|120|240|km2|disp=num}} → "०.५00"
  • {{Pop density|1600|600|sqmi|disp=num}} → "२.६७"
  • {{Pop density|120|240|km2|sqmi|disp=num}} → "१.२९"
  • {{Pop density|1600|600|sqmi|km2|disp=num}} → "१.०३"
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 ०.०५00
{| 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 ०.०५00 ०.१२९

TemplateData सम्पादन गर्नुहोस्

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

Pop densityको कागजात

This template converts a population and area to a density.

ढाँचा प्यारामिटरहरू

This template prefers inline formatting of parameters.

मापदण्डविवरणप्रकारस्थिति
Number of people1

कुनैपनि विवरण छैन

उदाहरण
1600000
सङ्ख्याआवश्यक
Area2

Numerical value of area

उदाहरण
240
सङ्ख्याआवश्यक
Unit of area3

कुनैपनि विवरण छैन

प्रस्तावित मानहरू
sqkm km2 mi2 sqmi acres acre ha dunam sqm m2
Stringआवश्यक
Convert to units4

Area unit to convert to

Stringवैकल्पिक
Precisionprec

Round to this number of decimals

उदाहरण
2
सङ्ख्यावैकल्पिक
Displaydisp

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

प्रस्तावित मानहरू
num table
Stringवैकल्पिक
Reverse outputsflip

कुनैपनि विवरण छैन

प्रस्तावित मानहरू
on
Stringवैकल्पिक

See also सम्पादन गर्नुहोस्