Difference between revisions of "Template:Madrid MA"

From blackwiki
Jump to navigation Jump to search
imported>Raymond Cruise
 
(19 intermediate revisions by 18 users not shown)
Line 1: Line 1:
<br clear="all">
+
{{navbox
<center>
+
| name = Madrid MA
{| style="margin: 1em 2em 1em 2em; background-color:#f7f8ff; padding:5px; border:1px solid #8888aa; clear: both;"
+
| title = Municipalities of the [[Madrid metropolitan area|Madrid Metropolitan Area]]
| style="background:#ccccff; white-space: nowrap;" width="1%" | <small class="editlink noprint plainlinksneverexpand">[{{SERVER}}{{localurl:Template:Madrid MA|action=edit}} edit ]</small>
+
| state = {{{state|autocollapse}}}
! style="background:#ccccff" align="center" | Municipalities of the [[Madrid metropolitan area|Madrid Metropolitan Area]]
+
| listclass = hlist
| width="1%" | [[Image:Flag of the Community of Madrid.svg|50px|Flag of the Community of Madrid]]
+
| image = [[File:MadridMetropolitanaDensidad2002.png|50px|Madrid metropolitan area]]
|-
+
 
| align="center" style="font-size: 90%;" colspan="3" |
+
| group1 = 3,000,000+
[[Ajalvir]] | [[Alcalá de Henares]] | [[Alcobendas]] | [[Alcorcón]] | [[Algete]] | [[Aranjuez]] | [[Arganda del Rey]] | [[Boadilla del Monte]] | [[Brunete]] | [[Ciempozuelos]] | [[Cobeña]] | [[Collado Villalba]] | [[Colmenar Viejo]] | [[Coslada]] | [[Fuenlabrada]] | [[Galapagar]] | [[Getafe]] | [[Hoyo del Manzanares]] | [[Humanes de Madrid]] | [[Las Rozas de Madrid]] | [[Leganés]] | [[Madrid]] | [[Majadahonda]] | [[Mejorada del Campo]] | [[Móstoles]] | [[Paracuellos de Jarama]] | [[Parla]] | [[Pinto, Madrid|Pinto]] | [[Pozuelo de Alarcón]] | [[Rivas-Vaciamadrid]] | [[San Agustín de Guadalix]] | [[San Fernando de Henares]] | [[San Martín de la Vega]] | [[San Sebastián de los Reyes]] | [[Torrejón de Ardoz]] | [[Torrelodones]] | [[Tres Cantos]] | [[Valdemoro]] | [[Velilla de San Antonio]] | [[Villanueva de la Cañada]] | [[Villaviciosa de Odón]]
+
| list1  =
|-
+
* [[Madrid]]
|}
+
 
</center>
+
| group2 = 200,000+
<noinclude>
+
| list2  =
[[Category:Spanish navigational boxes|{{PAGENAME}}]]
+
* [[Alcalá de Henares]]
[[Category:Madrid]]
+
* [[Móstoles]]
 +
 
 +
| group3 = 150,000+
 +
| list3  =
 +
* [[Alcorcón]]
 +
* [[Fuenlabrada]]
 +
* [[Getafe]]
 +
* [[Leganés]]
 +
 
 +
| group4 = 100,000+
 +
| list4  =
 +
* [[Alcobendas]]
 +
* [[Coslada]]
 +
* [[Parla]]
 +
* [[Torrejón de Ardoz]]
 +
 
 +
| group5 = 50,000+
 +
| list5  =
 +
* [[Boadilla del Monte]]
 +
* [[Las Rozas de Madrid]]
 +
* [[Majadahonda]]
 +
* [[Pozuelo de Alarcón]]
 +
* [[Rivas-Vaciamadrid]]
 +
* [[San Sebastián de los Reyes]]
 +
* [[Valdemoro]]
 +
 
 +
| group6 = 25,000+
 +
| list6  =
 +
* [[Pinto, Madrid|Pinto]]
 +
* [[San Fernando de Henares]]
 +
* [[Tres Cantos]]
 +
* [[Villaviciosa de Odón]]
 +
}}<noinclude>
 +
{{collapsible option}}
 +
 
 +
[[Category:Spain municipality templates]]
 +
[[Category:Madrid templates|Municipalities MA]]
 +
 
 
</noinclude>
 
</noinclude>

Latest revision as of 16:40, 14 August 2014

Initial visibility: currently defaults to autocollapse

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

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