Difference between revisions of "Template:Airports in Indiana"

From blackwiki
Jump to navigation Jump to search
blackwiki>Cydebot
m (Robot - Speedily moving category Indiana Transportation Templates to Category:Indiana transportation templates per CFDS.)
blackwiki>Zyxw
(add "state" parameter)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name  = Airports in Indiana
+
| name  = Airports in Indiana
|title = Airports in [[Indiana]]
+
| title = Airports in [[Indiana]]
|listclass = hlist
+
| state = {{#if: {{{state|}}} | {{{state}}} | autocollapse }}
 +
| listclass = hlist
  
|group1 = Primary
+
| group1 = Primary
|list1 =  
+
| list1 =  
 
* [[Evansville Regional Airport]]
 
* [[Evansville Regional Airport]]
 
* [[Fort Wayne International Airport]]
 
* [[Fort Wayne International Airport]]
Line 11: Line 12:
 
* [[South Bend Regional Airport]]
 
* [[South Bend Regional Airport]]
  
|group2 = [[Relief airport|Relief]]
+
| group2 = [[Relief airport|Relief]]
|list2 =  
+
| list2 =  
 
* [[Clark Regional Airport]]
 
* [[Clark Regional Airport]]
 
* [[Griffith-Merrillville Airport]]
 
* [[Griffith-Merrillville Airport]]
Line 21: Line 22:
 
* [[Indianapolis Regional Airport|Indianapolis Regional (Mount Comfort) Airport]]
 
* [[Indianapolis Regional Airport|Indianapolis Regional (Mount Comfort) Airport]]
  
|group3 = General
+
| group3 = General
|list3 =  
+
| list3 =  
 
* [[Anderson Municipal Airport]]
 
* [[Anderson Municipal Airport]]
 
* [[Arens Field]]
 
* [[Arens Field]]
Line 78: Line 79:
 
* [[White County Airport]]
 
* [[White County Airport]]
  
|below = [[List of airports in Indiana]]
+
| below = [[List of airports in Indiana]]
 
}}<noinclude>
 
}}<noinclude>
 +
<br />{{collapsible option}}
 +
 
[[Category:Indiana transportation templates]]
 
[[Category:Indiana transportation templates]]
 
[[Category:Airports in Indiana| ]]
 
[[Category:Airports in Indiana| ]]
 
[[Category:United States airport templates|Indiana]]
 
[[Category:United States airport templates|Indiana]]
 
<noinclude>
 
<noinclude>

Revision as of 16:06, 8 July 2012


Initial visibility: currently defaults to autocollapse

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

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