Difference between revisions of "Template:Comarques of Catalonia"

From blackwiki
Jump to navigation Jump to search
imported>Vvven
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{navbox
 
{{navbox
 
| name = Comarques of Catalonia
 
| name = Comarques of Catalonia
| title = [[Comarques of Catalonia|Comarques]] of [[Catalonia]]
+
| title = [[Comarques of Catalonia]]
 
| listclass = hlist
 
| listclass = hlist
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
Line 14: Line 14:
 
* [[Alta Ribagorça]]
 
* [[Alta Ribagorça]]
 
* [[Anoia]]
 
* [[Anoia]]
 +
* [[Aran, Catalonia|Aran]]
 
* [[Bages]]
 
* [[Bages]]
 
* [[Baix Camp]]
 
* [[Baix Camp]]
Line 29: Line 30:
 
* [[Gironès]]
 
* [[Gironès]]
 
* [[Maresme]]
 
* [[Maresme]]
 +
* [[Moianès]]
 
* [[Montsià]]
 
* [[Montsià]]
 
* [[Noguera (comarca)|Noguera]]
 
* [[Noguera (comarca)|Noguera]]
Line 44: Line 46:
 
* [[Solsonès]]
 
* [[Solsonès]]
 
* [[Tarragonès]]
 
* [[Tarragonès]]
* [[Terra Alta]]
+
* [[Terra Alta (comarca)|Terra Alta]]
 
* [[Urgell]]
 
* [[Urgell]]
* [[Val d'Aran]]
 
 
* [[Vallès Occidental]]
 
* [[Vallès Occidental]]
 
* [[Vallès Oriental]]
 
* [[Vallès Oriental]]
Line 61: Line 62:
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Catalan navigational boxes]]
 
[[Category:Catalan navigational boxes]]
[[Category:Spain subdivision templates|Catalonia (Comarques)]]
+
[[Category:Spain comarcas templates]]
  
 
</noinclude>
 
</noinclude>

Latest revision as of 21:50, 5 July 2016

Initial visibility: currently defaults to autocollapse

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

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