Difference between revisions of "Template:List of European capitals by region"

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
(Fix Linter errors)
imported>Asqueladd
(whimsical split, plus Bilbao is not the capital of the Basque Country autonomous community; Vitoria-Gasteiz de facto is.)
Line 206: Line 206:
 
   |list2=
 
   |list2=
 
  {{Navbox |child |groupstyle=padding-left:0.5em;padding-right:0.5em;font-weight:normal;
 
  {{Navbox |child |groupstyle=padding-left:0.5em;padding-right:0.5em;font-weight:normal;
   |group1 = [[Nationalities and regions of Spain|Historical nationalities]]
+
   |group1 = [[Autonomous communities]]
 
   |list1 =
 
   |list1 =
 
* '''''[[Barcelona]]''''', Catalonia
 
* '''''[[Barcelona]]''''', Catalonia
* '''''[[Bilbao]]''''', Basque Country
 
 
* '''''[[Las Palmas]]''''' & '''''[[Santa Cruz de Tenerife]]''''', Canary Islands
 
* '''''[[Las Palmas]]''''' & '''''[[Santa Cruz de Tenerife]]''''', Canary Islands
* '''''[[Palma de Mallorca]]''''', Balearic Islands
 
* '''''[[Santiago de Compostela]]''''', Galicia
 
* '''''[[Seville]]''''', Andalusia
 
* '''''[[Valencia]]''''', Valencia
 
* '''''[[Zaragoza]]''''', Aragon
 
  |group2 = Other [[Autonomous communities of Spain|autonomous communities]]
 
  |list2 =
 
 
* '''''[[Logroño]]''''', La Rioja
 
* '''''[[Logroño]]''''', La Rioja
* '''''[[Madrid]]''''', Comunidad de Madrid
+
* '''''[[Madrid]]''''', Community of Madrid
 
* '''''[[Mérida, Spain|Mérida]]''''', Extremadura
 
* '''''[[Mérida, Spain|Mérida]]''''', Extremadura
 
* '''''[[Murcia]]''''', Murcia
 
* '''''[[Murcia]]''''', Murcia
 
* '''''[[Oviedo]]''''', Asturias
 
* '''''[[Oviedo]]''''', Asturias
 +
* '''''[[Palma de Mallorca]]''''', Balearic Islands
 
* '''''[[Pamplona]]''''', Navarre
 
* '''''[[Pamplona]]''''', Navarre
 
* '''''[[Santander, Spain|Santander]]''''', Cantabria
 
* '''''[[Santander, Spain|Santander]]''''', Cantabria
* '''''[[Toledo, Spain|Toledo]]''''', Castilla–La Mancha
+
* '''''[[Santiago de Compostela]]''''', Galicia
 +
* '''''[[Seville]]''''', Andalusia
 +
* '''''[[Toledo, Spain|Toledo]]''''', Castilla–La Mancha (de facto)
 +
* '''''[[Valencia]]''''', Valencia
 
* '''''[[Valladolid]]''''', Castile and León (de facto)
 
* '''''[[Valladolid]]''''', Castile and León (de facto)
 +
* '''''[[Vitoria-Gasteiz]]''''' , Basque Country (de facto)
 +
* '''''[[Zaragoza]]''''', Aragon
 
  }}
 
  }}
 
   |group3 = Other
 
   |group3 = Other

Revision as of 19:35, 15 November 2020

Template documentation

Initial visibility: currently defaults to autocollapse

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

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

See also