Template:NZ population data 1992/doc
Appearance
This is a documentation subpage for Template:NZ population data 1992. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
This template is to supply uniform, up-to-date population data to New Zealand articles. It facilitates a mass update of all the population numbers in articles.
Add to article
{{NZ population data|Example city|y|y|y}}
The template has four parameters:
- area = Statistics NZ name of area for population (e.g. Auckland City), defaults to pagename
- showpopulation = display the population figure
- showtitle = display the title (e.g. "June 2008 estimate")
- showref = display the reference
Leaving a show parameter empty results in that value being hidden
Annual update
This data on this template needs to be updated once per year, as of 2008 Statistics NZ releases annual population estimates at the end of October.
- Download latest spreadsheet from Statistics New Zealand
- In a new spreadsheet, collect the data from all tables to get two columns, area name and most recent year data
- create a new column with formula =" | "&A1&" = "&B1 for first entry, copy down entire column. May need an adjustment to keep commas in the numbers
- copy & paste results into template
- update the name "June XXXX estimate"
- update the reference