Template:Ua-pop-est2022/doc
This is a documentation subpage for Template:Ua-pop-est2022. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
changeThis template is intended to simplify entering 2022 (per 1 January) population estimate information in the articles about Ukraine administrative divisions and inhabited localities. The template automatically references the data to the appropriate source, so make sure that the number you are entering into the template matches that source. The reference can be re-used elsewhere in the text. The name of the reference is "ua2022estimate".
- Parameters
Bolded parameters are mandatory; italicized parameters are optional.
- p2022 or first unnamed parameter: preliminary population results recorded by the 2022 Ukraine population estimate. Use an unformatted number, as the template will add commas for you.
- punct or second unnamed parameter: trailing punctuation sign. There is no trailing punctuation sign by default.
- showyear: if equal to
false
, the text(2022 est.)
, which normally appears immediately after p2022, is omitted; otherwise, this text is displayed. Use this parameter when the year can be inferred from the context (i.e. it was stated earlier in the sentence).
- Examples
- Default output:
{{Ua-pop-est2022|22321}} → 22,321 (2022 est.)[1]
- Use custom punctuation:
{{Ua-pop-est2022|22321|punct=;}} → 22,321 (2022 est.);[1]
- Use custom punctuation, and the year can be inferred from the context:
{{Ua-pop-est2022|22321|punct=.|showyear=false}} → 22,321.[1]
- Things to remember
Make sure that the article using this template contains a reference section. If it is not there, add the following at the bottom of the article:
==References==
{{Reflist}}
It will produce the following:
- ↑ 1.0 1.1 1.2 Чисельність наявного населення України на 1 січня 2022 [Number of Present Population of Ukraine, as of January 1, 2022] (PDF) (in Ukrainian and English). Kyiv: State Statistics Service of Ukraine.