Difference between revisions of "Template:Major US Airports"

From blackwiki
Jump to navigation Jump to search
imported>Dicklyon
(style updates)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{collapse_state}}})
Line 2: Line 2:
 
|name  = Major US Airports   
 
|name  = Major US Airports   
 
|title = [[List of airports in the United States#Primary airports|Major airports of the United States]]   
 
|title = [[List of airports in the United States#Primary airports|Major airports of the United States]]   
 +
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|list1 =  
 
|list1 =  
Line 35: Line 36:
 
* Washington, D.C. ([[Washington Dulles International Airport]] – IAD)
 
* Washington, D.C. ([[Washington Dulles International Airport]] – IAD)
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:United States airport templates|*]]
 
[[Category:United States airport templates|*]]
  

Revision as of 04:40, 29 April 2013

Initial visibility: currently defaults to autocollapse

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

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

ca:Plantilla:Principals aeroports dels Estats Units ko:틀:미국의 주요 공항 id:Templat:Bandara utama AS pt:Predefinição:Principais aeroportos dos Estados Unidos ru:Шаблон:Важнейшие аэропорты США simple:Template:Major US Airports vi:Bản mẫu:Các sân bay chính Hoa Kỳ