Template:Ru-census
| Warning | This template is used on approximately 5,200 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
This template is intended to simplify entering population information in the articles about Russian administrative divisions and inhabited localities. The template automatically references the data to an 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 for the 2002 Census is "PopCensus", and the name of the reference for the 1989 Census is "Census1989".
- Parameters
Bolded parameters are mandatory; italicized parameters are optional.
- p1989: population recorded by the 1989 population census
- p2002: population recorded by the 2002 population census
- p2010: population recorded by the 2010 population census
- p2021: population recorded by the 2021 population census
- punct: trailing punctuation sign. A period (.) is the default.
- Examples
- Default output:
{{ru-census|p2021=24789|p2010=25123|p2002=22,321|p1989=40,258}} → 24,789 (2021 census);[1] 25,123 (2010 census);[2] 22,321 (2002 census);[3] 40,258 (1989 Soviet census).[4]
- Use custom punctuation:
{{ru-census|p1989=25123|p2002=22,321|punct=;}} → 22,321 (2002 census);[3] 25,123 (1989 Soviet census);[4]
- 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}}
References
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ a b Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
ja:Template:Ru-census sl:Predloga:Ru-census uk:Шаблон:Ru-census