Template:Welsh council population

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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


  • {{Welsh council population|POP= }}
  • {{Welsh council population|RNK= }}
  • {{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.
  • {{United Kingdom district population citation}}
Optional parameter |area
Optional parameter |England, |NI, |Scotland or |Wales
  • {{United Kingdom statistics year}}
Optional parameter WalesYYYY


W06000024 is the GSS code for Merthyr Tydfil.

  • {{Welsh council population|POP=W06000024 }}
  • {{Welsh council population|RNK=W06000024 }}
  • {{Welsh council population|DEN=W06000024 }}
  • {{Welsh council population|DRK=W06000024 }}
  • {{Welsh council control|GSS=W06000024 }}
  • {{United Kingdom district population citation|Wales}}
"Population Estimates for UK, England and Wales, Scotland and Northern Ireland, Mid-2017". Office for National Statistics. 28 June 2018. Retrieved 28 June 2018.
  • {{United Kingdom district population citation|area}}
"Standard Area Measurements (2016) for Administrative Areas in the United Kingdom". Office for National Statistics. 1 February 2017. Retrieved 9 February 2017.
  • {{United Kingdom statistics year}}
mid-2017 est.
  • {{United Kingdom statistics year|WalesYYYY}}

Putting it all together[edit]

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 60,000 (mid-2017 est.).[1] The population density is 537 per square kilometre (1,391/sq mi).


When updating the figures in the population template, check that the table in List of Welsh principal areas by population is still correctly ordered.