ಟೆಂಪ್ಲೇಟು:Pop density/doc

ವಿಕಿಪೀಡಿಯ ಇಂದ
Jump to navigation Jump to search
This documentation subpage contains instructions, categories, or other information that is not part of the ಟೆಂಪ್ಲೇಟು. To view the ಟೆಂಪ್ಲೇಟು page itself, see ಟೆಂಪ್ಲೇಟು:Pop density.

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/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}} → "೧.೦೩"

See also[ಬದಲಾಯಿಸಿ]