The year the term started (required). Use the election year and link.
end
The year the term ended (required). If ongoing, use "present".
term
The term number (required). Use cardinal numbers (1st, 2nd).
legislative
The type of legislative body (not usually required). Defaults to "New Zealand Parliament".
electorate_col
The number of columns the electorate cell should span (not usually required). Defaults to "2" if |list= isn't used.
electorate
The name of the electorate (required). Link to the article. For list MPs, use "List" and do not link.
list
The rank on the party's list (optional).
party
The name of the party (required). If independent, use "Independent politician".
Examples
Use case
Input
Output
Entered Parliament at general election before 1996
{{NZ parlbox header|align=left|nolist=yes}}{{NZ parlbox|term=43rd
|start={{NZ election link year|1990}}|end=1993
|party=New Zealand National Party
|electorate=[[Eden (New Zealand electorate)|Eden]]}}{{NZ parlbox footer}}
Entered Parliament as electorate candidate at general election from 1996 without list ranking
Entered Parliament as electorate candidate at general election from 1996
{{NZ parlbox header|align=left}}{{NZ parlbox|term=45th
|start={{NZ election link year|1996}}|end=1999
|party=New Zealand Labour Party
|list=3
|electorate=[[Epsom (New Zealand electorate)|Epsom]]}}{{NZ parlbox footer}}
{{NZ parlbox header|align=left}}{{NZ parlbox|start={{By-election link year|Te Tai Hauauru|2004}}|end=2005
|term=47th
|electorate=Te Tai Hauāuru
|party=Māori Party
}}{{NZ parlbox footer}}