Jump to content

Template:Infobox New Zealand electorate/doc

From Wikipedia, the free encyclopedia
Napier
Single-member general constituency for the New Zealand House of Representatives
Art Deco buildings in Napier
Formation1861
Region
CharacterUrban and rural
Term3 years
Member for Napier

Katie Nimon
since 14 October 2023
PartyNational
Electorate officeNapier
Previous MPStuart Nash (Labour)
Party vote distribution




Usage

[edit]

This infobox is for use on pages on the electorates of New Zealand. See Category:New Zealand electorates or List of New Zealand electorates for these articles.

Currently, this template is only set up for current electorates, and may not work well on historical electorates.

Details for the electorate’s current member can be generated from {{NZ officeholder data}}, or may generate automatically if left blank. Whether member data is filled manually, or whether using centralised values, ensure all data is from the same source, to avoid the member’s name, party, photo, first election date or electorate office getting out of sync, following a change in representative.


Infobox for current electorates of New Zealand

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Electorate nameelectorate

no description

Unknownrequired
Type of electoratetype

only change for Māori electorates

Suggested values
Māori constituency general constituency
Default
general constituency
Unknownoptional
Photo of the electoratephoto

Photo related to the electorate, e.g. photo of the city skyline

Example
File:foo.png
Unknownoptional
Photo sizephoto_size

no description

Default
200px
Unknownoptional
Photo captionphoto_caption

no description

Unknownoptional
photo_altphoto_alt

no description

Unknownoptional
Mapmap image_map

Usually an SVG file, showing the electorate boundaries and its surrounding area

Example
File:foo.svg
Filesuggested
Map sizemap_size

no description

Default
200px
Unknownoptional
Map captionmap_caption

It is useful to state when the current map came into effect

Example
Electorate boundaries since 2014
Unknownoptional
map_altmap_alt alt_map

no description

Unknownoptional
Year of formationformation

Year that the electorate was founded

Unknownrequired
Regionregion

Use {{ubl}} for multiple regions

Example
[[Bay of Plenty]]
Unknownrequired
List of main territorial authorities coveredterritorial_authority

Use {{ubl}} for multiple authorities

Unknownoptional
Character of the electoratecharacter

no description

Suggested values
Urban Suburban Rural
Example
Urban, rural, suburban
Unknownoptional
Estimated electoral populationelectors

no description

Numberoptional
Source for electors numberelectors_source

no description

Unknownoptional
Incumbent membermember

Name of the current member of parliament for the electorate

Example
[[Jacinda Ardern]]
Unknownrequired
Party of incumbent MPparty

no description

Suggested values
New Zealand National Party New Zealand Labour Party ACT New Zealand Green Party of Aotearoa New Zealand New Zealand First Te Pāti Māori
Unknownrequired
Image of the MPmember_image

no description

Example
File:foo.png
Unknownsuggested
MP sincemember_elected since

Date the incumbent MP assumed office

Unknownsuggested
Electorate officeelectorate_office

Location of the MP's electorate office

Example
[[Gisborne]]
Unknownoptional
List MPslist_mps

Current List MPs that contested the previous election

Unknownoptional
Previous MPprevious_mp

Previous MP that held the seat

Example
[[Bill English]]
Unknownoptional
Previous MP Partyprevious_mp_party

no description

Suggested values
New Zealand National Party New Zealand Labour Party ACT New Zealand Green Party of Aotearoa New Zealand New Zealand First Te Pāti Māori
Unknownoptional
Total party votespartyvote_votes_total

Total number of valid party votes in most recent general election. Do not include commas.

Numbersuggested
Party vote: party name 1partyvote_party_1

Name of party with the most party votes in the most recent general election.

Suggested values
New Zealand National Party New Zealand Labour Party ACT New Zealand Green Party of Aotearoa New Zealand New Zealand First Te Pāti Māori
Unknownsuggested
Party vote: votes 1partyvote_votes_1

Number of votes for the party that received the most votes in the most recent general election. Do not include commas.

Numbersuggested
Party vote: party name 2partyvote_party_2

Name of party with the second most party votes in the most recent general election.

Suggested values
New Zealand National Party New Zealand Labour Party ACT New Zealand Green Party of Aotearoa New Zealand New Zealand First Te Pāti Māori
Unknownsuggested
Party vote: votes 2partyvote_votes_2

Number of votes for the party that received the second most votes in the most recent general election. Do not include commas.

Unknownsuggested
Party vote: party name 3partyvote_party_3

Name of party with the third most party votes in the most recent general election.

Suggested values
New Zealand National Party New Zealand Labour Party ACT New Zealand Green Party of Aotearoa New Zealand New Zealand First Te Pāti Māori
Unknownsuggested
Party vote: votes 3partyvote_votes_3

Number of votes for the party that received the third most votes in the most recent general election. Do not include commas.

Unknownsuggested
Party vote: party name 4partyvote_party_4

Name of party with the fourth most party votes in the most recent general election.

Suggested values
New Zealand National Party New Zealand Labour Party ACT New Zealand Green Party of Aotearoa New Zealand New Zealand First Te Pāti Māori
Unknownsuggested
Party vote: votes 4partyvote_votes_4

Number of votes for the party that received the fourth most votes in the most recent general election. Do not include commas.

Unknownsuggested
Party vote: party name 5partyvote_party_5

Name of party with the fifth most party votes in the most recent general election.

Suggested values
New Zealand National Party New Zealand Labour Party ACT New Zealand Green Party of Aotearoa New Zealand New Zealand First Te Pāti Māori
Unknownsuggested
Party vote: votes 5partyvote_votes_5

Number of votes for the party that received the fifth most votes in the most recent general election. Do not include commas.

Unknownsuggested
Party vote: datepartyvote_date

Year of party vote numbers. DO NOT UPDATE without updating party vote data. This parameter is required to display the party vote bar.

Auto value
2023
Numbersuggested
member_image_sizemember_image_size

no description

Unknownoptional
member_image_altmember_image_alt

no description

Unknownoptional