Difference between revisions of "Template:Latvian elections"

From blackwiki
Jump to navigation Jump to search
imported>Woohookitty
imported>Sardanaphalus
(more discreet wrapsensitive dividers, more Firefox-compliant linewrap handling, updating category using AWB)
Line 1: Line 1:
 
{{National elections
 
{{National elections
|name = Latvian elections
+
|name = Latvian elections
 
|state = {{{state|}}}
 
|state = {{{state|}}}
|flag = Latvia
+
|flag = Latvia
  
 
|title1 = [[Elections in Latvia|Latvian parliamentary elections]]
 
|title1 = [[Elections in Latvia|Latvian parliamentary elections]]
|list1 = [[Latvian Constituent Assembly election, 1920|1920]] {{!}} [[Latvian parliamentary election, 1922|1922]] {{!}} [[Latvian parliamentary election, 1925|1925]] {{!}} [[Latvian parliamentary election, 1928|1928]] {{!}} [[Latvian parliamentary election, 1931|1931]] {{!}} [[Latvian parliamentary election, 1993|1993]] {{!}} [[Latvian parliamentary election, 1995|1995]] {{!}} [[Latvian parliamentary election, 1998|1998]] {{!}} [[Latvian parliamentary election, 2002|2002]] {{!}} [[Latvian parliamentary election, 2006|2006]]
+
|list1 = <div>
 +
{{nowrap begin}} [[Latvian Constituent Assembly election, 1920|1920]]{{·w}} [[Latvian parliamentary election, 1922|1922]]{{·w}} [[Latvian parliamentary election, 1925|1925]]{{·w}} [[Latvian parliamentary election, 1928|1928]]{{·w}} [[Latvian parliamentary election, 1931|1931]]{{·w}} [[Latvian parliamentary election, 1993|1993]]{{·w}} [[Latvian parliamentary election, 1995|1995]]{{·w}} [[Latvian parliamentary election, 1998|1998]]{{·w}} [[Latvian parliamentary election, 2002|2002]]{{·w}} [[Latvian parliamentary election, 2006|2006]] {{nowrap end}}
 +
</div>
  
 
|title2 = Latvian referendums
 
|title2 = Latvian referendums
|list2 = [[Latvian citizenship referendum, 1998|1998]] {{!}} [[Latvian pensions referendum, 1999|1999]] {{!}} [[Latvian European Union membership referendum, 2003|2003]] {{!}} [[Latvian security laws referendum, 2007|2007]]
+
|list2 = <div>
 +
{{nowrap begin}} [[Latvian citizenship referendum, 1998|1998]]{{·w}} [[Latvian pensions referendum, 1999|1999]]{{·w}} [[Latvian European Union membership referendum, 2003|2003]]{{·w}} [[Latvian security laws referendum, 2007|2007]] {{nowrap end}}
 +
</div>
 
}}<noinclude>
 
}}<noinclude>
[[Category:European election years navigational boxes|Latvia]]
+
<br/>{{collapsible option}}
 +
 
 +
[[Category:Europe election year templates|Latvia]]
 
[[Category:Latvian navigational boxes|elections]]
 
[[Category:Latvian navigational boxes|elections]]
 
</noinclude>
 
</noinclude>

Revision as of 12:27, 14 May 2008

Template:National elections
Initial visibility: currently defaults to autocollapse

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

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