Difference between revisions of "Template:Departments Mendoza"

From blackwiki
Jump to navigation Jump to search
imported>Dispenser
(Navbox conformity, better CSS/XHTML and collapsible using AWB)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{collapse_state}}})
 
(10 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| class="navbox collapsible autocollapse" style="margin-left:auto; margin-right:auto; width:85%;"
+
{{navbox
|-
+
| name  = Departments Mendoza
| rowspan="2" style="vertical-align:top;"| [[Image:Mendoza.svg|25px|Flag of Mendoza Province]]
+
| title = [[Departments of Argentina|Departments]] of [[Mendoza Province]]
! {{tnavbar-collapsible|   [[Departments of Argentina|Departments]] of [[Mendoza Province]] |Departments Mendoza}}
+
| state = {{{state|autocollapse}}}
|-
+
| listclass = hlist
|| [[General Alvear Department, Mendoza|General Alvear]] | [[Godoy Cruz Department|Godoy Cruz]] | [[Guaymallén Department|Guaymallén]] | [[Junín Department, Mendoza|Junín]] | [[La Paz Department, Mendoza|La Paz]] | [[Las Heras Department|Las Heras]] | [[Lavalle Department|Lavalle]] | [[Luján de Cuyo Department|Luján de Cuyo]] | [[Maipú Department, Mendoza|Maipú]] | [[Malargüe Department|Malargüe]] | [[Mendoza Department|Mendoza (Capital)]] | [[Rivadavia Department|Rivadavia]] | [[San Carlos Department, Mendoza|San Carlos]] | [[San Martín Department, Mendoza|San Martín]] | [[San Rafael Department|San Rafael]] | [[Santa Rosa Department, Mendoza|Santa Rosa]] | [[Tunuyán Department|Tunuyán]] | [[Tupungato Department|Tupungato]] |
+
| imageleft = [[File:Flag of Mendoza Province, Argentina.svg|40px|border|Flag of Mendoza Province]]
|}<noinclude>
+
 
[[Category:Argentine geography templates|{{PAGENAME}}]]
+
| list1 =
 +
* [[Capital Department, Mendoza|Capital]]
 +
* [[General Alvear Department, Mendoza|General Alvear]]
 +
* [[Godoy Cruz Department|Godoy Cruz]]
 +
* [[Guaymallén Department|Guaymallén]]
 +
* [[Junín Department, Mendoza|Junín]]
 +
* [[La Paz Department, Mendoza|La Paz]]
 +
* [[Las Heras Department|Las Heras]]
 +
* [[Lavalle Department, Mendoza|Lavalle]]
 +
* [[Luján de Cuyo Department|Luján de Cuyo]]
 +
* [[Maipú Department, Mendoza|Maipú]]
 +
* [[Malargüe Department|Malargüe]]
 +
* [[Rivadavia Department, Mendoza|Rivadavia]]
 +
* [[San Carlos Department, Mendoza|San Carlos]]
 +
* [[San Martín Department, Mendoza|San Martín]]
 +
* [[San Rafael Department|San Rafael]]
 +
* [[Santa Rosa Department, Mendoza|Santa Rosa]]
 +
* [[Tunuyán Department|Tunuyán]]
 +
* [[Tupungato Department|Tupungato]]
 +
 
 +
}}<noinclude>
 +
{{collapsible option}}
 +
 
 +
[[Category:Argentina department (country subdivision) templates| ]]
 
</noinclude>
 
</noinclude>

Latest revision as of 01:21, 1 May 2013

Initial visibility: currently defaults to autocollapse

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

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