Difference between revisions of "Template:Amethi district"

From blackwiki
Jump to navigation Jump to search
blackwiki>Fayenatic london
(Remove second list of other districts, not needed in a template on Amethi district)
blackwiki>Harsh7422
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name  = Amethi district
 
|name  = Amethi district
|title = Cities and towns in [[Amethi district]]
+
|title = [[Amethi district]]
 
|state    = {{{state|autocollapse}}}
 
|state    = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|groupstyle = line-height:1.1em;
 
|groupstyle = line-height:1.1em;
  
|group1 = Amethi
+
|group1 = Towns
 
|list1  =  
 
|list1  =  
 
* [[Amethi]]
 
* [[Amethi]]
Line 15: Line 15:
 
* [[Musafirkhana]]
 
* [[Musafirkhana]]
 
* [[Salon, India|Salon]]
 
* [[Salon, India|Salon]]
 
+
|group2 = Institutes
 +
|list2 =
 +
* [[Rajiv Gandhi Institute of Petroleum Technology]]
 +
* [[Indian Institute of Information Technology]]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Uttar Pradesh district templates]]
 
[[Category:Uttar Pradesh district templates]]
 
</noinclude>
 
</noinclude>

Revision as of 18:36, 13 May 2017

Initial visibility: currently defaults to autocollapse

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

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