Template:English district area rank
This is a group of templates that provide an easy method to link to population, land area and density statistics for the following UK subdivisions:
- UK nations and regions
- English districts (including unitary authorities, non-metropolitan districts, metropolitan districts and sui generis councils)
- English non-metropolitan and metropolitan counties
- Scottish council areas
- Welsh unitary authorities
- Northern Ireland districts
Subdivisions are identified by passing a GSS code as a parameter.
This template does not work for English ceremonial counties, Welsh preserved counties or Scottish lieutenancy areas which do not have GSS codes. For English ceremonial counties use Template:English cerem counties.
Templates
General templates
- {{UK subdivision population}} – gives the population for a subdivision
- {{UK subdivision density}} – gives the subdivision's population density (per square kilometre)
- {{UK subdivision area}} – gives the subdivision's land area (square kilometres)
Reference templates
- {{UK subdivision statistics year}} – gives the year to which the estimate applies (not the year it was generated)
- {{UK subdivision statistics citation}} – gives a citation for the source of population data
Rank templates
English district ranks
- {{English district total}} – gives the current total number of English districts
- {{English district population rank}} – gives the district's position in a list ordered by population (greatest first)
- {{English district density rank}} – gives the district's position in a list ordered by population density (greatest first)
- {{English district area rank}} – gives the district's position in a list ordered by land area (largest first).
English admin county ranks
- {{English admin county population rank}} – gives the county's position in a list ordered by population (greatest first)
- {{English admin county area rank}} – gives the county's position in a list ordered by land area (largest first).
Scottish council ranks
- {{Scottish council population rank}} – gives the district's position in a list ordered by population (greatest first)
- {{Scottish council density rank}} – gives the district's position in a list ordered by population density (greatest first)
- {{Scottish council area rank}} – gives the district's position in a list ordered by land area (largest first).
Welsh council ranks
- {{Welsh council population rank}} – gives the district's position in a list ordered by population (greatest first)
- {{Welsh council density rank}} – gives the district's position in a list ordered by population density (greatest first)
- {{Welsh council area rank}} – gives the district's position in a list ordered by land area (largest first).
Northern Ireland district ranks
- {{NI district population rank}} – gives the district's position in a list ordered by population (greatest first)
- {{NI district density rank}} – gives the district's position in a list ordered by population density (greatest first)
- {{NI district area rank}} – gives the district's position in a list ordered by land area (largest first).
Usage
- {{UK subdivision population|GSS= }}
- One required parameter: the GSS code for the subdivision
- {{UK subdivision density|GSS= }}
- One required parameter: the GSS code for the subdivision
- {{UK subdivision area|GSS= }}
- One required parameter: the GSS code for the subdivision
- Users may optionally provider a second parameter, 'RND=2', to generate an area figure to two decimal places. This is useful when adding multiple area figures together in order to get an accurate total. The total figure can then itself be rounded.
- {{UK subdivision statistics year}}
- No parameters
- {{UK subdivision statistics citation}}
- No parameters
- {{English district total}}
- No parameters
- {{English district population rank|GSS= }}
- One required parameter: the GSS code for the district
- {{English district density rank|GSS= }}
- One required parameter: the GSS code for the district
- {{English district area rank|GSS= }}
- One required parameter: the GSS code for the district
Examples
E09000016 is the GSS code for the London Borough of Havering.
- {{UK subdivision population|GSS=E09000016}}
- 264,703
- {{UK subdivision density|GSS=E09000016}}
- 2,356
- {{UK subdivision area|GSS=E09000016}}
- 112
- {{UK subdivision area|GSS=E09000016|RND=2}}
- 112.34
- {{UK subdivision statistics year}}
- 2022
- {{UK subdivision statistics citation}}
- "Mid-Year Population Estimates, UK, June 2022". Office for National Statistics. 26 March 2024. Retrieved 3 May 2024.
- {{English district total}}
- 296
- {{English district population rank|GSS=E09000016}}
- 67th
- {{#invoke:String|sub|{{English district population rank|GSS=E09000016}}|1|-3}}
- 67 - removes the "st", "nd", "rd or "th"
- {{English district density rank|GSS=E09000016}}
- 81st
- {{English district area rank|GSS=E09000016}}
- 184th
Putting it all together
Havering has a population of {{UK subdivision population|GSS=E09000016}} ({{UK subdivision statistics year}}).<ref>{{UK subdivision statistics citation}}</ref> It has a land area of {{convert|{{UK subdivision area|GSS=E09000016}}|km2|sqmi}} and a population density of {{convert|{{UK subdivision density|GSS=E09000016}}|/sqkm|/sqmi|0}}. It is the {{English district population rank|GSS=E09000016}} largest district in England by population.
Havering has a population of 264,703 (2022).[1] It has a land area of 112 square kilometres (43 sq mi) and a population density of 2,356 per square kilometre (6,102/sq mi). It is the 67th largest district in England by population.
See also
- {{UK council control}}
- {{English cerem counties}}
- {{Scottish locality populations}}
- {{Scottish settlement populations}}
References
- ^ "Mid-Year Population Estimates, UK, June 2022". Office for National Statistics. 26 March 2024. Retrieved 3 May 2024.