Difference between revisions of "Template:Governorates of Iraq"

From blackwiki
Jump to navigation Jump to search
imported>Mahmoudalrawi
imported>Jprg1966
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name = Governorates of Iraq
 
|name = Governorates of Iraq
|title = [[Governorates of Iraq|Governorates]] of [[Iraq]]
+
|title = [[Governorates of Iraq]]
 
|state    = {{{state|autocollapse}}}
 
|state    = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
|image = [[Image:Flag of Iraq.svg|50px|Flag of Iraq]]
+
|image = [[File:Flag of Iraq.svg|50px|Flag of Iraq]]
 
|list1 =
 
|list1 =
 
* [[Al Anbar Governorate|Anbar]]
 
* [[Al Anbar Governorate|Anbar]]
* [[Babil Governorate|Babylon]]
+
* [[Babil Governorate|Babil]]
 
* [[Baghdad Governorate|Baghdad]]
 
* [[Baghdad Governorate|Baghdad]]
 
* [[Basra Governorate|Basra]]
 
* [[Basra Governorate|Basra]]
Line 22: Line 22:
 
* [[Nineveh Governorate|Nineveh]]
 
* [[Nineveh Governorate|Nineveh]]
 
* [[Al-Qādisiyyah Governorate|Qadisiyyah]]
 
* [[Al-Qādisiyyah Governorate|Qadisiyyah]]
* [[Salah ad Din Governorate|Saladin]]
+
* [[Saladin Governorate|Saladin]]
 
* [[Sulaymaniyah Governorate|Sulaymaniyah]]
 
* [[Sulaymaniyah Governorate|Sulaymaniyah]]
 
* [[Wasit Governorate|Wasit]]
 
* [[Wasit Governorate|Wasit]]

Latest revision as of 03:13, 18 June 2019

Initial visibility: currently defaults to autocollapse

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

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