Difference between revisions of "Template:Heads of government of Ireland"

From blackwiki
Jump to navigation Jump to search
imported>Spleodrach
(updated)
imported>Iveagh Gardens
(merged President of Dáil and President of Republic; added Cosgrave to that section)
Line 1: Line 1:
 
{{Navbox with collapsible groups
 
{{Navbox with collapsible groups
 
| name  = Heads of government of Ireland
 
| name  = Heads of government of Ireland
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
+
| state = autocollapse
 
| title = [[Taoiseach|{{{1|Taoisigh of Ireland}}}]]
 
| title = [[Taoiseach|{{{1|Taoisigh of Ireland}}}]]
 
| listclass = hlist
 
| listclass = hlist
Line 26: Line 26:
 
| list2 = {{navbox|child
 
| list2 = {{navbox|child
  
| group3 = [[President of the Executive Council of the Irish Free State|President of the Executive Council]] (1922–37)
+
| group1 = [[President of the Executive Council of the Irish Free State|President of the Executive Council]] (1922–37)
| list3 =
+
| list1 =
 
* [[W. T. Cosgrave]]
 
* [[W. T. Cosgrave]]
 
* [[Éamon de Valera]]
 
* [[Éamon de Valera]]
  
| group4 = [[Chairman of the Provisional Government of the Irish Free State|Chairman of the Provisional Government]] (1922)
+
| group2 = [[Chairman of the Provisional Government of the Irish Free State|Chairman of the Provisional Government]] (1922)
| list4 =
+
| list2 =
 
* [[Michael Collins (Irish leader)|Michael Collins]]
 
* [[Michael Collins (Irish leader)|Michael Collins]]
 
* [[W. T. Cosgrave]]
 
* [[W. T. Cosgrave]]
  
| group5 = [[President of the Irish Republic]] (1921–22)
+
| group3 = [[President of Dáil Éireann]] or <br />President of the Irish Republic (1919–22)
| list5 =
+
| list3 =
 +
* [[Cathal Brugha]]
 
* [[Éamon de Valera]]
 
* [[Éamon de Valera]]
 
* [[Arthur Griffith]]
 
* [[Arthur Griffith]]
 
+
* [[W. T. Cosgrave]]
| group6 = [[President of Dáil Éireann]] (1919–21)
 
| list6  =
 
* [[Cathal Brugha]]
 
* [[Éamon de Valera]]
 
 
}}
 
}}
 
}}<noinclude>
 
}}<noinclude>

Revision as of 10:41, 6 September 2019

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Heads of government of Ireland|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Heads of government of Ireland|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Heads of government of Ireland|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.