پرش به محتوا

الگو:English district rank

از ویکی‌پدیا، دانشنامهٔ آزاد


توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

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. 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. The templates' support for the old 4-character ONS codes has now been discontinued (February 2017).

The templates are:

The following also apply to Wales, Scotland and Northern Ireland:

  • {{English district total}}
No parameters
  • {{English district population|GSS= }}
One required parameter: the GSS code for the district
  • {{English district rank|GSS= }}
One required parameter: the GSS code for the district
  • {{English district density|GSS= }}
One required parameter: the GSS code for the district
  • {{English district area|GSS= }}
One required parameter: the GSS code for the district
  • {{English district area rank|GSS= }}
One required parameter: 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}}
No parameters

Examples

[ویرایش]

E09000016 is the GSS code for the منطقه هیورینگ لندن.

  • {{English district total}}
317
  • {{English district population|GSS=E09000016}}
259,552
  • {{English district rank|GSS=E09000016}}
65th
  • {{#invoke:String|sub|{{English district rank|GSS=E09000016}}|1|-3}}
65 - removes the "st", "nd", "rd or "th"
  • {{English district density|GSS=E09000016}}
2,295
  • {{English district density rank|GSS=E09000016}}
84th
  • {{English district area|GSS=E09000016}}
112.3
  • {{English district area rank|GSS=E09000016}}
207th
  • {{United Kingdom district population citation|England}}
"Table 8a Mid-2011 Population Estimates: Selected age groups for local authorities in England and Wales; estimated resident population;". Population Estimates for England and Wales, Mid 2011 (Census Based). Office for National Statistics. 2012-09-25. Retrieved 2012-11-22.
  • {{United Kingdom district population citation|area}}
"Standard Area Measurements - Local Authorities - Dec 2010 (SAM_LAD_DEC_2010_UK)". UK Standard Area Measurements (SAM). Office for National Statistics. 31 December 2010. Retrieved 1 October 2011.
  • {{United Kingdom statistics year}}
mid-2019 est.

Putting it all together

[ویرایش]
Havering has a population of {{English district population|GSS=E09000016}}({{United Kingdom statistics year}}).
 <ref name=popstats>{{United Kingdom district population citation|England}}</ref>  The population density is
 {{convert|{{English district density|GSS=E09000016}}|/sqkm|/sqmi|0}}.

Havering has a population of 259,552 (mid-2019 est.).[۱] The population density is ۲٬۲۹۵ بر کیلومتر مربع (۵٬۹۴۴ بر مایل مربع).