This template is for use in referencing the population of New Zealand places using the 2018 Census data provided as Excel tables or comma-separated files by Statistics New Zealand at https://www.stats.govt.nz/information-releases/statistical-area-1-dataset-for-2018-census-updated-march-2020, and optionally including links to the more reader-friendly data at https://www.stats.govt.nz/tools/2018-census-place-summaries/
Expected usage would be between <ref></ref> tags. This template calls {{NZ census place summary 2018}} if more than one parameter is supplied.
The template requires one unnamed parameter, and can take up to twelve pairs of subsequent unnamed parameters.
{{NZ census 2018|Ahipara (100600)}} creates the output:
"Statistical area 1 dataset for 2018 Census". Statistics New Zealand. March 2020. Ahipara (100600).
{{NZ census 2018|Kaitaia East (100700) and Kaitaia West (100800)|kaitaia-east|Kaitaia East|kaitaia-west|Kaitaia West}} creates the output:
"Statistical area 1 dataset for 2018 Census". Statistics New Zealand. March 2020. Kaitaia East (100700) and Kaitaia West (100800). 2018 Census place summary: Kaitaia East 2018 Census place summary: Kaitaia West