Difference between revisions of "Template:Irish elections"

From blackwiki
Jump to navigation Jump to search
imported>JMHamo
(Remove flag decoration...)
imported>Number 57
(This is standard for election/referendum templates)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name    = Irish elections
 
|name    = Irish elections
|title  = [[Elections in the Republic of Ireland|Elections and referendums in the Republic of Ireland]]
+
|title  = {{flagicon|Ireland}} [[Elections in the Republic of Ireland|Elections and referendums in the Republic of Ireland]]
 
|state  = {{{state|autocollapse}}}
 
|state  = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist

Revision as of 11:32, 29 May 2018

Initial visibility: currently defaults to autocollapse

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

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