Difference between revisions of "Template:Elections in Alsace"

From blackwiki
Jump to navigation Jump to search
imported>Petrovic-Njegos
imported>Number 57
m (→‎top: Fix links after page moves)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name = Elections in Alsace
 
|name = Elections in Alsace
|state = plain
 
 
|title = [[Image:Flag of Alsace.svg|25px]] [[Elections in Alsace|Regional elections in Alsace]]
 
|title = [[Image:Flag of Alsace.svg|25px]] [[Elections in Alsace|Regional elections in Alsace]]
|list1 = [[Alsace regional election, 1986|1986]]{{•}} [[Alsace regional election, 1992|1992]]{{•}} [[Alsace regional election, 1998|1998]]{{•}} [[Alsace regional election, 2004|2004]]
+
|state = {{{state|autocollapse}}}
}}<noinclude>[[Category:France region election year templates|Alsace]]</noinclude>
+
|listclass = hlist
 +
|list1 =
 +
* [[1986 Alsace regional election|1986]]
 +
* [[1992 Alsace regional election|1992]]
 +
* [[1998 Alsace regional election|1998]]
 +
* [[2004 Alsace regional election|2004]]
 +
* [[2010 Alsace regional election|2010]]
 +
* [[2014 Alsace regional election|2014]]
 +
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:France region election year templates|Alsace]]</noinclude>

Latest revision as of 19:49, 9 December 2018

Initial visibility: currently defaults to autocollapse

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

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