Difference between revisions of "Template:Alt Penedès"

From blackwiki
Jump to navigation Jump to search
blackwiki>Ssola
m (12 revisions imported)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Navbox
+
{{navbox
|name = Alt Penedes
+
| name = Alt Penedès
|title = Municipalities of [[Alt Penedès]]
+
| title = Municipalities of [[Alt Penedès]]
|image = [[Image:Flag of Catalonia.svg|50px|Flag of Catalonia]]
+
| state = {{{state|autocollapse}}}
|list1 = [[Avinyonet del Penedès]]{{·}} [[Les Cabanyes]]{{·}} [[Castellet i la Gornal]]{{·}} [[Castellví de la Marca]]{{·}} [[Font-rubí]]{{·}} [[Gelida]]{{·}} [[La Granada]]{{·}} [[Mediona]]{{·}} [[Olèrdola]]{{·}} [[Olesa de Bonesvalls]]{{·}} [[Pacs del Penedès]]{{·}} [[El Pla del Penedès]]{{·}} [[Pontons]]{{·}} [[Puigdàlber]]{{·}} [[Sant Cugat Sesgarrigues]]{{·}} [[Sant Llorenç d'Hortons]]{{·}} [[Sant Martí Sarroca]]{{·}} [[Sant Pere de Riudebitlles]]{{·}} [[Sant Quintí de Mediona]]{{·}} [[Sant Sadurní d'Anoia]]{{·}} [[Santa Fe del Penedès]]{{·}} [[Santa Margarida i els Monjos]]{{·}} [[Subirats]]{{·}} [[Torrelavit]]{{·}} [[Torrelles de Foix]]{{·}} [[Vilafranca del Penedès]]{{·}} [[Vilobí del Penedès]]
+
| listclass = hlist
 +
| image = [[File:Flag of Catalonia.svg|50px|Flag of Catalonia]]
 +
 
 +
| list1 =
 +
* [[Avinyonet del Penedès]]
 +
* [[Les Cabanyes]]
 +
* [[Castellet i la Gornal]]
 +
* [[Castellví de la Marca]]
 +
* [[Font-rubí]]
 +
* [[Gelida]]
 +
* [[La Granada]]
 +
* [[Mediona]]
 +
* [[Olèrdola]]
 +
* [[Olesa de Bonesvalls]]
 +
* [[Pacs del Penedès]]
 +
* [[El Pla del Penedès]]
 +
* [[Pontons]]
 +
* [[Puigdàlber]]
 +
* [[Sant Cugat Sesgarrigues]]
 +
* Sant Llorenç d'Hortons
 +
* [[Sant Martí Sarroca]]
 +
* [[Sant Pere de Riudebitlles]]
 +
* [[Sant Quintí de Mediona]]
 +
* [[Sant Sadurní d'Anoia]]
 +
* [[Santa Fe del Penedès]]
 +
* [[Santa Margarida i els Monjos]]
 +
* [[Subirats]]
 +
* [[Torrelavit]]
 +
* [[Torrelles de Foix]]
 +
* [[Vilafranca del Penedès]]
 +
* [[Vilobí del Penedès]]
 +
 
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
[[Category:Catalonia municipality templates|{{PAGENAME}}]]
+
[[Category:Catalonia municipality templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:32, 20 October 2020

Initial visibility: currently defaults to autocollapse

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

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