Template: Permi2km2

From New World Encyclopedia
Revision as of 04:42, 13 June 2008 by Svemir Brkic (talk | contribs) (Auto-import and credit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage: {{Permi2km2|permi2|perkm2|pop|mi2|km2|switch}}

Ordinarily produces density output: permi2/sq mi (perkm2/km2). The rounding factor is always 1 (one place after the decimal point).

If one of permi2 and perkm2 is omitted, it will be calculated by conversion of the other (which must be numerical or an error will be displayed). But setting one to auto means it will be calculated automatically from the population (pop) and area (mi2, km2) parameters.

Setting switch to any non-empty value causes the metric value to be displayed first.

Credits

New World Encyclopedia writers and editors copied and adjusted this Wikipedia template in accordance with New World Encyclopedia standards. This article abides by terms of the Creative Commons CC-by-sa 3.0 License (CC-by-sa), which may be used and disseminated with proper attribution.The history of earlier contributions by wikipedians is accessible to researchers here:

The history of this article since it was imported to New World Encyclopedia:

Note: Some restrictions may apply to use of individual images which are separately licensed.