Difference between revisions of "Template:Bages"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Rwxrwxrwx
(update)
 
Line 11: Line 11:
 
* [[Avinyó]]
 
* [[Avinyó]]
 
* [[Balsareny]]
 
* [[Balsareny]]
* [[Calders]]
 
 
* [[Callús]]
 
* [[Callús]]
 
* [[Cardona, Spain|Cardona]]
 
* [[Cardona, Spain|Cardona]]
Line 18: 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 38: 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]]

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.