Difference between revisions of "Template:Country population"
Jump to navigation
Jump to search
imported>Guarapiranga (removing check to reduce overhead) |
imported>Guarapiranga (extraneous pipeline) |
||
| Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
| − | --> | + | -->{{#if: {{{growth|}}} |
|{{formatnum: {{#if: {{{raw|}}} | |{{formatnum: {{#if: {{{raw|}}} | ||
|{{#expr: {{formatnum: {{#lst: List of countries by population (United Nations)|{{{1}}}_1}}|R}} / {{formatnum: {{#lst: List of countries by population (United Nations)|{{{1}}}_0}}|R}} - 1 round 4}} | |{{#expr: {{formatnum: {{#lst: List of countries by population (United Nations)|{{{1}}}_1}}|R}} / {{formatnum: {{#lst: List of countries by population (United Nations)|{{{1}}}_0}}|R}} - 1 round 4}} | ||
Revision as of 22:58, 5 December 2019
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 "{".
| The above documentation is transcluded from Template:Country population/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |