Difference between revisions of "Template:Lists of Swedish Parliament members"

From blackwiki
Jump to navigation Jump to search
imported>Smartskaft
imported>Smartskaft
Line 1: Line 1:
 
{{navbox
 
{{navbox
|title = Lists of members of the Swedish Parliament (''Riksdag'')
+
|title = Lists of members of the Riksdag
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|bodyclass = hlist
 
|bodyclass = hlist
 
|name = Lists of Swedish Parliament members
 
|name = Lists of Swedish Parliament members
 
|image = [[File:Flag of Sweden.svg|25px|Flag of Sweden]]
 
|image = [[File:Flag of Sweden.svg|25px|Flag of Sweden]]
|group1 = [[Första Kammaren|Första kammaren]]  (1866–1970)<br><small>(upper house of the Swedish Parliament)</small>
+
|group1 = [[Första kammaren]]  (1866–1970)<br><small>(upper house of the Riksdag)</small>
 
|list1 =
 
|list1 =
 
*[[List of members of the upper house of the Riksdag|all]]
 
*[[List of members of the upper house of the Riksdag|all]]
|group2 = [[Andra Kammaren|Andra kammaren]]  (1866–1970)<br><small>(lower house of the Swedish Parliament)</small>
+
|group2 = [[Andra kammaren]]  (1866–1970)<br><small>(lower house of the Riksdag)</small>
 
|list2 =
 
|list2 =
 
*[[List of members of the lower house of the Riksdag|all]]
 
*[[List of members of the lower house of the Riksdag|all]]

Revision as of 20:41, 13 January 2015

Initial visibility: currently defaults to autocollapse

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

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