Difference between revisions of "Template:Israeli wars"

From blackwiki
Jump to navigation Jump to search
imported>Mikrobølgeovn
(Year correction)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
|name    = Israeli wars
 
|name    = Israeli wars
 
|title  = [[Wars involving Israel|Recognized wars involving the Israeli Defense Forces]]
 
|title  = [[Wars involving Israel|Recognized wars involving the Israeli Defense Forces]]
|state  = collapsed
+
|state  = {{{state<includeonly>|collapsed</includeonly>}}}
 
|width  = 80%
 
|width  = 80%
 
|padding = 10em
 
|padding = 10em
Line 15: Line 15:
 
|col7 = [[2006 Lebanon War]]<br />2006
 
|col7 = [[2006 Lebanon War]]<br />2006
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Israel war and conflict navigational boxes]]
 
[[Category:Israel war and conflict navigational boxes]]
 
[[Category:Wars involving Israel]]
 
[[Category:Wars involving Israel]]

Revision as of 04:56, 19 December 2012

Initial visibility: currently defaults to autocollapse

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

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

fa:الگو:جنگ‌های اسرائیل he:תבנית:מלחמות ישראל