Difference between revisions of "Template:Bages"

From blackwiki
Jump to navigation Jump to search
imported>Vivaelcelta
imported>Rwxrwxrwx
(update)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
| name = Bages
 
| name = Bages
 
| title = Municipalities of [[Bages]]
 
| title = Municipalities of [[Bages]]
 +
| state = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
 
| image = [[File:Flag of Catalonia.svg|50px|Flag of Catalonia]]
 
| image = [[File:Flag of Catalonia.svg|50px|Flag of Catalonia]]
Line 10: Line 11:
 
* [[Avinyó]]
 
* [[Avinyó]]
 
* [[Balsareny]]
 
* [[Balsareny]]
* [[Calders]]
 
 
* [[Callús]]
 
* [[Callús]]
 
* [[Cardona, Spain|Cardona]]
 
* [[Cardona, Spain|Cardona]]
Line 17: Line 17:
 
* [[Castellgalí]]
 
* [[Castellgalí]]
 
* [[Castellnou de Bages]]
 
* [[Castellnou de Bages]]
* [[L'Estany]]
 
 
* [[Fonollosa]]
 
* [[Fonollosa]]
 
* [[Gaià]]
 
* [[Gaià]]
 
* [[Manresa]]
 
* [[Manresa]]
 
* [[Marganell]]
 
* [[Marganell]]
* [[Moià]]
 
* [[Monistrol de Calders]]
 
 
* [[Monistrol de Montserrat]]
 
* [[Monistrol de Montserrat]]
 
* [[Mura, Barcelona|Mura]]
 
* [[Mura, Barcelona|Mura]]
Line 37: Line 34:
 
* [[Sant Salvador de Guardiola]]
 
* [[Sant Salvador de Guardiola]]
 
* [[Sant Vicenç de Castellet]]
 
* [[Sant Vicenç de Castellet]]
* [[Santa Maria d'Oló]]
 
 
* [[Santpedor]]
 
* [[Santpedor]]
 
* [[Súria]]
 
* [[Súria]]
Line 43: Line 39:
  
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Catalonia municipality templates]]
 
[[Category:Catalonia municipality templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:28, 24 May 2015

Initial visibility: currently defaults to autocollapse

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

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