This is a group of templates that provide an easy method to link to population statistics for the following UK subdivisions:

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

edit

General templates

edit

Rank templates

edit

English district ranks

edit

English admin county ranks

edit

Scottish council ranks

edit

Welsh council ranks

edit

Northern Ireland district ranks

edit

Reference templates

edit

Usage

edit
  • {{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
  • {{English district total}}
No parameters
  • {{English district 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
  • {{UK subdivision population citation}}
No parameters
  • {{UK statistics year}}
No parameters

Examples

edit

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
  • {{English district total}}
296
  • {{English district rank|GSS=E09000016}}
67th
  • {{#invoke:String|sub|{{English district 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
  • {{UK subdivision population citation}}
"Mid-Year Population Estimates, UK, June 2022". Office for National Statistics. 26 March 2024. Retrieved 3 May 2024.
  • {{UK statistics year}}
2022

Putting it all together

edit
Havering has a population of {{UK subdivision population|GSS=E09000016}}({{UK statistics year}}).
 <ref name=popstats>{{UK subdivision population citation}}</ref> The population density is
 {{convert|{{UK subdivision density|GSS=E09000016}}|/sqkm|/sqmi|0}}.

Havering has a population of 264,703 (2022).[1] The population density is 2,356 per square kilometre (6,102/sq mi).

See also

edit

References

edit