Difference between revisions of "Template:Indian state templates"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
(update state= parameter + fmt)
imported>Soumya-8974
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Navbox
+
{{Indian State topic
| name = Indian state templates
+
<!---passed through to Template:Navbox generic--->
| title = Navigation boxes of [[States and union territories of India]]
+
|name = Indian state templates
| state = {{{state|autocollapse}}}
+
|title = Navigation boxes of [[states and union territories of India]]
 
+
|state   = {{{state|autocollapse}}}
| bodyclass = hlist
+
|bodystyle = text-align:left;
 
+
|groupstyle = text-align:right; vertical-align:top;
  | group1 = [[Federated state|States]]
+
<!---specific to Template:Indian State topic--->
| list1 =
+
|prefix = Template:
* [[Template:Arunachal Pradesh|Arunachal Pradesh]]
+
|exclude-isl = y
* [[Template:Andhra Pradesh|Andhra Pradesh]]
 
* [[Template:Assam|Assam]]
 
* [[Template:Chhattisgarh|Chhattisgarh]]
 
* [[Template:Goa Topics|Goa]]
 
* [[Template:Gujarat|Gujarat]]
 
* [[Template:Haryana|Haryana]]
 
* [[Template:Himachal Pradesh topics|Himachal Pradesh]]
 
* [[Template:Jharkhand|Jharkhand]]
 
* [[Template:Karnataka topics|Karnataka]]
 
* [[Template:Kerala|Kerala]]
 
* [[Template:State of Madhya Pradesh|Madhya Pradesh]]
 
* [[Template:Maharashtra|Maharashtra]]
 
* [[Template:Manipur|Manipur]]
 
* [[Template:Meghalaya|Meghalaya]]
 
* [[Template:Mizoram|Mizoram]]
 
* [[Template:Nagaland|Nagaland]]
 
* [[Template:Odisha|Odisha]]
 
* [[Template:Punjab, India|Punjab]]
 
* [[Template:Rajasthan|Rajasthan]]
 
* [[Template:Sikkim|Sikkim]]
 
* [[Template:Tamil Nadu|Tamil Nadu]]
 
* [[Template:Telangana|Telangana]]
 
* [[Template:Tripura|Tripura]]
 
* [[Template:Uttar Pradesh|Uttar Pradesh]]
 
* [[Template:Uttarakhand|Uttarakhand]]
 
* [[Template:West Bengal topics|West Bengal]]
 
 
 
| group2 = [[Union territory|Union territories]]
 
| list2 =
 
* [[Template:Union Territory of the Andaman and Nicobar Islands|Andaman and Nicobar Islands]]
 
* [[Template:City of Chandigarh|Chandigarh]]
 
* [[Template:Dadra and Nagar Haveli and Daman and Diu|Dadra and Nagar Haveli and Daman and Diu]]
 
* [[Template:Delhi|National Capital Territory of Delhi]]
 
* [[Template:Jammu and Kashmir topics|Jammu and Kashmir]]
 
* [[Template:Ladakh|Ladakh]]
 
* [[Template:Puducherry|Puducherry]]
 
 
 
 
}}<noinclude>
 
}}<noinclude>
{{doc|content=
 
 
{{collapsible option}}
 
{{collapsible option}}
  
 
[[Category:India templates]]
 
[[Category:India templates]]
 
+
</noinclude>
}}</noinclude>
 

Latest revision as of 18:00, 21 December 2020

Initial visibility: currently defaults to autocollapse

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

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