Difference between revisions of "Template:Guanajuato"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
imported>Funandtrvl
(update wikilinks)
 
(9 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Mexico state navigation box
+
{{Navbox
| name = [[Guanajuato]]
+
| name = Guanajuato
| type = State  
+
| title = {{flagicon|Guanajuato}} State of [[Guanajuato]]
| capital = [[Guanajuato, Guanajuato|Guanajuato, Gto.]]  
+
| state = {{{state|autocollapse}}}
|listclass = hlist
+
| bodyclass = hlist
| flag_image = Flag of Guanajuato.png
 
| flag_caption = Flag of Guanajuato
 
| template_name = Guanajuato
 
  
| image = [[Image:Guanajuato en México.svg|100px]]  
+
| above = [[Guanajuato City|Guanajuato]] (capital)
| title1 = [[Municipalities of Guanajuato|Municipalities]]  
+
| image = [[File:Guanajuato en México.svg|100px]]
| body1 =  
+
 
 +
| group1 = [[Municipalities of Guanajuato|Municipalities]]
 +
| list1 =
 
* [[Abasolo, Guanajuato|Abasolo]]
 
* [[Abasolo, Guanajuato|Abasolo]]
 
* [[Acámbaro]]
 
* [[Acámbaro]]
 
* [[San Miguel de Allende]]
 
* [[San Miguel de Allende]]
 +
* [[Altamirano, Guanajuato|Altamirano]]
 
* [[Apaseo el Alto]]
 
* [[Apaseo el Alto]]
 
* [[Apaseo el Grande]]
 
* [[Apaseo el Grande]]
Line 25: Line 25:
 
* [[Doctor Mora]]
 
* [[Doctor Mora]]
 
* [[Dolores Hidalgo]]
 
* [[Dolores Hidalgo]]
* [[Guanajuato (Guanajuato)|Guanajuato]]
+
* [[Guanajuato City|Guanajuato]]
 
* [[Huanímaro]]
 
* [[Huanímaro]]
 
* [[Irapuato]]
 
* [[Irapuato]]
Line 49: Line 49:
 
* [[Silao]]
 
* [[Silao]]
 
* [[Tarandacuao]]
 
* [[Tarandacuao]]
* [[Tarimoro]]
+
* [[Tarimoro, Guanajuato|Tarimoro]]
 
* [[Tierra Blanca, Guanajuato|Tierra Blanca]]
 
* [[Tierra Blanca, Guanajuato|Tierra Blanca]]
 
* [[Uriangato]]
 
* [[Uriangato]]
Line 58: Line 58:
 
* [[Yuriria]]
 
* [[Yuriria]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:States of Mexico templates]]
 
[[Category:States of Mexico templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 20:54, 3 January 2019

Initial visibility: currently defaults to autocollapse

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

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