Difference between revisions of "Template:MMP by-election box begin"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(tidy style for better HTML5 compatibility)
imported>Schwede66
(reorder)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{| border=1 cellpadding=4 cellspacing=0 style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse; font-size: 95%;"
 
{| border=1 cellpadding=4 cellspacing=0 style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse; font-size: 95%;"
 
|- style="background-color:#E9E9E9"
 
|- style="background-color:#E9E9E9"
! colspan=6|[[{{{electorate}}} by-election, {{{year}}}]]
+
! colspan=6|[[{{{year}}} {{{electorate}}} by-election]]
 
|- style="background-color:#E9E9E9; font-size: 85%;"
 
|- style="background-color:#E9E9E9; font-size: 85%;"
 
! colspan=6|
 
! colspan=6|
Notes: <span style="background-color:#CFF">Green background</span> denotes the winner of the by-election.<br> <span style="background-color:#FDD">Pink background</span> denotes a candidate elected from their party list prior to the by-election.<br> <span style="background-color:#F7E98E">Yellow background</span> denotes the winner of the by-election, who was a list MP prior to the by-election. <br>A {{Aye}} or {{Nay}} denotes status of any [[incumbent]], win or lose respectively.
+
Notes: <span style="background-color:#CFF">Blue background</span> denotes the winner of the by-election.<br> <span style="background-color:#FDD">Pink background</span> denotes a candidate elected from their party list prior to the by-election.<br> <span style="background-color:#F7E98E">Yellow background</span> denotes the winner of the by-election, who was a list MP prior to the by-election. <br>A {{Aye}} or {{Nay}} denotes status of any [[incumbent]], win or lose respectively.
 
|- style="background-color:#E9E9E9"
 
|- style="background-color:#E9E9E9"
 
! colspan=2 style="width: 150px"|Party
 
! colspan=2 style="width: 150px"|Party

Latest revision as of 05:02, 11 December 2018

Template documentation[view] [edit] [history] [purge]
[[{{{year}}} {{{electorate}}} by-election]]

Notes: Blue background denotes the winner of the by-election.
Pink background denotes a candidate elected from their party list prior to the by-election.
Yellow background denotes the winner of the by-election, who was a list MP prior to the by-election.
A Green tickY or Red XN denotes status of any incumbent, win or lose respectively.

Party Candidate Votes % ±%
2004 Te Tai Hauauru by-election

Notes: Blue background denotes the winner of the by-election.
Pink background denotes a candidate elected from their party list prior to the by-election.
Yellow background denotes the winner of the by-election, who was a list MP prior to the by-election.
A Green tickY or Red XN denotes status of any incumbent, win or lose respectively.

Party Candidate Votes % ±%
style="background-color: Template:Māori Party/meta/color; width: 5px;" | [[Māori Party|Template:Māori Party/meta/shortname]] Green tickY Tariana Turia xyz pq.rs +mn.op
style="background-color: Template:New Zealand Labour Party/meta/color; width: 5px;" | [[New Zealand Labour Party|Template:New Zealand Labour Party/meta/shortname]] Some One abc d.ef -gh.ij
Legalise Cannabis Candy Date kl no.o +t.uv
Independent Ian D. Pendant abcd ab.cd
Informal votes 100
Total Valid votes 200 100 +1.00
style="background-color: Template:Māori Party/meta/color" | [[Māori Party|Template:Māori Party/meta/shortname]] hold Majority ghi qwe +l.mk

Script list