Difference between revisions of "Template:Kabul Province"

From blackwiki
Jump to navigation Jump to search
imported>The Banner
m (WPCleaner v1.26 - Repaired 1 link to disambiguation page - (You can help) - Bala Hissar)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
|name    = Kabul Province
 
|name    = Kabul Province
 
|title  = [[File:Flag of Afghanistan.svg|30px]] [[Kabul Province]]
 
|title  = [[File:Flag of Afghanistan.svg|30px]] [[Kabul Province]]
 +
|state      = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|image  =[[Image:Afghanistan-Kabul.png|100px]]
 
|image  =[[Image:Afghanistan-Kabul.png|100px]]
Line 61: Line 62:
 
|below  =  
 
|below  =  
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Afghanistan templates]]
 
[[Category:Afghanistan templates]]
 
</noinclude>
 
</noinclude>

Revision as of 00:22, 23 February 2013

Initial visibility: currently defaults to autocollapse

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

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