Template:Infobox New Zealand electorate/sandbox
Infobox New Zealand electorate/sandbox | |
---|---|
Single-member general constituency for the New Zealand House of Representatives | |
[[|200px]] | |
[[|200px]] | |
Electors | [1] |
Term | 3 years |
Member for Infobox New Zealand electorate/sandbox | |
[[|150px]] since | |
Party | [[|parameter 1 should be a party name.]] |
Salary | NZ$163,961[2] |
Previous MP | ([[|parameter 1 should be a party name.]]) |
This is the template sandbox page for Template:Infobox New Zealand electorate (diff). See also the companion subpage for test cases. |
Napier | |||||||
---|---|---|---|---|---|---|---|
Single-member general constituency for the New Zealand House of Representatives | |||||||
Formation | 1861 | ||||||
Region | |||||||
Character | Urban and rural | ||||||
Term | 3 years | ||||||
Member for Napier | |||||||
Katie Nimon since 14 October 2023 | |||||||
Party | National | ||||||
Electorate office | Napier | ||||||
Previous MP | Stuart 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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Electorate name | electorate | no description | Unknown | required |
Type of electorate | type | only change for Māori electorates
| Unknown | optional |
Photo of the electorate | photo | Photo related to the electorate, e.g. photo of the city skyline
| Unknown | optional |
Photo size | photo_size | no description
| Unknown | optional |
Photo caption | photo_caption | no description | Unknown | optional |
photo_alt | photo_alt | no description | Unknown | optional |
Map | map image_map | Usually an SVG file, showing the electorate boundaries and its surrounding area
| File | suggested |
Map size | map_size | no description
| Unknown | optional |
Map caption | map_caption | It is useful to state when the current map came into effect
| Unknown | optional |
map_alt | map_alt alt_map | no description | Unknown | optional |
Year of formation | formation | Year that the electorate was founded | Unknown | required |
Region | region | Use {{ubl}} for multiple regions
| Unknown | required |
List of main territorial authorities covered | territorial_authority | Use {{ubl}} for multiple authorities | Unknown | optional |
Character of the electorate | character | no description
| Unknown | optional |
Estimated electoral population | electors | no description | Number | optional |
Source for electors number | electors_source | no description | Unknown | optional |
Incumbent member | member | Name of the current member of parliament for the electorate
| Unknown | required |
Party of incumbent MP | party | no description
| Unknown | required |
Image of the MP | member_image | no description
| Unknown | suggested |
MP since | member_elected since | Date the incumbent MP assumed office | Unknown | suggested |
Electorate office | electorate_office | Location of the MP's electorate office
| Unknown | optional |
List MPs | list_mps | Current List MPs that contested the previous election | Unknown | optional |
Previous MP | previous_mp | Previous MP that held the seat
| Unknown | optional |
Previous MP Party | previous_mp_party | no description
| Unknown | optional |
Total party votes | partyvote_votes_total | Total number of valid party votes in most recent general election. Do not include commas. | Number | suggested |
Party vote: party name 1 | partyvote_party_1 | Name of party with the most party votes in the most recent general election.
| Unknown | suggested |
Party vote: votes 1 | partyvote_votes_1 | Number of votes for the party that received the most votes in the most recent general election. Do not include commas. | Number | suggested |
Party vote: party name 2 | partyvote_party_2 | Name of party with the second most party votes in the most recent general election.
| Unknown | suggested |
Party vote: votes 2 | partyvote_votes_2 | Number of votes for the party that received the second most votes in the most recent general election. Do not include commas. | Unknown | suggested |
Party vote: party name 3 | partyvote_party_3 | Name of party with the third most party votes in the most recent general election.
| Unknown | suggested |
Party vote: votes 3 | partyvote_votes_3 | Number of votes for the party that received the third most votes in the most recent general election. Do not include commas. | Unknown | suggested |
Party vote: party name 4 | partyvote_party_4 | Name of party with the fourth most party votes in the most recent general election.
| Unknown | suggested |
Party vote: votes 4 | partyvote_votes_4 | Number of votes for the party that received the fourth most votes in the most recent general election. Do not include commas. | Unknown | suggested |
Party vote: party name 5 | partyvote_party_5 | Name of party with the fifth most party votes in the most recent general election.
| Unknown | suggested |
Party vote: votes 5 | partyvote_votes_5 | Number of votes for the party that received the fifth most votes in the most recent general election. Do not include commas. | Unknown | suggested |
Party vote: date | partyvote_date | Year of party vote numbers. DO NOT UPDATE without updating party vote data. This parameter is required to display the party vote bar.
| Number | suggested |
member_image_size | member_image_size | no description | Unknown | optional |
member_image_alt | member_image_alt | no description | Unknown | optional |
- ^ "Enrolment by general electorate". Electoral commission. Retrieved 17 August 2024.
- ^ Smith, Anneke (30 April 2024). "Members of Parliament and Prime Minister to get pay rise". Radio New Zealand. Retrieved 15 May 2024.