Difference between revisions of "Template:Fine Gael"

From blackwiki
Jump to navigation Jump to search
imported>Spleodrach
(updated)
imported>CeltBrowne
(In an effort to improve navigability, accessibility and readability, I removed the use of collapsed subgroups aside from the leadership section, and condensed the unwieldy leadership section by stripping down the leaders to just their surnames and removing the timeframes. The result is easier to view and discern. The navbox can now be entirely navigated without having to open multiple subsections, and is now more in line with other navboxes such as Template:Scottish National Party)
Line 1: Line 1:
{{Navbox with collapsible groups
+
{{Navbox  
 
|name  = Fine Gael
 
|name  = Fine Gael
 
|title = [[Fine Gael|<span style="color:white;">Fine Gael</span>]]
 
|title = [[Fine Gael|<span style="color:white;">Fine Gael</span>]]
Line 23: Line 23:
 
|group2 = Leadership
 
|group2 = Leadership
 
|abbr2  = Leadership
 
|abbr2  = Leadership
|list2 =
+
|list2 = {{Navbox|child
{{Navbox|subgroup
+
  | state = collapsed
  |groupstyle = background:{{Fine Gael/meta/color}};color:white;
+
  | basestyle = background:{{Fine Gael/meta/color}};color:white;
   |group1 = [[Leader of Fine Gael|<span style="color:white;">Leaders</span>]]
+
  | title = <span style="color:white;">Leadership</span>
   |list1  =  
+
  |groupstyle = background:{{Fine Gael/meta/color}};color:white;  
* [[Eoin O'Duffy]] (1933–34)
+
   | group1 = [[Leader of Fine Gael|<span style="color:white;">Leaders</span>]]
* [[W. T. Cosgrave]] (1934–44)
+
   | list1  =
* [[Richard Mulcahy]] (1944–59)
+
* [[Eoin O'Duffy|Duffy]]  
* [[James Dillon (Fine Gael politician)|James Dillon]] (1959–65)
+
* [[W. T. Cosgrave|Cosgrave]]  
* [[Liam Cosgrave]] (1965–77)
+
* [[Richard Mulcahy|Mulcahy]]  
* [[Garret FitzGerald]] (1977–87)
+
* [[James Dillon (Fine Gael politician)|Dillon]]  
* [[Alan Dukes]] (1987–90)
+
* [[Liam Cosgrave|Cosgrave]]  
* [[John Bruton]] (1990–2001)
+
* [[Garret FitzGerald|G. FitzGerald]]  
* [[Michael Noonan (Fine Gael politician)|Michael Noonan]] (2001–02)
+
* [[Alan Dukes|Dukes]]  
* [[Enda Kenny]] (2002–17)
+
* [[John Bruton|Bruton]]  
* [[Leo Varadkar]] (2017–present)
+
* [[Michael Noonan (Fine Gael politician)|Noonan]]  
 +
* [[Enda Kenny|Kenny]]  
 +
* [[Leo Varadkar|Varadkar]]
  
 
   |group2 = Deputy leaders
 
   |group2 = Deputy leaders
 
   |list2  =  
 
   |list2  =  
* [[Peter Barry]] (1977–87)
+
* [[Peter Barry|Peter ]]  
* [[John Bruton]] (1987–90)
+
* [[John Bruton|Bruton]]  
* [[Peter Barry]] (1991–93)
+
* [[Peter Barry|Barry]]  
* [[Nora Owen]] (1993–2001)
+
* [[Nora Owen|Owen]]  
* [[Jim Mitchell (politician)|Jim Mitchell]] (2001–02)
+
* [[Jim Mitchell (politician)|Mitchell]]  
* [[Richard Bruton]] (2002–10)
+
* [[Richard Bruton|Bruton]]  
* [[James Reilly (Irish politician)|James Reilly]] (2010–2017)
+
* [[James Reilly (Irish politician)|Reilly]]  
* [[Simon Coveney]] (2017–present)
+
* [[Simon Coveney|Coveney]]  
  
 
   |group3 = [[Seanad Éireann|<span style="color:white;">Seanad leaders</span>]]
 
   |group3 = [[Seanad Éireann|<span style="color:white;">Seanad leaders</span>]]
 
   |list3  =  
 
   |list3  =  
* [[Michael O'Higgins|Michael J. O'Higgins]] (1973–77)
+
* [[Michael O'Higgins|O'Higgins]]  
* [[Patrick Cooney]] (1977–81)
+
* [[Patrick Cooney|Cooney]]  
* [[Gemma Hussey]] (1981–82)
+
* [[Gemma Hussey|Hussey]]
* [[James Dooge]] (1982–87)
+
* [[James Dooge|Dooge]]  
* [[Maurice Manning]], (1987–2002)
+
* [[Maurice Manning|Manning]]
* [[Brian Hayes (politician)|Brian Hayes]] (2002–07)
+
* [[Brian Hayes (politician)|Hayes]]  
* [[Michael Finucane]] (2007) (''acting'')
+
* [[Michael Finucane|Finucane]] (''acting'')
* [[Frances Fitzgerald (politician)|Frances Fitzgerald]] (2007–11)
+
* [[Frances Fitzgerald (politician)|F. Fitzgerald]]
* [[Maurice Cummins]] (2011–2016)
+
* [[Maurice Cummins|Cummins]]  
* [[Jerry Buttimer]] (2016–present)
+
* [[Jerry Buttimer|Buttimer]]  
  
 
   |group4 = Chairpersons
 
   |group4 = Chairpersons
 
   |list4 =  
 
   |list4 =  
* [[Kieran Crotty]] (1977–87)
+
* [[Kieran Crotty|Crotty]]
* [[Donal Creed]] (1987–89)
+
* [[Donal Creed|Creed]]  
* [[Tom Enright]] (1989–93)
+
* [[Tom Enright|Enright]]  
* [[Michael Lowry]] (1993–94)
+
* [[Michael Lowry|Lowry]]  
* [[Jim Higgins (Irish politician)|Jim Higgins]] (1994–95)
+
* [[Jim Higgins (Irish politician)|J. Higgins]]  
* [[Phil Hogan]] (1995–2001)
+
* [[Phil Hogan|Hogan]]
* [[Pádraic McCormack]] (2001–02; 2010–11)
+
* [[Pádraic McCormack|McCormack]]  
* [[Tom Hayes (Irish politician)|Tom Hayes]] (2002–10)
+
* [[Tom Hayes (Irish politician)|Hayes]]  
* [[Charles Flanagan]] (2011–14)
+
* [[Charles Flanagan|Flanagan]]  
* [[Dan Neville]] (2014–2016)
+
* [[Dan Neville|Neville]]  
* [[Martin Heydon]] (2016–present)
+
* [[Martin Heydon|Heydon]]
  
  }}
+
|group5 = Leadership elections
 
+
|abbr5 = Leadership elections
|group3 = Leadership elections
+
|list5 =  
|abbr3 = Leadership elections
 
|list3 =  
 
 
* [[1987 Fine Gael leadership election|1987 (Dukes)]]
 
* [[1987 Fine Gael leadership election|1987 (Dukes)]]
 
* [[1990 Fine Gael leadership election|1990 (Bruton)]]
 
* [[1990 Fine Gael leadership election|1990 (Bruton)]]
Line 88: Line 88:
 
* [[2002 Fine Gael leadership election|2002 (Kenny)]]
 
* [[2002 Fine Gael leadership election|2002 (Kenny)]]
 
* [[2017 Fine Gael leadership election|2017 (Varadkar)]]
 
* [[2017 Fine Gael leadership election|2017 (Varadkar)]]
 +
 +
  }}
  
 
|group4 = [[:Category:Fine Gael|<span style="color:white;">Party structures</span></span>]]  
 
|group4 = [[:Category:Fine Gael|<span style="color:white;">Party structures</span></span>]]  

Revision as of 22:37, 12 February 2020

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Fine Gael|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Fine Gael|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Fine Gael|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.