Difference between revisions of "Template:Districts of Maharashtra"

From blackwiki
Jump to navigation Jump to search
imported>Good Olfactory
(avoid redirect)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 1: Line 1:
 
{{Navbox |name = Districts of Maharashtra |title=[[Divisions of Maharashtra|Divisions]] and [[Districts of Maharashtra|Districts]] of [[Maharashtra]]  
 
{{Navbox |name = Districts of Maharashtra |title=[[Divisions of Maharashtra|Divisions]] and [[Districts of Maharashtra|Districts]] of [[Maharashtra]]  
 +
|state  = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|group1=[[Amravati division]]  
 
|group1=[[Amravati division]]  
Line 46: Line 47:
 
* [[Solapur district|Solapur]]
 
* [[Solapur district|Solapur]]
  
}}<noinclude> [[Category:India district templates]]
+
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:India district templates]]
 
[[bn:টেমপ্লেট:মহারাষ্ট্রের জেলা]]
 
[[bn:টেমপ্লেট:মহারাষ্ট্রের জেলা]]
 
[[hi:साँचा:महाराष्ट्र के जिले]]
 
[[hi:साँचा:महाराष्ट्र के जिले]]
 
[[new:Template:महाराष्ट्रया जिल्ला]] </noinclude>
 
[[new:Template:महाराष्ट्रया जिल्ला]] </noinclude>

Revision as of 05:14, 20 February 2013

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Districts of Maharashtra|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Districts of Maharashtra|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Districts of Maharashtra|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. bn:টেমপ্লেট:মহারাষ্ট্রের জেলা hi:साँचा:महाराष्ट्र के जिले new:Template:महाराष्ट्रया जिल्ला