Difference between revisions of "Template:Airports in Thailand"

From blackwiki
Jump to navigation Jump to search
Line 7: Line 7:
 
| groupstyle = background:lightsteelblue;
 
| groupstyle = background:lightsteelblue;
  
| group1 = [[Bangkok Metropolitan Region|Metropolitan]] and [[Central Thailand|Central]]
+
| group1 = [[Bangkok Metropolitan Region|Metropolitan]]
 
| list1  =
 
| list1  =
 
* [[Suvarnabhumi Airport|'''Suvarnabhumi (BKK)''']]  
 
* [[Suvarnabhumi Airport|'''Suvarnabhumi (BKK)''']]  
 
* [[Don Mueang International Airport|'''Don Mueang (DMK)''']]
 
* [[Don Mueang International Airport|'''Don Mueang (DMK)''']]
 +
 +
| group2 = [[Central Thailand|Central]]
 +
| list2  =
 
* [[Sukhothai Airport|Sukhothai (THS)]]
 
* [[Sukhothai Airport|Sukhothai (THS)]]
  
| group2 = [[Eastern Thailand|Eastern]]
+
| group3 = [[Eastern Thailand|Eastern]]
| list2 =
+
| list3 =
 
* [[U-Tapao International Airport|'''U-Tapao (UTP)''']]
 
* [[U-Tapao International Airport|'''U-Tapao (UTP)''']]
 
* [[Trat Airport|Trat (TDX)]]  
 
* [[Trat Airport|Trat (TDX)]]  
  
| group3 = [[Western Thailand|Western]]
+
| group4 = [[Western Thailand|Western]]
| list3 =
+
| list4 =
 
* [[Hua Hin Airport|Hua Hin (HHQ)]]
 
* [[Hua Hin Airport|Hua Hin (HHQ)]]
 
* [[Mae Sot Airport|Mae Sot (MAQ)]]
 
* [[Mae Sot Airport|Mae Sot (MAQ)]]
  
| group4 = [[Northern Thailand|Northern]]
+
| group5 = [[Northern Thailand|Northern]]
| list4 =
+
| list5 =
 
* [[Chiang Mai International Airport|'''Chiang Mai (CNX)''']]
 
* [[Chiang Mai International Airport|'''Chiang Mai (CNX)''']]
 
* [[Chiang Rai International Airport|'''Chiang Rai (CEI)''']]
 
* [[Chiang Rai International Airport|'''Chiang Rai (CEI)''']]
Line 34: Line 37:
 
* [[Pai Airport|Pai (PYY)]]
 
* [[Pai Airport|Pai (PYY)]]
  
| group5 = [[Isan|Northeastern]]
+
| group6 = [[Isan|Northeastern]]
| list5 =
+
| list6 =
 
* [[Udon Thani International Airport|Udon Thani (UTH)]]  
 
* [[Udon Thani International Airport|Udon Thani (UTH)]]  
 
* [[Ubon Ratchathani Airport|Ubon Ratchathani (UBP)]]
 
* [[Ubon Ratchathani Airport|Ubon Ratchathani (UBP)]]
Line 47: Line 50:
 
* [[Surin Airport|Surin (PXR)]]
 
* [[Surin Airport|Surin (PXR)]]
  
| group6 = [[Southern Thailand|Southern]]
+
| group7 = [[Southern Thailand|Southern]]
| list6 =
+
| list7 =
 
* [[Phuket International Airport|'''Phuket (HKT)''']]
 
* [[Phuket International Airport|'''Phuket (HKT)''']]
 
* [[Hat Yai International Airport|'''Hat Yai (HDY)''']]
 
* [[Hat Yai International Airport|'''Hat Yai (HDY)''']]
Line 60: Line 63:
 
* [[Trang Airport|Trang (TST)]]
 
* [[Trang Airport|Trang (TST)]]
  
| group7 = {{Nobold|Not in use}}
+
| group8 = {{Nobold|Not in use}}
| list7 =
+
| list8 =
 
* [[Takhli Royal Thai Air Force Base|Nakhon Sawan (TKH)]]  
 
* [[Takhli Royal Thai Air Force Base|Nakhon Sawan (TKH)]]  
 
* [[Pattani Airport|Pattani (PAN)]]
 
* [[Pattani Airport|Pattani (PAN)]]
Line 72: Line 75:
 
* [[Old Chiang Rai Airport|Old Chiang Rai]]
 
* [[Old Chiang Rai Airport|Old Chiang Rai]]
  
| group8 = {{Nobold|Under construction<br>and Proposed}}
+
| group9 = {{Nobold|Under construction<br>and Proposed}}
| list8 =
+
| list9 =
 
* [[Ko Pha Ngan Airport|Ko Pha Ngan]]
 
* [[Ko Pha Ngan Airport|Ko Pha Ngan]]
 
* [[Betong International Airport|Betong]]
 
* [[Betong International Airport|Betong]]

Revision as of 05:01, 4 April 2016

Initial visibility: currently defaults to autocollapse

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

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