Cèṭa'an:Pop density/doc
TemplateStyles' src
attribute must not be empty.
This is a documentation subpage for Cèṭa'an:Pop density. It contains usage information, categories and other content that is not part of the original cèṭa'an page. |
TemplateStyles' src
attribute must not be empty.
This template is used on approximately 9.800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
TemplateStyles' src
attribute must not be empty.
This template uses Lua: |
Usage
beccè'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è'{{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
→ "0,5/km2 (1,3/sq mi)"|prec=1
}}
- no conversion
{{Pop density|120|240|km2}}
→ "0,500/km2"
- reverse outputs
{{Pop density|1600|600|sqmi|km2
→ "1,03/km2 (2,67/sq mi)"|flip=on
}}
- give only raw numerical output
{{Pop density|120|240|km2
→ "0,500"|disp=num
}}{{Pop density|1600|600|sqmi
→ "2,67"|disp=num
}}{{Pop density|120|240|km2|sqmi
→ "1,29"|disp=num
}}{{Pop density|1600|600|sqmi|km2
→ "1,03"|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 | 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è'Ariya dokumenna TemplateData ka'angghuy template nèka èghuna'aghi bi' VisualEditor tor alat laènna; see a monthly parameter usage report for this template in articles.
TemplateData untuk Pop density
This template converts a population and area to a density.
Parameter | Keterangan | Jenis | Status | |
---|---|---|---|---|
Number of people | 1 | tidak ada keterangan
| Angka | wajib diisi |
Area | 2 | Numerical value of area
| Angka | wajib diisi |
Unit of area | 3 | tidak ada keterangan
| Kata | wajib diisi |
Convert to units | 4 | Area unit to convert to | Kata | opsional |
Precision | prec | Round to this number of decimals
| Angka | opsional |
Display | disp | Give only raw numerical output. Use "num" for usage in normal text; use "table" within tables.
| Kata | opsional |
Reverse outputs | flip | tidak ada keterangan
| Kata | opsional |
See also
beccè'- {{Density}}
- {{Population density WD}}, {{Area WD}}