Difference between revisions of "Template:Budapest"

From blackwiki
Jump to navigation Jump to search
imported>RuthStevens
imported>Frietjes
Line 3: Line 3:
 
| title    = [[File:Coa Hungary Town Budapest big.svg|25px]] [[Budapest]]
 
| title    = [[File:Coa Hungary Town Budapest big.svg|25px]] [[Budapest]]
 
| state        = {{{state<includeonly>|autocollapse</includeonly>}}}
 
| state        = {{{state<includeonly>|autocollapse</includeonly>}}}
| listclass = hlist
+
| bodyclass = hlist
| basestyle = background: ;
 
  
 
| image = [[File:Coa Hungary Town Budapest big.svg|border|150px|Coat of arms Budapest]]
 
| image = [[File:Coa Hungary Town Budapest big.svg|border|150px|Coat of arms Budapest]]
  
 
|group1= [[List of sights and historic places in Budapest|Landmarks]]
 
|group1= [[List of sights and historic places in Budapest|Landmarks]]
|groupstyle =
+
|list1 = {{Navbox|subgroup
|list1 = {{Navbox subgroup
 
 
|groupstyle = text-align: left;background-color: #eee;
 
|groupstyle = text-align: left;background-color: #eee;
  
Line 245: Line 243:
 
* [[Budapest-Nyugati Railway Terminal|Western Railway Station]]
 
* [[Budapest-Nyugati Railway Terminal|Western Railway Station]]
  
|belowclass = hlist
 
 
|below =  
 
|below =  
 
* {{icon|list}} '''[[History of Budapest]]'''
 
* {{icon|list}} '''[[History of Budapest]]'''

Revision as of 22:19, 29 August 2017

Initial visibility: currently defaults to autocollapse

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

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