Difference between revisions of "Template:Airports in Serbia"

From blackwiki
Jump to navigation Jump to search
blackwiki>F382d56d7a18630cf764a5b576ea1b4810467238
(fix link)
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
|name  = Airports in Serbia
 
|name  = Airports in Serbia
 
|title  = [[List of airports in Serbia|Airports]] in [[Serbia]] (with [[Kosovo]])
 
|title  = [[List of airports in Serbia|Airports]] in [[Serbia]] (with [[Kosovo]])
 +
|state  = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|liststyle = text-align:center;
 
|liststyle = text-align:center;
Line 58: Line 59:
 
|belowstyle = padding:0.2em; line-height:1.3em;
 
|belowstyle = padding:0.2em; line-height:1.3em;
 
|below = {{smallsup|1}} In Kosovo. {{Kosovo-note}}
 
|below = {{smallsup|1}} In Kosovo. {{Kosovo-note}}
}}<noinclude>  
+
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Airport templates|Serbia]]
 
[[Category:Airport templates|Serbia]]
 
[[Category:Serbia transport templates]]
 
[[Category:Serbia transport templates]]
  
 
</noinclude>
 
</noinclude>

Revision as of 17:46, 26 March 2013

Initial visibility: currently defaults to autocollapse

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

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