Difference between revisions of "Template:Iraqi elections"

From blackwiki
Jump to navigation Jump to search
imported>Nightstallion
imported>Sardanaphalus
(more discreet wrapsensitive dividers, more Firefox-compliant linewrap handling, updating category using AWB)
Line 1: Line 1:
 
{{National elections
 
{{National elections
|name = Iraqi elections
+
|name = Iraqi elections
 
|state = {{{state|}}}
 
|state = {{{state|}}}
|flag = Iraq
+
|flag = Iraq
  
 
|title1 = [[Elections in Iraq|Iraqi parliamentary elections]]
 
|title1 = [[Elections in Iraq|Iraqi parliamentary elections]]
|list1 = [[Iraqi parliamentary election, 1924|1924]] {{!}} [[Iraqi parliamentary election, 1953|1953]] {{!}} [[Iraqi parliamentary election, 1954|1954]] {{!}} [[Iraqi parliamentary election, 1958|1958]] {{!}} [[Iraqi parliamentary election, 1980|1980]] {{!}} [[Iraqi parliamentary election, 1989|1989]] {{!}} [[Iraqi parliamentary election, 1996|1996]] {{!}} [[Iraqi parliamentary election, 2000|2000]] {{!}} [[Iraqi legislative election, January 2005|2005 (Jan)]] {{!}} [[Iraqi legislative election, December 2005|2005 (Dec)]] {{!}} [[Iraqi legislative election, 2009|''2009'']]
+
|list1 = <div>
 +
{{nowrap begin}} [[Iraqi parliamentary election, 1924|1924]]{{·w}} [[Iraqi parliamentary election, 1953|1953]]{{·w}} [[Iraqi parliamentary election, 1954|1954]]{{·w}} [[Iraqi parliamentary election, 1958|1958]]{{·w}} [[Iraqi parliamentary election, 1980|1980]]{{·w}} [[Iraqi parliamentary election, 1989|1989]]{{·w}} [[Iraqi parliamentary election, 1996|1996]]{{·w}} [[Iraqi parliamentary election, 2000|2000]]{{·w}} [[Iraqi legislative election, January 2005|2005 (Jan)]]{{·w}} [[Iraqi legislative election, December 2005|2005 (Dec)]]{{·w}} [[Iraqi legislative election, 2009|''2009'']] {{nowrap end}}
 +
</div>
  
 
|title2 = [[Elections in Iraq|Iraqi presidential elections]]
 
|title2 = [[Elections in Iraq|Iraqi presidential elections]]
|list2 = [[Iraqi presidential election, 1995|1995]] {{!}} [[Iraqi presidential election, 2002|2002]]
+
|list2 = <div>
 +
{{nowrap begin}} [[Iraqi presidential election, 1995|1995]]{{·w}} [[Iraqi presidential election, 2002|2002]] {{nowrap end}}
 +
</div>
  
 
|title3 = Iraqi referendums
 
|title3 = Iraqi referendums
|list3 = [[Iraqi monarchy referendum, 1921|1921]] {{!}} [[Iraqi constitutional referendum, 2005|2005]]
+
|list3 = <div>
}}<noinclude>[[Category:Middle Eastern election years navigational boxes|Iraq]]</noinclude>
+
{{nowrap begin}} [[Iraqi monarchy referendum, 1921|1921]]{{·w}} [[Iraqi constitutional referendum, 2005|2005]] {{nowrap end}}
 +
</div>
 +
}}<noinclude>
 +
<br/>{{collapsible option}}
 +
 
 +
[[Category:Middle East election year templates|Iraq]]
 +
</noinclude>

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