Difference between revisions of "Template:Airports in Austria"

From blackwiki
Jump to navigation Jump to search
blackwiki>Darafsh
blackwiki>Zyxw
(add "state" parameter)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Airports in Austria
+
| name = Airports in Austria
|title = {{flagicon|Austria}} [[List of airports in Austria|Airports]] in [[Austria]]
+
| state = {{#if: {{{state|}}} | {{{state}}} | autocollapse }}
|listclass = hlist
+
| title = {{flagicon|Austria}} [[List of airports in Austria|Airports]] in [[Austria]]
|image = [[File:Lentoasema 673 up.svg|20px]]
+
| image = [[File:Lentoasema 673 up.svg|20px]]
|imageleft = [[File:Lentoasema 673 up.svg|20px]]
+
| imageleft = [[File:Lentoasema 673 up.svg|20px]]
|list1=
+
| listclass = hlist
 +
| list1=
 
* [[Graz Airport|Graz]]
 
* [[Graz Airport|Graz]]
 
* [[Innsbruck Airport|Innsbruck]]
 
* [[Innsbruck Airport|Innsbruck]]
Line 15: Line 16:
 
* [[Wiener Neustadt East Airport|Wiener Neustadt]]
 
* [[Wiener Neustadt East Airport|Wiener Neustadt]]
 
}}<noinclude>
 
}}<noinclude>
 +
<br />{{collapsible option}}
 +
 
[[Category:Airport templates|Austria]]
 
[[Category:Airport templates|Austria]]
 
[[Category:Austria transport templates]]
 
[[Category:Austria transport templates]]

Revision as of 16:04, 2 July 2012


Initial visibility: currently defaults to autocollapse

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

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

de:Vorlage:Navigationsleiste Flughafen (Österreich) fa:الگو:فرودگاه‌های اتریش it:Template:Aeroporti in Austria pl:Szablon:Austriackie porty lotnicze zh:Template:奥地利机场