Difference between revisions of "Template:IsraelDefenseMin"

From blackwiki
Jump to navigation Jump to search
imported>EmausBot
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
|name  = IsraelDefenseMin
 
|name  = IsraelDefenseMin
 
|title = [[Ministry of Defense (Israel)#Minister of Defense|Defense Ministers of Israel]] {{flagicon|Israel}}
 
|title = [[Ministry of Defense (Israel)#Minister of Defense|Defense Ministers of Israel]] {{flagicon|Israel}}
 +
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|image = [[Image:Coat of arms of Israel.svg|40px]]
 
|image = [[Image:Coat of arms of Israel.svg|40px]]
Line 27: Line 28:
 
* [[Amir Peretz|Peretz]] (2006–07)
 
* [[Amir Peretz|Peretz]] (2006–07)
 
* [[Ehud Barak|Barak]] (2007–)
 
* [[Ehud Barak|Barak]] (2007–)
}}<noinclude>[[Category:Israel political leader templates|Defense Ministers]]
+
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Israel political leader templates|Defense Ministers]]
 
[[cs:Šablona:Ministři obrany Izraele]]
 
[[cs:Šablona:Ministři obrany Izraele]]
 
[[he:תבנית:שרי הביטחון]]
 
[[he:תבנית:שרי הביטחון]]

Revision as of 01:52, 21 December 2012

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{IsraelDefenseMin|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{IsraelDefenseMin|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{IsraelDefenseMin|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. cs:Šablona:Ministři obrany Izraele he:תבנית:שרי הביטחון ka:თარგი:ისრაელის თავდაცვის მინისტრები ru:Шаблон:Министры обороны Израиля yi:מוסטער:פארטיידיגונג מיניסטארן אין ישראל