ಟೆಂಪ್ಲೇಟು:Pop density
Jump to navigation
Jump to search
![]() | This template uses Lua: |
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[ಬದಲಾಯಿಸಿ]
The above documentation is transcluded from ಟೆಂಪ್ಲೇಟು:Pop density/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |