Difference between revisions of "Template:Airports in Libya"

From blackwiki
Jump to navigation Jump to search
blackwiki>Editør
(grouping according to article standards)
Line 2: Line 2:
 
| name  = Airports in Libya
 
| name  = Airports in Libya
 
| state = {{#if: {{{state|}}} | {{{state}}} | autocollapse }}
 
| state = {{#if: {{{state|}}} | {{{state}}} | autocollapse }}
| title = [[List of airports in Libya|Main airports]] in [[Libya]]
+
| title = [[List of airports in Libya|Airports]] in [[Libya]]
 
| listclass = hlist
 
| listclass = hlist
| list1 =
+
 
 +
| group1 = International
 +
| list1 =
 
* [[Al Abraq International Airport|Bayda]]
 
* [[Al Abraq International Airport|Bayda]]
 
* [[Benina International Airport|Benghazi]]
 
* [[Benina International Airport|Benghazi]]
* [[Ghadames Airport|Ghadames]]
 
* [[Ghat Airport|Ghat]]
 
* [[Kufra Airport|Kufra]]
 
 
* [[Misrata Airport|Misrata]]
 
* [[Misrata Airport|Misrata]]
 
* [[Sabha Airport|Sabha]]
 
* [[Sabha Airport|Sabha]]
Line 16: Line 15:
 
* [[Tripoli International Airport|Tripoli]]
 
* [[Tripoli International Airport|Tripoli]]
 
* [[Mitiga International Airport|Tripoli-Mitiga]]
 
* [[Mitiga International Airport|Tripoli-Mitiga]]
 +
 +
| group2 = Domestic
 +
| list2  =
 +
* [[Ghadames Airport|Ghadames]]
 +
* [[Ghat Airport|Ghat]]
 +
* [[Kufra Airport|Kufra]]
 
* [[Ubari Airport|Ubari]]
 
* [[Ubari Airport|Ubari]]
 +
 
}}<noinclude>
 
}}<noinclude>
 
<br />{{collapsible option}}
 
<br />{{collapsible option}}

Revision as of 14:03, 9 September 2018


Initial visibility: currently defaults to autocollapse

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

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