Usage

edit

Parameters:

{{Irish by election result
|house     = Dáil or Seanad
|housenum  = 
|con       = constituency or panel, wikilinked
|month     =
|date      =
|year      =
|name      = name of TD or Senator, using the {{sortname}} template
|loss      = affiliation TD or Senator left, not wikilinked or formatted
|gain      = affiliation TD or Senator moved to, not wikilinked or formatted
|note      =
}}

Context with other templates:

{{Irish change party start}}
{{Irish change party}}
{{Irish change party}}
:
{{Irish change party}}{{end}}

For example

{{Irish change party start|house=Dáil}}
{{Irish change party
|housenum = 31
|date  = 7
|month = July
|year  = 2011
|name  = {{sortname|Denis|Naughten}}
|con   = {{nowrap|[[Roscommon–South Leitrim (Dáil constituency)|Roscommon–South Leitrim]]}}
|gain  = Independent politician (Ireland)
|loss  = Fine Gael
|note  = Loss of Fine Gael party whip for opposing closure of Roscommon County Hospital emergency department.<ref>{{cite news|url=http://www.irishtimes.com/newspaper/breaking/2011/0707/breaking8.html|title=Naughten loses Fine Gael whip|work=[[The Irish Times]]|date=7 July 2011|access-date=7 July 2011}}</ref> 
}}
{{Irish change party
|housenum = 33
|date  = 15
|month = September
|year  = 2021
|name  = {{sortname|Marc|MacSharry}}
|con   = [[Sligo–Leitrim (Dáil constituency)|Sligo–Leitrim]]
|gain  = Independent politician (Ireland)
|loss  = Fianna Fáil
|note  = Resigned party whip to vote no confidence in [[Minister for Foreign Affairs (Ireland)|Minister for Foreign Affairs]] [[Simon Coveney]]<ref>{{cite web |last1=Hosford |first1=Paul |title=Marc MacSharry resigns from FF parliamentary party ahead of Coveney vote |url=https://www.irishexaminer.com/news/politics/arid-40698854.html |website=[[Irish Examiner]] |access-date=15 September 2021}}</ref>
}}{{end}}

Gives

Dáil Date TD Loss Gain Constituency Reason
31st 7 July 2011 Denis Naughten FG Ind Roscommon–South Leitrim Loss of Fine Gael party whip for opposing closure of Roscommon County Hospital emergency department.[1]
33rd 15 September 2021 Marc MacSharry FF Ind Sligo–Leitrim Resigned party whip to vote no confidence in Minister for Foreign Affairs Simon Coveney[2]

Example References

edit
  1. ^ "Naughten loses Fine Gael whip". The Irish Times. 7 July 2011. Retrieved 7 July 2011.
  2. ^ Hosford, Paul. "Marc MacSharry resigns from FF parliamentary party ahead of Coveney vote". Irish Examiner. Retrieved 15 September 2021.