Jump to content

Template:NZ electorate result start/doc

From Wikipedia, the free encyclopedia

The NZ electorate result set of templates are used to produce electorate result summary tables for New Zealand general elections.

The templates

[edit]

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 results of the New Zealand general election, 2008[1]
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

References

Tracking category

[edit]