Template:NZ electorate result change
Appearance
The NZ electorate result set of templates are used to produce electorate result summary tables for New Zealand general elections.
The templates
[edit]- {{NZ electorate result start}} - used to open the results table.
- {{NZ electorate result}} - multipurpose template for each electorate result
- {{NZ electorate result change}}
- {{NZ electorate result hold}} - used when the incumbent retains their seat without changing allegiance.
- {{NZ electorate result new}} - used when the electorate is new or resurrected at the election.
- {{NZ electorate result uncontested}} - used when the election is uncontested.
The table is manually closed with |}.
Parameters
[edit]- NZ electorate result start
{{NZ electorate result start
|Electorate results of the New Zealand general election, XXXX (reference)
|third= true
|template= (set to true to display edit & discuss shortcuts when using in a template)
|template-name = (if different from page name)'
}}
- For electorates where the winner is different from the incumbent (i.e. incumbent resigns, is deselected or is defeated), or where the incumbent is re-elected for a different party.
{{NZ electorate result change
|electorate =
|incumbent =
|incumbent-party =
|winner =
|winner-party =
|majority =
|second =
|second-party =
|third= (optional)
|third-party= (optional)
}}
- For electorates where the incumbent retains their seats, with no party change
{{NZ electorate result hold
|electorate =
|incumbent=
|incumbent-party =
|majority=
|second=
|second-party=
|third= (optional)
|third-party= (optional)
}}
- For new or resurrected electorates
{{NZ electorate result new
|electorate =
|incumbent =
|incumbent-party =
|winner =
|winner-party =
|majority =
|second =
|second-party =
|third= (optional)
|third-party= (optional)
}}
- For electorates where the election was not contested, add the following in place of runner-up and third place
|uncontested = true
|third= true (if third place is included)
- When the third place column is in use and there were only two candidates in the election, add the following in place of third place
|twoonly = true
Example
[edit]{{NZ electorate result start| Electorate results of the New Zealand general election, 2008<ref>http://www.electionresults.govt.nz/electionresults_2008/electoratestatus.html</ref>}}
{{NZ electorate result change |electorate= Auckland Central
|incumbent= [[Judith Tizard]] |incumbent-party= New Zealand Labour Party
|winner= [[Nikki Kaye]] |winner-party= New Zealand National Party |majority= 1,497
|second= Judith Tizard |second-party= New Zealand Labour Party
}}
{{NZ electorate result hold |electorate= Bay of Plenty
|incumbent= [[Tony Ryall]] |incumbent-party= New Zealand National Party |majority= 17,604
|second= Carol Devoy-Heena |second-party= New Zealand Labour Party
}}
{{NZ electorate result new |electorate= Botany
|winner= [[Pansy Wong]] |winner-party= New Zealand National Party |majority= 10,872
|second= Koro Tawa |second-party= New Zealand Labour Party
}}
{{NZ electorate result uncontested |electorate= Helensville
|incumbent= [[John Key]] |incumbent-party= New Zealand National Party |majority= –
}}
|}
produces the following:
Electorate | Incumbent | Winner | Majority | Runner up | |||
---|---|---|---|---|---|---|---|
Auckland Central | Judith Tizard | Nikki Kaye | 1,497 | Judith Tizard | |||
Bay of Plenty | Tony Ryall | 17,604 | Carol Devoy-Heena | ||||
Botany | New electorate | Pansy Wong | 10,872 | Koro Tawa | |||
Helensville | John Key | Uncontested |