Difference between revisions of "Template:Arab–Israeli conflict"

From blackwiki
Jump to navigation Jump to search
blackwiki>Sardanaphalus
(state handling, subtemplate titles)
blackwiki>Sardanaphalus
(Navbox with collapsible sections, Documentation (Collapsible sections option, Collapsible option, category))
Line 1: Line 1:
{{Navbox
+
{{Navbox with collapsible groups
 
| name = Arab–Israeli conflict
 
| name = Arab–Israeli conflict
| state = {{{state|{{{1|<noinclude>expanded</noinclude>}}}}}}
+
| state = {{{state|<noinclude>expanded</noinclude>}}}
 
| title = [[Arab–Israeli conflict]]
 
| title = [[Arab–Israeli conflict]]
 
| listclass = hlist
 
| listclass = hlist
 +
| selected = {{{selected|{{{expanded|{{{1|}}}}}}}}}
  
| list1 = {{Arab-Israeli conflict participants|child |title={{hlist|Countries|Authorities|Organizations}}}}
+
|abbr1=CAO    |content1={{Arab-Israeli conflict participants|child |title={{hlist|Countries|Authorities|Organizations}}}}
| list2 = {{People involved in the Arab-Israeli conflict|child |title=People}}
+
|abbr2=people |content2={{People involved in the Arab-Israeli conflict|child |title=People}}
| list3 = {{Arab–Israeli armed engagements|child |title=Armed engagements}}
+
|abbr3=armed  |content3={{Arab–Israeli armed engagements|child |title=Armed engagements}}
| list4 = {{Arab–Israeli diplomacy|child |title=Diplomacy and [[List of Middle East peace proposals|peace proposals]]}}
+
|abbr4=diplomacy |content4={{Arab–Israeli diplomacy|child |title=Diplomacy and [[List of Middle East peace proposals|peace proposals]]}}
  
 
}}<noinclude>
 
}}<noinclude>
{{Documentation}}
+
{{Documentation
 +
| content =
 +
{{Collapsible sections option |list={{hlist|CAO|people|armed|diplomacy}}}}
 +
{{Collapsible option}}
 +
 
 +
[[Category:Arab-Israeli conflict navigational boxes| ]]
 +
}}<!--(end Documentation)-->
 
</noinclude>
 
</noinclude>

Revision as of 15:06, 2 November 2014

50px Template documentation
How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
    • CAO
    • people
    • armed
    • diplomacy

Initial visibility: currently defaults to autocollapse

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

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