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.
It is used for dynamically-changing populations. Populations on a specific date should not use this template, but should instead be hard-coded manually into the article.
This template uses the New Zealand Standard Areas Classification 1992 (NZSAC92). For the newer Statistical Standard for Geographic Areas 2018 (SSGA18), use {{ NZ population data 2018}}. This template is "macron-sensitive", i.e. it will only look up a value if the spelling is exactly as specified (with or without a macron). As a workaround, all places that have recently received a macron have been duplicated in this template and that means that there is always the correct spelling available for a lookup to work.
{{NZ population data|Example city|y|y|y}}
The template has seven parameters:
Leaving a show parameter empty results in that value being hidden.
The template data uses formatted text numbers, with the comma thousands separator, which is suitable for the majority of uses. For the numerical value, for example to use in {{ Infobox Settlement}}, use the formula: {{formatnum:{{NZ population data| ##Example city## |y}}|R}}
The data on this template needs to be updated once per year, as of 2016 Statistics NZ releases annual population estimates around 20 October.
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.
It is used for dynamically-changing populations. Populations on a specific date should not use this template, but should instead be hard-coded manually into the article.
This template uses the New Zealand Standard Areas Classification 1992 (NZSAC92). For the newer Statistical Standard for Geographic Areas 2018 (SSGA18), use {{ NZ population data 2018}}. This template is "macron-sensitive", i.e. it will only look up a value if the spelling is exactly as specified (with or without a macron). As a workaround, all places that have recently received a macron have been duplicated in this template and that means that there is always the correct spelling available for a lookup to work.
{{NZ population data|Example city|y|y|y}}
The template has seven parameters:
Leaving a show parameter empty results in that value being hidden.
The template data uses formatted text numbers, with the comma thousands separator, which is suitable for the majority of uses. For the numerical value, for example to use in {{ Infobox Settlement}}, use the formula: {{formatnum:{{NZ population data| ##Example city## |y}}|R}}
The data on this template needs to be updated once per year, as of 2016 Statistics NZ releases annual population estimates around 20 October.