قالب:Welsh council population/doc
| هذه صفحة توثيق فرعية لـ قالب:Welsh council population. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
This is a group of templates that provide an easy method to link to population statistics for Welsh districts. The templates are updated from time to time as the Office for National Statistics (ONS) releases new data, thus it should not be necessary to manually update the articles or their references. Districts are identified by passing a GSS code as a parameter. The Office for National Statistics began using the new GSS codes in preference to the old ONS codes in January 2011, and support for the old 4 character codes has been removed from this template.
The templates are:
- {{Welsh council population}} – gives the population, rank or density for a district
- {{Welsh council control}} – gives current political control
The following also apply
- {{United Kingdom district population citation}} – gives a citation for the source of population data
- {{United Kingdom statistics year}} – gives the year to which the estimate applies (not the year it was generated)
Usage
- Population
- {{Welsh council population|POP= }}
- Rank
- {{Welsh council population|RNK= }}
- Density
- {{Welsh council population|DEN= }}
- Density ranking
- {{Welsh council population|DRK= }}
- Council control
- {{Welsh council control|GSS= }}
- One required parameter set to the GSS code for the district.
- Citation
- {{United Kingdom district population citation}}
- Optional parameter |area
- Optional parameter |England, |NI, |Scotland or |Wales
- Year
- {{United Kingdom statistics year}}
- Optional parameter WalesYYYY
Examples
W06000024 is the GSS code for Merthyr Tydfil.
- {{Welsh council population|POP=W06000024 }}
- 60,183
- {{Welsh council population|RNK=W06000024 }}
- 22nd
- {{Welsh council population|DEN=W06000024 }}
- 540
- {{Welsh council population|DRK=W06000024 }}
- 9th
- {{Welsh council control|GSS=W06000024 }}
- {{United Kingdom district population citation|Wales}}
- "Population Estimates for UK, England and Wales, Scotland and Northern Ireland, Mid-2019". Office for National Statistics. 6 May 2020. Retrieved 6 May 2020.
- {{United Kingdom district population citation|area}}
- "Standard Area Measurements (2016) for Administrative Areas in the United Kingdom". Office for National Statistics. 1 February 2017. Retrieved 9 February 2017.
- {{United Kingdom statistics year}}
- تقدير منتصف 2019
- {{United Kingdom statistics year|WalesYYYY}}
- 2019
Putting it all together
Merthyr Tydfil has a population of {{Welsh council population|POP=W06000024}} ({{United Kingdom statistics year}}).<ref name=popstats>{{United Kingdom district population citation|Wales}}</ref> The population density is {{convert|{{Welsh council population|DEN=W06000024}}|/sqkm|/sqmi|0}}.
Merthyr Tydfil has a population of 60,183 (تقدير منتصف 2019).[1] The population density is 540 per square kilometre (1،399/sq mi).
- ^ "Population Estimates for UK, England and Wales, Scotland and Northern Ireland, Mid-2019". Office for National Statistics. 6 May 2020. Retrieved 6 May 2020.
Note
When updating the figures in the population template, check that the table in List of Welsh principal areas by population is still correctly ordered.