Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a4549fe0bd2622ce

Jump to content

Template:NZ population data 1992/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

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.

Adding to an article

[edit]

{{NZ population data|Example city|y|y|y}}

The template has seven parameters:

  1. area = Statistics NZ name of area for population (e.g. Lower Hutt City). This parameter is mandatory if showpopulation is used. The list of names is below.
  2. showpopulation = display the population figure
  3. showtitle = display the title (e.g. "June 2008")
  4. showref = display the reference, can subsequently be reused by adding: <ref name="NZ_population_data"/>
  5. titlepre = free text before the title, for example to add parentheses
  6. titlepost = free text after the title

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

Automatically updating formulae

[edit]
  • Population density: {{Decimals|{{formatnum:{{NZ population data| ##Example city## |y}}|R}}/ ##numerical land area## |1}}
  • Percent of national population: {{Decimals|{{formatnum:{{NZ population data| ##Example city## |y}}|R}}/{{formatnum:{{NZ population data|New Zealand|y}}|R}}*100|1}}

Annual update

[edit]

The data on this template needs to be updated once per year, as of 2016 Statistics NZ releases annual population estimates around 20 October.

  1. Download latest spreadsheet from Statistics New Zealand
  2. In a new spreadsheet, collect the data from all tables to get two columns, area name and most recent year data
  3. create a new column with formula =" | "&A1&" = "&TEXT(B1,"#,##0") for first entry, copy down entire column. The TEXT function makes sure that commas are kept in the numbers.
  4. copy & paste results into template
  5. update the name "June XXXX"
  6. update the reference
  7. verify Statistics NZ names are consistent with "Show changes", affected articles need the new name
  8. verify everything is ok by looking at a sample of pages. You may need to purge the cache on some articles by adding ?action=purge to the end of the URL for changes to show.
  9. List of cities in New Zealand and List of New Zealand urban areas need checks for rank changes, affected articles may need a minor reword

Place names

[edit]

Regional Council Areas

[edit]
Area2010 population
Northland Region157,300
Auckland Region1,459,700
Waikato Region411,500
Bay of Plenty Region275,000
Gisborne Region46,600
Hawke's Bay Region154,800
Taranaki Region109,100
Manawatu-Wanganui Region231,500
Wellington Region483,200
Tasman Region47,300
Nelson Region45,500
Marlborough Region45,300
West Coast Region32,700
Canterbury Region565,800
Otago Region207,400
Southland Region94,200
North Island regions3,328,700
South Island regions1,038,300
New Zealand4,367,700

Territorial authorities

[edit]
Area2010 population
Far North District58,400
Whangarei District80,000
Kaipara District18,950
Rodney District100,000
North Shore City229,000
Waitakere City208,100
Auckland City450,300
Manukau City375,600
Papakura District49,800
Franklin District65,200
Thames-Coromandel District27,000
Hauraki District17,900
Waikato District48,300
Matamata-Piako District31,800
Hamilton City143,000
Waipa District45,700
Otorohanga District9,300
South Waikato District22,900
Waitomo District9,640
Taupo District34,000
Western Bay of Plenty District45,400
Tauranga City114,300
Rotorua District68,600
Whakatane District34,400
Kawerau District6,990
Opotiki District9,000
Gisborne District46,500
Wairoa District8,440
Hastings District75,100
Napier City57,600
Central Hawke's Bay District13,500
New Plymouth District73,200
Stratford District9,160
South Taranaki District26,900
Ruapehu District13,500
Wanganui District43,700
Rangitikei District14,900
Manawatu District29,700
Palmerston North City81,300
Tararua District17,750
Horowhenua District30,600
Kapiti Coast District49,400
Porirua City52,100
Upper Hutt City41,100
Lower Hutt City102,700
Wellington City197,700
Masterton District23,400
Carterton District7,540
South Wairarapa District9,340
Tasman District47,300
Nelson City45,500
Marlborough District45,300
Kaikoura District3,800
Buller District10,000
Grey District13,850
Westland District8,880
Hurunui District11,100
Waimakariri District47,600
Christchurch City376,700
Selwyn District39,600
Ashburton District29,400
Timaru District44,400
Mackenzie District4,010
Waimate District7,550
Chatham Islands Territory640
Waitaki District20,800
Central Otago District18,200
Queenstown-Lakes District27,800
Dunedin City124,800
Clutha District17,500
Southland District29,500
Gore District12,300
Invercargill City52,400
Cities2,652,200
Districts1,714,500

Main and secondary urban areas

[edit]
Area2010 population
Whangarei51,900
Auckland1,354,900
Northern Auckland Zone276,600
Western Auckland Zone214,800
Central Auckland Zone440,800
Southern Auckland Zone422,700
Hamilton203,400
Hamilton Zone171,600
Cambridge Zone16,400
Te Awamutu Zone15,450
Tauranga120,000
Rotorua55,900
Gisborne34,200
Napier-Hastings124,400
Napier Zone58,600
Hastings Zone65,700
New Plymouth52,200
Wanganui39,700
Palmerston North81,600
Kapiti40,000
Wellington389,700
Upper Hutt Zone38,800
Lower Hutt Zone102,100
Porirua Zone52,000
Wellington Zone196,800
Nelson59,800
Christchurch390,300
Dunedin116,600
Invercargill48,700
Pukekohe25,600
Tokoroa13,400
Taupo22,300
Whakatane18,750
Hawera11,050
Feilding14,500
Levin19,550
Masterton20,100
Blenheim30,200
Greymouth10,000
Ashburton17,800
Timaru27,600
Oamaru12,950
Gore9,770

Minor urban areas

[edit]
  • Taipa Bay-Mangonui
  • Kaitaia
  • Kerikeri
  • Russell
  • Paihia
  • Kawakawa
  • Moerewa
  • Kaikohe
  • Dargaville
  • Wellsford
  • Warkworth
  • Snells Beach
  • Helensville
  • Waiheke Island
  • Waiuku
  • Raglan
  • Huntly
  • Otorohanga
  • Te Kuiti
  • Taumarunui
  • Whitianga
  • Coromandel
  • Whangamata
  • Tairua
  • Thames
  • Waihi Beach
  • Paeroa
  • Waihi
  • Te Aroha
  • Morrinsville
  • Matamata
  • Putaruru
  • Katikati Community
  • Te Puke Community
  • Mangakino
  • Turangi
  • Edgecumbe
  • Kawerau
  • Murupara
  • Opotiki
  • Wairoa
  • Waipawa
  • Waipukurau
  • Dannevirke
  • Woodville
  • Waitara
  • Inglewood
  • Stratford
  • Opunake
  • Eltham
  • Manaia
  • Patea
  • Ohakune
  • Raetihi
  • Waiouru
  • Bulls
  • Taihape
  • Marton
  • Foxton Community
  • Shannon
  • Otaki
  • Pahiatua
  • Carterton
  • Greytown
  • Featherston
  • Martinborough
  • Picton
  • Kaikoura
  • Takaka
  • Brightwater
  • Wakefield
  • Motueka
  • Westport
  • Reefton
  • Hokitika
  • Hanmer Springs
  • Woodend
  • Rangiora
  • Oxford
  • Darfield
  • Lincoln
  • Leeston
  • Pleasant Point
  • Geraldine
  • Temuka
  • Twizel Community
  • Waimate
  • Milton
  • Balclutha
  • Alexandra
  • Cromwell
  • Wānaka
  • Arrowtown
  • Queenstown
  • Winton
  • Bluff
  • Te Anau
  • Riverton
  • Rolleston

See also

[edit]