Template:Welsh council population/doc

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:


 * Welsh council population – gives the population, rank or density for a district
 * UK council control – gives current political control

The following also apply
 * United Kingdom district population citation – gives a citation for the source of population data
 * United Kingdom statistics year – gives the year to which the estimate applies (not the year it was generated)

Usage

 * Population
 * Rank
 * Density
 * Density ranking
 * Council control
 * One required parameter set to the GSS code for the district.
 * Density ranking
 * Council control
 * One required parameter set to the GSS code for the district.
 * One required parameter set to the GSS code for the district.
 * One required parameter set to the GSS code for the district.


 * Citation
 * Optional parameter |area
 * Optional parameter |England, |NI, |Scotland or |Wales
 * Optional parameter |England, |NI, |Scotland or |Wales


 * Year
 * Optional parameter WalesYYYY
 * Optional parameter WalesYYYY

Examples
W06000024 is the GSS code for Merthyr Tydfil.



















Putting it all together
Merthyr Tydfil has a population of. The population density is undefined /sqkm.

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.