模板: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)
參數及使用方法
[編輯]- 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
範例
[編輯]W06000024 is the GSS code for Merthyr Tydfil.
- {{Welsh council population|POP=W06000024 }}
- 58,883
- {{Welsh council population|RNK=W06000024 }}
- 22
- {{Welsh council population|DEN=W06000024 }}
- 528
- {{Welsh council population|DRK=W06000024 }}
- 9
- {{Welsh council control|GSS=W06000024 }}
- {{United Kingdom district population citation|Wales}}
- (英文)Population Estimates for UK, England and Wales, Scotland and Northern Ireland, Mid-2019. 英國國家統計署. 2020-05-06 [2020-05-06].
- {{United Kingdom district population citation|area}}
- (英文)Standard Area Measurements (2016) for Administrative Areas in the United Kingdom. 英國國家統計署. 2017-02-01 [2017-02-09].
- {{United Kingdom statistics year}}
- 2022年中估計
- {{United Kingdom statistics year|WalesYYYY}}
- 2022
與其他模板並用
[編輯]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 58,883 (2022年中估計).[1] The population density is 528每平方公里(1,368每平方英里).
- ^ (英文)Population Estimates for UK, England and Wales, Scotland and Northern Ireland, Mid-2019. 英國國家統計署. 2020-05-06 [2020-05-06].
模板編輯說明
[編輯]When updating the figures in the population template, check that the table in List of Welsh principal areas by population is still correctly ordered.