Andoza:UN population/doc
Qiyofa
Ushbu sahifa UN population andozasining hujjat sahifasidir. Bu yerda andozaning asosiy sahifasidan joy olmagan foydalanish qoidalari, turkumlar va boshqa foydali maʼlumotlar joylashtiriladi. |
{{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.
Qayd | Code and sample use | Result |
---|---|---|
manba | {{UN Population|source}} | Andoza:UN Population |
Year | {{UN_Population|Year}} | Andoza:UN Population |
Reference | {{UN_Population|ref}} | Andoza:UN Population |
Country population | The population of Thailand is {{UN_Population|Thailand}} |
Andoza:UN Population |
Country population | The population of Thailand is around {{#expr:{{formatnum:{{UN_Population|Thailand}}|R}}/1e6 round 0}} million |
Expression error: Unrecognized punctuation character "[". |
Country population | The population of Thailand is around {{#expr:{{formatnum:{{UN_Population|Thailand}}|R}}/1e6 round 1}} million |
Expression error: Unrecognized punctuation character "[". |
Country population | The population of Thailand is more than {{#expr:floor({{formatnum:{{UN_Population|Thailand}}|R}}/1e6)}} million |
Expression error: Unrecognized punctuation character "[". |
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
[manbasini tahrirlash]- {{Population WD}}
- {{Show data}}
- {{Poptoday}}
- {{Poptoday 1}}