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

Usage[edit]

Population
  • {{Welsh council population|POP= }}
Rank
  • {{Welsh council population|RNK= }}
Density
  • {{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.
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[edit]

W06000024 is the GSS code for Merthyr Tydfil.


  • {{Welsh council population|POP=W06000024 }}
60,000
  • {{Welsh council population|RNK=W06000024 }}
22nd
  • {{Welsh council population|DEN=W06000024 }}
537
  • {{Welsh council population|DRK=W06000024 }}
9th
  • {{Welsh council control|GSS=W06000024 }}
Labour
  • {{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}}
2017

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).

Note[edit]

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