Predloga:Infopolje Naselje/densdisp/dok
To je dokumentacijska podstran za glavno stran Predloga:Infopolje Naselje/densdisp. Namenjena je shranjevanju navodil, kategorizaciji in drugi vsebini, ki ni del glavne strani. |
This subtemplate of {{Infopolje Naselje}} displays a metric/imperial pair of population density values for a line in the main infobox.
Usage[uredi kodo]
{{Infopolje Naselje/izpisgostote|unit_pref|DENSsqmi|DENSkm2|POP|AREAsqmi|AREAkm2|subdivision_name}}
where DENSsqmi and DENSkm2 are the density values to be displayed (one may be blank for automatic conversion if the other is numeric; or they may be set to auto for automatic calculation if POP and the corresponding AREA... parameter are present). Other parameters are taken from {{Infopolje Naselje}}.
Whether the metric or imperial value is displayed first depends on the value of subdivision_name (usually the country name) and unit_pref (which can be set to Imperial to force imperial-first display). The default for non-US non-UK countries is metric first.
Rounding is always to one decimal place; the units are not wikilinked (compare {{Infopolje Naselje/izpispovršine}}).
See also[uredi kodo]
- {{Infopolje Naselje}}
- {{Infopolje Naselje/izpispovršine}}
- {{Infopolje Naselje/izpisdolžine}}
- {{Infopolje Naselje/preveriauto}}
- {{Infopolje Naselje/permi2km2}}