قالب:English district area
This is a group of templates that provide an easy method to link to population statistics for English 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 either an ONS code or 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. As of July 2012 these templates support both codes, but future updates may only be available for the GSS codes, hence use of the GSS code is preferred. A list of both codes is at ONS coding system.
The templates are:
- {{English district population}} – gives the population for a district
- {{English district total}} – gives the current total number of districts
- {{English district rank}} – where the district lies in a list ordered by population (highest first)
- {{English district density}} – gives the district's population density (per square kilometre)
- {{English district area}} – gives the district's area (square kilometres)
- {{English district area rank}} – where the district lies in a list ordered by area (highest first). This can change as districts are amalgamated into new Unitary Authorities.
The following also apply to Wales, Scotland and Northern Ireland:
- {{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
تعديل- {{English district population|GSS= }}
- One required parameter: the GSS code for the district
- {{English district total}}
- No parameters
- {{English district rank|GSS= }}
- One required parameter: the GSS code for the district
- {{English district density|GSS= }}
- One required parameter: the GSS code for the district
- {{English district area|GSS= }}
- One required parameter: the GSS code for the district
- {{English district area rank|GSS= }}
- One required parameter: the GSS code for the district
- {{United Kingdom district population citation}}
- Optional parameter |area
- Optional parameter |England, |NI, |Scotland or |Wales
- {{United Kingdom statistics year}}
- No parameters
The ONS data can be used by passing ONS=(code) to the template instead of GSS=(code). The GSS parameter will take precedence if both are passed.
Examples
تعديلE09000016 is the GSS code for the London Borough of Havering.
- {{English district population|GSS=E09000016}}
- 237,900
- {{English district rank|GSS=E09000016}}
- 63rd
- {{English district density|GSS=E09000016}}
- 2117
- {{United Kingdom district population citation|England}}
- "Table 8a Mid-2011 Population Estimates: Selected age groups for local authorities in England and Wales; estimated resident population;". Population Estimates for England and Wales, Mid 2011 (Census Based). Office for National Statistics. 25 سبتمبر 2012. اطلع عليه بتاريخ 2012-11-22.
- {{United Kingdom district population citation|area}}
- "Standard Area Measurements - Local Authorities - Dec 2010 (SAM_LAD_DEC_2010_UK)". UK Standard Area Measurements (SAM). Office for National Statistics. 31 ديسمبر 2010. اطلع عليه بتاريخ 2011-10-01.
- {{United Kingdom statistics year}}
- 2011 est.
Putting it all together
تعديلHavering has a population of {{English district population|GSS=E09000016}}({{United Kingdom statistics year}}). <ref name=popstats>{{United Kingdom district population citation|England}}</ref> The population density is {{convert|{{English district density|GSS=E09000016}}|/sqkm|/sqmi|0}}.
Havering has a population of 237,900 (2011 est.).[1] The population density is 2,117 لكل كيلومتر مربع (5,483/ميل2).
- ↑ "Table 8a Mid-2011 Population Estimates: Selected age groups for local authorities in England and Wales; estimated resident population;". Population Estimates for England and Wales, Mid 2011 (Census Based). Office for National Statistics. 25 سبتمبر 2012. اطلع عليه بتاريخ 2012-11-22.