[go: nahoru, domu]

Jump to content

Template:Permi2km2

Permanently protected template
Ibat king Wikipedia
Deng miyalilan aniang 10:15, 20 Pebreru 2009 ibat kang Katimawan2005 (talamitam | ambag)
(aliwa) ←Minunang pamagbayu | Kasalungsungan a pamagbayu (aliwa) | Mas tauling pamagbayu→ (aliwa)

Usage

This is a subtemplate of {{Infobox Settlement}}.

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.

See also

{{Convert}} (for use within articles)