Difference between revisions of "Template:Airports in Belarus"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
(add "state" parameter)
m (20 revisions imported)
 
(14 intermediate revisions by 13 users not shown)
Line 2: Line 2:
 
| name  = Airports in Belarus
 
| name  = Airports in Belarus
 
| state = {{#if: {{{state|}}} | {{{state}}} | autocollapse }}
 
| state = {{#if: {{{state|}}} | {{{state}}} | autocollapse }}
| title = {{flagicon|Belarus}} [[List of airports in Belarus|Airports]] in [[Belarus]]
+
| title = [[List of airports in Belarus|Airports]] in [[Belarus]]
| image = [[File:Lentoasema 673 up.svg|20px]]
 
| imageleft = [[File:Lentoasema 673 up.svg|20px]]
 
 
| listclass = hlist
 
| listclass = hlist
| list1 =
+
| image =
 +
 
 +
|group1 = Major International
 +
|list1 =
 +
* [[Minsk National Airport|Minsk]]
 +
 
 +
|group2 = Minor International
 +
|list2  =  
 
* [[Brest Airport|Brest]]
 
* [[Brest Airport|Brest]]
 
* [[Gomel Airport|Gomel]]
 
* [[Gomel Airport|Gomel]]
* [[Hrodna Airport|Hrodna]]
+
* [[Grodno Airport|Grodno]]
* [[Minsk-1 Airport|Minsk-1]]
 
* [[Minsk International Airport|Minsk International]]
 
 
* [[Mogilev Airport|Mogilev]]
 
* [[Mogilev Airport|Mogilev]]
 +
* [[Vitebsk Vostochny Airport|Vitebsk Vostochny]]
 +
 +
|group3 = Unscheduled
 +
|list3  =
 +
<small>
 
* [[Polotsk Airport|Polotsk]]
 
* [[Polotsk Airport|Polotsk]]
* [[Vitebsk Vostochny Airport|Vitebsk]]
+
</small>
 +
 
 
}}<noinclude>
 
}}<noinclude>
 
<br />{{collapsible option}}
 
<br />{{collapsible option}}
Line 20: Line 29:
 
[[Category:Airport templates|Belarus]]
 
[[Category:Airport templates|Belarus]]
 
[[Category:Belarus transport templates]]
 
[[Category:Belarus transport templates]]
 +
 
</noinclude>
 
</noinclude>

Latest revision as of 14:51, 18 October 2020


Initial visibility: currently defaults to autocollapse

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

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