Difference between revisions of "Template:History of Iraq by period"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Fayenatic london
(Sasanian Empire)
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
 
|list1 =  
 
|list1 =  
 
* [[:Category:Ancient history of Iraq|Ancient]]
 
* [[:Category:Ancient history of Iraq|Ancient]]
* [[:Category:Medieval Iraq |Medieval]] ([[:Category:Iraq under the Umayyad Caliphate|Umayyads]]
+
* [[:Category:Medieval Iraq |Medieval]] ([[:Category:Sasanian Empire|Sasanian]]
 +
* [[:Category:Iraq under the Umayyad Caliphate|Umayyads]]
 
* [[:Category:Iraq under the Abbasid Caliphate|Abbasids]])
 
* [[:Category:Iraq under the Abbasid Caliphate|Abbasids]])
 
* [[:Category:Ottoman Iraq|Ottoman]]
 
* [[:Category:Ottoman Iraq|Ottoman]]
 
* [[:Category:Modern history of Iraq|Modern]]
 
* [[:Category:Modern history of Iraq|Modern]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{doc|content=
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Iraq templates|History]]
 
[[Category:Iraq templates|History]]
 
[[Category:History of Iraq by period|τ]]
 
[[Category:History of Iraq by period|τ]]
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 20:36, 22 April 2017

Template documentation

Initial visibility: currently defaults to autocollapse

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

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