Difference between revisions of "Template:Algerian elections"

From blackwiki
Jump to navigation Jump to search
blackwiki>Number 57
(Layout change)
blackwiki>Number 57
(Add other elections)
Line 7: Line 7:
  
 
|group2 = [[Parliament of Algeria|Parliamentary elections]]
 
|group2 = [[Parliament of Algeria|Parliamentary elections]]
|list2  = {{nowrap begin}}[[Algerian legislative election, 1962|1962]]{{·w}} [[Algerian legislative election, 1991|1991]]{{·w}} [[Algerian legislative election, 1997|1997]]{{·w}} [[Algerian legislative election, 2002|2002]]{{·w}} [[Algerian legislative election, 2007|2007]] {{nowrap end}}
+
|list2  = {{nowrap begin}}[[Algerian legislative election, 1962|1962]]{{·w}} [[Algerian legislative election, 1977|1977]]{{·w}} [[Algerian legislative election, 1982|1982]]{{·w}} [[Algerian legislative election, 1987|1987]]{{·w}} [[Algerian legislative election, 1991|1991]]{{·w}} [[Algerian legislative election, 1997|1997]]{{·w}} [[Algerian legislative election, 2002|2002]]{{·w}} [[Algerian legislative election, 2007|2007]] {{nowrap end}}
  
 
|group3 = Referendums
 
|group3 = Referendums
Line 13: Line 13:
  
 
}}<noinclude>
 
}}<noinclude>
<br/>{{collapsible option}}
+
{{collapsible option}}
 
 
 
[[Category:Africa election year templates|Algeria]]
 
[[Category:Africa election year templates|Algeria]]
 
</noinclude>
 
</noinclude>

Revision as of 14:18, 1 May 2009

Initial visibility: currently defaults to autocollapse

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

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