Jump to content

Template:Pop density/testcases

From Wikipedia, the free encyclopedia

Blank inputs

[edit]

"{{Pop density}}"

  • Main: ""
  • Sandbox: ""

"{{Pop density|120||km2|sqmi}}"

  • Main: ""
  • Sandbox: ""

"{{Pop density||240|km2|sqmi}}"

  • Main: ""
  • Sandbox: ""

Testing km2 and sqmi

[edit]

{{Pop density|120|240|km2|sqmi}}

  • Main: 0.500/km2 (1.29/sq mi)
  • Sandbox:

{{Pop density|120|240|km2|sqmi|flip=on}}

  • Main: 1.29/sq mi (0.500/km2)
  • Sandbox:

{{Pop density|1600|600|sqmi|km2}}

  • Main: 2.67/sq mi (1.03/km2)
  • Sandbox:

{{Pop density|75|0.2|sqmi|km2}}

  • Main: 380/sq mi (140/km2)
  • Sandbox:

{{Pop density|75|0.5|km2|sqmi}}

  • Main: 150/km2 (390/sq mi)
  • Sandbox:

{{Pop density|75|0.5|km2|sqmi|flip=on}}

  • Main: 390/sq mi (150/km2)
  • Sandbox:

{{Pop density|120|240|km2|sqmi|prec=1}}

  • Main: 0.5/km2 (1.3/sq mi)
  • Sandbox:

{{Pop density|120|240|km2}}

  • Main: 0.500/km2
  • Sandbox:

{{Pop density|120|240|km2|disp=num}}

  • Main: 0.500
  • Sandbox:

{{Pop density|1600|600|sqmi|disp=num}}

  • Main: 2.67
  • Sandbox:

{{Pop density|120|240|km2|sqmi|disp=num}}

  • Main: 1.29
  • Sandbox:

{{Pop density|1600|600|sqmi|km2|disp=num}}

  • Main: 1.03
  • Sandbox:

Testing ha and acre

[edit]

{{Pop density|120|240|ha|acre}}

  • Main: 0.500/ha (0.202/acre)
  • Sandbox:

{{Pop density|120|240|ha|acre|flip=on}}

  • Main: 0.202/acre (0.500/ha)
  • Sandbox:

{{Pop density|1600|600|acre|ha}}

  • Main: 2.67/acre (6.6/ha)
  • Sandbox:

{{Pop density|75|0.2|acre|ha}}

  • Main: 380/acre (930/ha)
  • Sandbox:

{{Pop density|75|0.5|ha|acre}}

  • Main: 150/ha (61/acre)
  • Sandbox:

{{Pop density|75|0.5|ha|acre|flip=on}}

  • Main: 61/acre (150/ha)
  • Sandbox:

{{Pop density|120|240|ha|acre|prec=1}}

  • Main: 0.5/ha (0.2/acre)
  • Sandbox:

{{Pop density|120|240|ha}}

  • Main: 0.500/ha
  • Sandbox:

{{Pop density|120|240|ha|disp=num}}

  • Main: 0.500
  • Sandbox:

{{Pop density|1600|600|acre|disp=num}}

  • Main: 2.67
  • Sandbox:

{{Pop density|120|240|ha|acre|disp=num}}

  • Main: 0.202
  • Sandbox:

{{Pop density|1600|600|acre|ha|disp=num}}

  • Main: 6.6
  • Sandbox:

Testing dunam and acre

[edit]

{{Pop density|120|240|dunam|acre}}

  • Main: 0.500/dunam (2.02/acre)
  • Sandbox:

{{Pop density|120|240|dunam|acre|flip=on}}

  • Main: 2.02/acre (0.500/dunam)
  • Sandbox:

{{Pop density|1600|600|acre|dunam}}

  • Main: 2.67/acre (0.66/dunam)
  • Sandbox:

{{Pop density|75|0.2|acre|dunam}}

  • Main: 380/acre (93/dunam)
  • Sandbox:

{{Pop density|75|0.5|dunam|acre}}

  • Main: 150/dunam (610/acre)
  • Sandbox:

{{Pop density|75|0.5|dunam|acre|flip=on}}

  • Main: 610/acre (150/dunam)
  • Sandbox:

{{Pop density|120|240|dunam|acre|prec=1}}

  • Main: 0.5/dunam (2/acre)
  • Sandbox:

{{Pop density|120|240|dunam}}

  • Main: 0.500/dunam
  • Sandbox:

{{Pop density|120|240|dunam|disp=num}}

  • Main: 0.500
  • Sandbox:

{{Pop density|1600|600|acre|disp=num}}

  • Main: 2.67
  • Sandbox:

{{Pop density|120|240|dunam|acre|disp=num}}

  • Main: 2.02
  • Sandbox:

{{Pop density|1600|600|acre|dunam|disp=num}}

  • Main: 0.66
  • Sandbox:

Bad units

[edit]

{{Pop density|1600|600|apples}}

{{Pop density|1600|600|apples|disp=num}}

  • Main: 2.67
  • Sandbox:

{{Pop density|1600|600|apples|flip=on}}

{{Pop density|1600|600|apples|acre}}

{{Pop density|1600|600|apples|acre|disp=num}}

{{Pop density|1600|600|apples|acre|flip=on}}

{{Pop density|1600|600|apples|oranges}}

{{Pop density|1600|600|apples|oranges|disp=num}}

{{Pop density|1600|600|apples|oranges|flip=on}}

{{Pop density|1600|600|acre|oranges}}

{{Pop density|1600|600|acre|oranges|disp=num}}

{{Pop density|1600|600|acre|oranges|flip=on}}