सामग्रीमा जानुहोस्

ढाँचा:Pop density/doc

विकिपिडिया बठेइ

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

  • {{Pop density|120|240|km2|sqmi}} → "०.५00/km2 (१.२९/sq mi)"
  • {{Pop density|1600|600|sqmi|km2}} → "२.६७/sq mi (१.०३/km2)"
rounding
  • {{Pop density|120|240|km2|sqmi|prec=1}} → "०.५/km2 (१.३/sq mi)"
no conversion
  • {{Pop density|120|240|km2}} → "०.५00/km2"
reverse outputs
  • {{Pop density|1600|600|sqmi|km2|flip=on}} → "१.०३/km2 (२.६७/sq mi)"
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