Template:Welsh council population/doc

From WikiProjectMed
Jump to navigation Jump to search

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:

The following also apply

Usage

Population
  • {{Welsh council population|POP= }}
Rank
  • {{Welsh council population|RNK= }}
Density
  • {{Welsh council population|DEN= }}
Density ranking
  • {{Welsh council population|DRK= }}
Council control
  • {{UK 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 }}
58,883
  • {{Welsh council population|RNK=W06000024 }}
22nd
  • {{Welsh council population|DEN=W06000024 }}
528
  • {{Welsh council population|DRK=W06000024 }}
9th
  • {{UK council control|GSS=W06000024 }}
Independent
  • {{United Kingdom district population citation|Wales}}
"Mid-Year Population Estimates, UK, June 2022". Office for National Statistics. 26 March 2024. Retrieved 3 May 2024.
  • {{United Kingdom district population citation|area}}
"Mid-Year Population Estimates, UK, June 2022". Office for National Statistics. 26 March 2024. Retrieved 3 May 2024.
  • {{United Kingdom statistics year}}
2022
  • {{United Kingdom statistics year|WalesYYYY}}
2022

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 58,883 (2022).[1] The population density is 528 per square kilometre (1,368/sq mi).

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.