Difference between revisions of "Template:Airports in the Philippines"

From blackwiki
Jump to navigation Jump to search
blackwiki>DASHBot
m (Bot: Bypassing redirects in navboxes, in order to improve article navigability;details/shutoff)
blackwiki>Zyxw
(remove blank line between end of template and <noinclude>, update state parameter to use Template:Navbox default setting (autocollapse if more than 1 navbox) unless state parameter is given)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name  = Airports in the Philippines
+
| name  = Airports in the Philippines
|title  = [[Image:Flag_of_the Philippines.svg|24px]] &nbsp; [[List of airports in the Philippines|Airports in the]] [[Philippines]]
+
| title  = [[Image:Flag_of_the Philippines.svg|24px]] &nbsp; [[List of airports in the Philippines|Airports in the]] [[Philippines]]
|state = uncollapse
+
| state = {{{state<includeonly>|</includeonly>}}}
  
|group1 = International airports
+
| group1 = International airports
|list1  = <div>
+
| list1  = <div>
 
[[Diosdado Macapagal International Airport|Angeles&nbsp;('''CRK''')]]&nbsp;•
 
[[Diosdado Macapagal International Airport|Angeles&nbsp;('''CRK''')]]&nbsp;•
 
[[Mactan-Cebu International Airport|Cebu&nbsp;('''CEB''')]]&nbsp;•
 
[[Mactan-Cebu International Airport|Cebu&nbsp;('''CEB''')]]&nbsp;•
Line 18: Line 18:
 
</div>
 
</div>
  
|group2 = Major domestic airports
+
| group2 = Major domestic airports
|list2  = <div>
+
| list2  = <div>
 
[[Bacolod-Silay Airport|Bacolod&nbsp;('''BCD''')]]&nbsp;•
 
[[Bacolod-Silay Airport|Bacolod&nbsp;('''BCD''')]]&nbsp;•
 
[[Bancasi Airport|Butuan&nbsp;('''BXU''')]]&nbsp;•
 
[[Bancasi Airport|Butuan&nbsp;('''BXU''')]]&nbsp;•
Line 37: Line 37:
 
</div>
 
</div>
  
|group3 = Minor domestic airports
+
| group3 = Minor domestic airports
|list3  = <div>
+
| list3  = <div>
 
[[Tugdan Airport|Alcantara&nbsp;('''TBH''')]]&nbsp;•
 
[[Tugdan Airport|Alcantara&nbsp;('''TBH''')]]&nbsp;•
 
[[Loakan Airport|Baguio&nbsp;('''BAG''')]]&nbsp;•
 
[[Loakan Airport|Baguio&nbsp;('''BAG''')]]&nbsp;•
Line 60: Line 60:
 
</div>
 
</div>
  
|group4 = Community airports
+
| group4 = Community airports
|list4  = <div>
+
| list4  = <div>
 
[[Bagabag Airport|Bagabag&nbsp;('''RPUZ''')]]&nbsp;•
 
[[Bagabag Airport|Bagabag&nbsp;('''RPUZ''')]]&nbsp;•
 
[[Baler Airport|Baler&nbsp;('''BQA''')]]&nbsp;•
 
[[Baler Airport|Baler&nbsp;('''BQA''')]]&nbsp;•
Line 106: Line 106:
 
</div>
 
</div>
  
|group5 = Unclassified and<br>notable aerodromes
+
| group5 = Unclassified and<br>notable aerodromes
|list5  = <div>
+
| list5  = <div>
 
[[Legazpi City International Airport|''Bicol International'']]&nbsp;•
 
[[Legazpi City International Airport|''Bicol International'']]&nbsp;•
 
[[Crow Valley Range Complex|Capas&nbsp;('''RPLQ''')]]&nbsp;•
 
[[Crow Valley Range Complex|Capas&nbsp;('''RPLQ''')]]&nbsp;•
Line 124: Line 124:
 
</div>
 
</div>
  
|below = <small>''Airports in ''italics'' have not yet been opened, are under construction, or are in the planning stages.''</small>
+
| below = <small>''Airports in ''italics'' have not yet been opened, are under construction, or are in the planning stages.''</small>
}}
 
  
<noinclude>
+
}}<noinclude>
 +
{{Collapsible option}}
 
[[Category:Airport templates|Philippines]]
 
[[Category:Airport templates|Philippines]]
 
</noinclude>
 
</noinclude>

Revision as of 07:56, 6 June 2010

Initial visibility: currently defaults to autocollapse

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

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