• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:UN population

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]

{{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 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 2019 revision of the World Population Prospects[1][2]
Year {{UN_Population|Year}} 2018
Reference {{UN_Population|ref}} [1][2]
Country population The population of Thailand is
{{UN_Population|Thailand}}
69,428,453
Country population The population of Thailand is around
{{#expr:{{formatnum:{{UN_Population|Thailand}}|R}}/1e6 round 0}} million
69
Country population The population of Thailand is around
{{#expr:{{formatnum:{{UN_Population|Thailand}}|R}}/1e6 round 1}} million
69.4
Country population The population of Thailand is more than
{{#expr:floor({{formatnum:{{UN_Population|Thailand}}|R}}/1e6)}} million
69

The data is taken from the UN World Population Prospects website, which is updated bi-annually. Current data is 2018 estimate: https://population.un.org/wpp/

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

See also

  • {{Population WD}}
  • {{Show data}}
  • {{Poptoday}}
  • {{Poptoday 1}}

References

  1. ^ a b ""World Population prospects – Population division"". population.un.org. United Nations Department of Economic and Social Affairs, Population Division. Retrieved November 9, 2019.
  2. ^ a b ""Overall total population" – World Population Prospects: The 2019 Revision" (xslx). population.un.org (custom data acquired via website). United Nations Department of Economic and Social Affairs, Population Division. Retrieved November 9, 2019.
The above documentation is transcluded from Template:UN population/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:UN_population&oldid=34189"
Last edited on 20 July 2021, at 21:05

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 20 July 2021, at 21:05.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop