Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a451e3e6cd00efe9

Jump to content

Template:Poptoday/doc

From Wikipedia, the free encyclopedia

The Template:Poptoday calculates the estimated daily population, based on parameters for a known base plus daily increment value. The template name "poptoday" can be used as an accessor template with the {Data...} template family, such as with "{{Data United States|poptoday}}".

Examples:

  • {{data United States|poptoday}} → 339864000
    • {{data United States|poptoday|formatnum}} → 339,864,000
  • {{data world|poptoday}} → 8245530000
    • {{data world|poptoday|formatnum}} → 8,245,530,000

The current population, for today, is estimated by extrapolation, using a base population count on a base date, and extrapolating, based on the observed increase per day.

The increase is 30 ppm/day for the world, and for a country usually between 10 and 50 ppm/day. Since the estimate is based on the day, not on the time of day, the precision is at most 10 ppm, so there are at most 6 significant digits in the estimated population count.

Parameters

[edit]

The following parameters are used by {poptoday}:

2=comma- put commas in population count (same as: 2=formatnum)
2=formatnum- put commas in population count (same as: 2=comma)
popbase- the base count of the population
popinc- the daily increment of the population
popbasemonth- the month of the population base count
popbaseday- the day of the population base count
popbaseyear- the year of the population base count

Whenever "poptoday" is used as an accessor template, then the parameter values are set inside the host template.

See also

[edit]