This is the template sandbox page for Template:NZ parlbox (diff). |
Parameters
editParameter | Description |
---|---|
start | 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
editUse 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}}
|
| ||||||||||||
Entered Parliament through by-election | {{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}}
|
| ||||||||||||
Entered Parliament as list candidate at general election from 1996 |
{{NZ parlbox header|align=left}}
{{NZ parlbox
|start=[[2008 New Zealand general election|2008]]
|end=2011
|term=49th
|party=ACT New Zealand
|electorate=List
|list=3
}}
{{NZ parlbox footer}}
|
| ||||||||||||
Entered Parliament as list MP by succession | {{NZ parlbox header|align=left}}
{{NZ parlbox
|term=54th
|start=2024
|end=present
|list=15
|party=Green Party of Aotearoa New Zealand
|electorate=List
}}
{{NZ parlbox footer}}
|
|
See also
edit{{NZ parlbox header}}
{{NZ parlbox footer}}
{{NZ parlbox break}}
(if a Member of Parliament serves two non-consecutive periods){{NZ parlbox allegiance}}
(if a Member of Parliament changes party allegiance)