Difference between revisions of "Template:Airports in Montenegro"

From blackwiki
Jump to navigation Jump to search
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
(updated according to article standards)
Line 4: Line 4:
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
|liststyle = text-align:center;
 
 
|image  = [[File:Coat of arms of Montenegro.svg|25px|right|Coat of arms of Montenegro]]
 
  
 
|group1 = International
 
|group1 = International
Line 13: Line 10:
 
* [[Tivat Airport]]
 
* [[Tivat Airport]]
  
|group2 = Domestic
+
|group2 = Military
 
|list2  =  
 
|list2  =  
 +
* [[Podgorica Airbase]]
 +
 +
|group3 = Unscheduled
 +
|list3  =
 +
<small>
 
* [[Dolac Airport|Berane&ndash;Dolac]]
 
* [[Dolac Airport|Berane&ndash;Dolac]]
 
* [[Špiro Mugoša Airport|Podgorica&ndash;Špiro Mugoša]]
 
* [[Špiro Mugoša Airport|Podgorica&ndash;Špiro Mugoša]]
Line 20: Line 22:
 
* [[Ulcinj Airport|Ulcinj]]
 
* [[Ulcinj Airport|Ulcinj]]
 
* [[Žabljak Airport|Žabljak]]
 
* [[Žabljak Airport|Žabljak]]
 
+
<small/>
|group3 = Military
 
|list3  =
 
* [[Podgorica Airbase]]
 
  
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 +
 
[[Category:Airport templates|Montenegro]]
 
[[Category:Airport templates|Montenegro]]
 
[[Category:Montenegro templates]]
 
[[Category:Montenegro templates]]
 
</noinclude>
 
</noinclude>

Revision as of 21:19, 13 August 2013

Initial visibility: currently defaults to autocollapse

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

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