Jump to content

Template:UN population/testcases

From Wikipedia, the free encyclopedia
{{UN population|United States}}
{{UN population}} 336,997,624
{{UN population/sandbox}} 336,997,624
{{UN population|China}}
{{UN population}} 1,425,893,465
{{UN population/sandbox}} 1,425,893,465
{{UN population|India}}
{{UN population}} 1,407,563,842
{{UN population/sandbox}} 1,407,563,842
{{UN population|North America}}
{{UN population}} 595,783,465
{{UN population/sandbox}} 595,783,465
{{UN population|source}}
{{UN population}} the 2022 revision of the World Population Prospects[1][2]
{{UN population/sandbox}} the 2022 revision of the World Population Prospects[3][4]
{{UN population|Year}}
{{UN population}} 2021
{{UN population/sandbox}} 2021
{{UN population|ref}}
{{UN population}} [1][2]
{{UN population/sandbox}} [3][4]



  {{#expr:{{formatnum:{{UN_Population|Thailand}}|R}}/1e6 round 0}} million

{{UN Population}} 72 million
{{UN Population/sandbox}} 72 million



  {{#expr:{{formatnum:{{UN_Population|Thailand}}|R}}/1e6 round 1}} million

{{UN Population}} 71.6 million
{{UN Population/sandbox}} 71.6 million



  {{#expr:floor({{formatnum:{{UN_Population|Thailand}}|R}}/1e6)}} million

{{UN Population}} 71 million
{{UN Population/sandbox}} 71 million



  {{#expr:{{formatnum:{{UN_Population|North America}}|R}}/1e6 round 0}} million

{{UN Population}} 596 million
{{UN Population/sandbox}} 596 million



  {{#expr:{{formatnum:{{UN_Population|North America}}|R}}/1e6 round 1}} million

{{UN Population}} 595.8 million
{{UN Population/sandbox}} 595.8 million



  {{#expr:floor({{formatnum:{{UN_Population|North America}}|R}}/1e6)}} million

{{UN Population}} 595 million
{{UN Population/sandbox}} 595 million



  1. ^ a b "World Population Prospects 2022". United Nations Department of Economic and Social Affairs, Population Division. Retrieved July 17, 2022.
  2. ^ a b "World Population Prospects 2022: Demographic indicators by region, subregion and country, annually for 1950-2100" (XSLX) ("Total Population, as of 1 July (thousands)"). United Nations Department of Economic and Social Affairs, Population Division. Retrieved July 17, 2022.
  3. ^ a b ""World Population Prospects 2022"". population.un.org. United Nations Department of Economic and Social Affairs, Population Division. Retrieved July 17, 2022.
  4. ^ a b "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. Retrieved July 17, 2022.