Difference between revisions of "Template:Country population"

From blackwiki
Jump to navigation Jump to search
imported>Guarapiranga
m (took out too much)
imported>Guarapiranga
m (too many braces)
Line 7: Line 7:
 
       |{{formatnum: {{#expr: {{formatnum: {{#lst: List of countries by population (United Nations)|{{{1}}}_0}}|R}}^(1-{{a.y|{{#lst: List of countries by population (United Nations)|date}}|suffix=}}) * {{formatnum: {{#lst: List of countries by population (United Nations)|{{{1}}}_1}}|R}}^{{a.y|{{#lst: List of countries by population (United Nations)|date}}|suffix=}} round 0}}|{{#if: {{{raw|}}}|R|}}}}
 
       |{{formatnum: {{#expr: {{formatnum: {{#lst: List of countries by population (United Nations)|{{{1}}}_0}}|R}}^(1-{{a.y|{{#lst: List of countries by population (United Nations)|date}}|suffix=}}) * {{formatnum: {{#lst: List of countries by population (United Nations)|{{{1}}}_1}}|R}}^{{a.y|{{#lst: List of countries by population (United Nations)|date}}|suffix=}} round 0}}|{{#if: {{{raw|}}}|R|}}}}
 
     }}<!--
 
     }}<!--
legacy option:-->{{#if: {{{date|}}}|{{!!}}{{TODAY}}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
legacy option:-->{{#if: {{{date|}}}|{{!!}}{{TODAY}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 23:22, 5 December 2019

Template documentation[view] [edit] [history] [purge]

Template:Template rating Template for referencing a country's (or territory's) population at List of countries and dependencies by population.

Usage

{{Country population | country ISO 3-letter code}} for latest population estimate

or

{{Country population | country ISO 3-letter code|formatnum=yes}} for number formatted with commas

or

{{Country population | country ISO 3-letter code|date=yes}} for population and date in adjacent cells

Examples

{{Country population | CHN}}Expression error: Unrecognized punctuation character "{".

{{Country population | IDN}}Expression error: Unrecognized punctuation character "{".