Difference between revisions of "Template:Barcelona landmarks"

From blackwiki
Jump to navigation Jump to search
imported>No such user
m (Link Montjuïc Castle over redirect)
imported>KingSkyLord
m
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
| bodyclass = hlist
 
| bodyclass = hlist
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
| image = [[File:Flag of Barcelona.svg|50px|MTR Logo]]
+
| image =  
  
 
| group1 = Beaches
 
| group1 = Beaches
Line 80: Line 80:
  
 
| group3 = [[List of museums in Barcelona|Museums]]
 
| group3 = [[List of museums in Barcelona|Museums]]
| list3 =
+
| list3 =[[File:Flag of Barcelona.svg|50px|right]]
 
* [[Archaeology Museum of Catalonia]]
 
* [[Archaeology Museum of Catalonia]]
 
* [[Barcelona Museum of Contemporary Art]]
 
* [[Barcelona Museum of Contemporary Art]]
Line 164: Line 164:
 
* [[Aquarium Barcelona]]
 
* [[Aquarium Barcelona]]
 
* [[Barcelona Zoo]]
 
* [[Barcelona Zoo]]
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
 
[[Category:Barcelona templates]]
 
[[Category:Barcelona templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23:56, 15 February 2020

Initial visibility: currently defaults to autocollapse

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

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