Difference between revisions of "Template:Heads of State of Libya"

From blackwiki
Jump to navigation Jump to search
imported>Sundostund
imported>Sundostund
Line 4: Line 4:
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| listclass = hlist
 
| listclass = hlist
| image = [[File:Flag of Libya (1951–1969).svg|40px|right|Flag of the Kingdom of Libya]]<br>[[File:Flag of Libya (1969–1972).svg|40px|right|Flag of the Libyan Arab Republic between 1969 and 1972]]<br>[[File:Flag of Libya (1972–1977).svg|40px|right|Flag of the Libyan Arab Republic between 1972 and 1977]]<br>[[File:Flag of Libya (1977–2011).svg|40px|right|Flag of the Great Socialist People's Libyan Arab Jamahiriya]]<br>[[File:Flag of Libya.svg|40px|right|Flag of Libya]]
+
| image = [[File:Flag of Libya (1951–1969).svg|40px|right|Flag of the Kingdom of Libya]]<br>[[File:Flag of Libya (1969–1972).svg|40px|right|Flag of the Libyan Arab Republic between 1969 and 1972]]<br>[[File:Flag of Libya (1972–1977).svg|40px|right|Flag of the Libyan Arab Republic between 1972 and 1977]]<br>[[File:Flag of Libya (1977–2011).svg|40px|right|Flag of the Libyan Arab Jamahiriya]]<br>[[File:Flag of Libya.svg|40px|right|Flag of Libya]]
  
 
| group1 = [[Kingdom of Libya]]<br>(1951–1969)
 
| group1 = [[Kingdom of Libya]]<br>(1951–1969)
Line 18: Line 18:
 
* [[Muammar Gaddafi|Gaddafi]]
 
* [[Muammar Gaddafi|Gaddafi]]
  
| group2 = [[History of Libya under Muammar Gaddafi#Great Socialist People's Libyan Arab Jamahiriya (1977–2011)|Great Socialist People's<br>Libyan Arab Jamahiriya]]<br>(1977–2011)
+
| group2 = [[History of Libya under Muammar Gaddafi#Libyan Arab Jamahiriya (1977–2011)|Libyan Arab Jamahiriya]]<br>(1977–2011)
 
| list2  =  
 
| list2  =  
 
* [[Muammar Gaddafi|Gaddafi]]
 
* [[Muammar Gaddafi|Gaddafi]]

Revision as of 14:24, 22 January 2021

Template documentation

Initial visibility: currently defaults to autocollapse

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

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