Predloga:Prebivalstvo OZN

Iz Wikipedije, proste enciklopedije
(Preusmerjeno s strani Predloga:UN Population)
Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]

{{UN population}} allows for the population of any country area or region to be updated from a single location. To use it on an article, enter the template {{UN_Population|Countryname}} for the population (use the UN WPP country or region name, which you can find in the template by opening it for editing).

You can also enter the year, the source, and cite the reference (see table). This will work in both the infobox and prose.

Data Code and sample use Result
Source {{UN_Population|source}} the 2022 revision of the World Population Prospects[1][2]
Year {{UN_Population|year}} 2021
Reference {{UN_Population|ref}} [1][2]
Country population The population of Thailand is
{{UN_Population|Thailand}}
71.601.103
Country population The population of Thailand is around
{{#expr:{{formatnum:{{UN_Population|Thailand}}|R}}/1e6 round 0}} million
72
Country population The population of Thailand is around
{{#expr:{{formatnum:{{UN_Population|Thailand}}|R}}/1e6 round 1}} million
71.6
Country population The population of Thailand is more than
{{#expr:floor({{formatnum:{{UN_Population|Thailand}}|R}}/1e6)}} million
71

The data is taken from the UN World Population Prospects (WPP) website, which is updated bi-annually. Current data is 2021 estimate.

When updating the figures, also update the year (at the top).

See also[uredi kodo]

References[uredi kodo]

  1. 1,0 1,1 »"World Population Prospects 2022"«. population.un.org. United Nations Department of Economic and Social Affairs. Population Division. Pridobljeno 17. julija 2022. Napaka pri navajanju: Neveljavna oznaka <ref>; sklici, poimenovani UN_WPP, so definirani večkrat z različno vsebino (glej stran pomoči).
  2. 2,0 2,1 »World Population Prospects 2022: Demographic indicators by region, subregion and country, annually for 1950-2100« (XSLX). population.un.org ("Total Population, as of 1 July (thousands)"). United Nations Department of Economic and Social Affairs, Population Division. Pridobljeno 17. julija 2022.