This is the template sandbox page for Template:Irish by election result (diff). See also the companion subpage for test cases. |
Usage
editParameters:
{{Irish by election result
|housetype =
|housenum =
|constit =
|month =
|date =
|year =
|outgoing =
|outparty =
|winner =
|winparty =
|reason =
|article =
}}
Context with other templates:
{{Irish by election start}}
{{Irish by election result}}
{{Irish by election result}}
:
{{Irish by election result}}
{{end}}
For example
{{Irish by election start|house=Dáil}}
{{Irish by election result
|housetype = Dáil
|housenum = 4
|constit = [[Dublin South (Dáil constituency)|Dublin South]]
|month = October
|date = 27
|year = 1923
|outgoing = {{sortname|Michael|Hayes|Michael Hayes (politician)}}
|outparty = Cumann na nGaedheal
|winner = {{sortname|Hugh|Kennedy|dab=judge}}{{efn|name="reelected"|TDs who were never subsequently re-elected.}}
|winparty = Cumann na nGaedheal
|reason = Hayes was elected in two constituencies and chose to represent the [[National University of Ireland (constituency)#Dáil Éireann|NUI]]<ref>[https://www.oireachtas.ie/en/debates/debate/dail/1923-09-19/4/ Dáil Éireann debate - Wednesday, 19 Sep 1923]</ref>
}}
{{Irish by election result
|housetype = Dáil
|housenum = 32
|constit = [[Wexford (Dáil constituency)|Wexford]]
|month = November
|date = 29
|year = 2019
|outgoing = {{sortname|Mick|Wallace}}
|outparty = Independents 4 Change
|winner = {{sortname|Malcolm|Byrne}}{{efn|name="reelected"}}
|winparty = Fianna Fáil
|reason = Election of Mick Wallace to the European Parliament
|article = 2019 Wexford by-election
}}
{{end}}
Gives
Dáil | Constituency | Vacancy | By-election | ||||||
---|---|---|---|---|---|---|---|---|---|
Outgoing | Party | Cause | Date | Winner | Party | ||||
4th | Dublin South | Michael Hayes | CnaG | Hayes was elected in two constituencies and chose to represent the NUI[1] | 27 October 1923 | Hugh Kennedy[a] | CnaG | ||
32nd | Wexford | Mick Wallace | I4C | Election of Mick Wallace to the European Parliament | 29 November 2019 | Malcolm Byrne[a] | FF |