Templat:English district population/doc

Daripada Wikipedia, ensiklopedia bebas.

This is a group of templates that provide an easy method to link to population statistics for English 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. The templates are:

A list of ONS codes is at ONS coding system.

Usage[sunting sumber]

  • {{English district population|ONS= }}
One required parameter: the ONS code for the district
  • {{English statistics year}}
No parameters
  • {{English district total}}
No parameters
  • {{English district population citation}}
No parameters
  • {{English district rank|ONS= }}
One required parameter: the ONS code for the district
  • {{English district density|ONS= }}
One required parameter: the ONS code for the district
  • {{English district area|ONS= }}
One required parameter: the ONS code for the district
  • {{English district area rank|ONS= }}
One required parameter: the ONS code for the district

Examples[sunting sumber]

00AR is the ONS code for the London Borough of Havering.

  • {{English district population|ONS=00AR}}
Templat:English district population
  • {{English statistics year}}
anggaran 2008
  • {{English district population citation}}
Templat:English district population citation
  • {{English district rank|ONS= 00AR}}
ke-59
  • {{English district density|ONS= 00AR}}
Templat:English district density

Putting it all together[sunting sumber]

Havering has a population of {{English district population|ONS=00AR}}({{English statistics year}}).
 <ref name=popstats>{{English district population citation}}</ref>  The population density is
 {{convert|{{English district density|ONS=00AR}}|/sqkm|/sqmi|0}}.

Havering has a population of Templat:English district population (anggaran 2008).[1] The population density is [convert: invalid number].