Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  



1.1  Usage  





1.2  Examples  
















Template:NZ census 2018







فارسی
Français

Simple English

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


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.

Usage

The template requires one unnamed parameter, and can take up to twelve pairs of subsequent unnamed parameters.

  1. The first is the area description, obtained from Statistics New Zealand tables or searches. I usually append the area code matching the area description, because that's often simpler to search for in the table. If the reference is combining two or more areas, these are combined as a sentence in this parameter. See the examples below.
  2. The remaining optional parameters are in pairs, and can repeat up to nine times. Each pair is passed to {{NZ census place summary 2018}}
  1. The second, fourth, sixth .. twentyfourth parameters are the area description obtained from Statistics New Zealand tables or searches, but converted to lower case, with spaces replaced by hyphens and apostrophes and parentheses removed. Any macrons in the name should be removed.
  2. The third, fifth, seventh ... twentyfifth parameters are the area description in a more normal form, using capital letters, spaces and macrons as appropriate. It is required only for display and is not part of the generated url. The page name is used as a default.

Examples

{{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


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:NZ_census_2018&oldid=983174797"

Category: 
Specific-source templates
Hidden category: 
Wikipedia semi-protected templates
 



This page was last edited on 12 October 2020, at 17:59 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki