Difference between revisions of "Template:Balkh Province"

From blackwiki
Jump to navigation Jump to search
imported>Encyclopædius
imported>WOSlinker
(flagdeco)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name    = Balkh Province
 
|name    = Balkh Province
|title  = [[File:Flag of Afghanistan.svg|x18px|link=]] [[Balkh Province]]
+
|title  = {{flagdeco|Afghanistan}} [[Balkh Province]]
 
|state      = {{{state|autocollapse}}}
 
|state      = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|image  =[[File:Balkh in Afghanistan.svg|100px]]
 
|image  =[[File:Balkh in Afghanistan.svg|100px]]
 
|above  ='''[[Capital city|Capital]]''': [[Balkh]]
 
|above  ='''[[Capital city|Capital]]''': [[Balkh]]
|group1  ='''[[Districts of Afghanistan|Districts]]'''
+
|group1  =[[Districts of Afghanistan|Districts]]
 
|list1  =
 
|list1  =
 
*[[Balkh District]]
 
*[[Balkh District]]
Line 29: Line 29:
 
*[[Simorgh Alborz F.C.]]
 
*[[Simorgh Alborz F.C.]]
 
|below  =  
 
|below  =  
}}
+
}}<noinclude>
<noinclude>
 
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Afghanistan province templates]]
 
[[Category:Afghanistan province templates]]
 
</noinclude>
 
</noinclude>

Revision as of 16:48, 5 May 2017

Initial visibility: currently defaults to autocollapse

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

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