Jump to content

Template:Municipalities in La Habana: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
start navbox
 
templates do not belong in content categories & recommended to place them in template categories per WP:CAT#T
 
(22 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{Navbox
{{Navbox
|name = Municipalities in La Habana
| name = Municipalities in La Habana
|title = Municipalities in [[La Habana Province]]
| title = {{#ifeq:{{{list}}}|yes||[[Municipalities of Cuba|Municipalities]] in [[La Habana Province]] (1976-2011)}}
| state = {{{state|autocollapse}}}
|image = [[Image:La Habana Province Location.png|64px|La Habana Province]]
| image = {{#ifeq:{{{list}}}|yes||[[File:La Habana Province Location.png|64px|La Habana Province]]}}
|list1 =<div>[[Alquízar]]{{·}} [[Artemisa, Cuba|Artemisa]]{{·}} [[Batabanó, Cuba|Batabanó]]{{·}} [[Bauta, Cuba|Bauta]]{{·}} [[Bejucal]]{{·}} [[Caimito, Cuba|Caimito]]{{·}} [[Guanajay]]{{·}} [[Güines]]{{·}} [[Güira de Melena]]{{·}} [[Jaruco]]{{·}} [[Madruga, Cuba|Madruga]]{{·}} [[Mariel]]{{·}} [[Melena del Sur, Cuba|Melena del Sur]]{{·}} [[Nueva Paz, Cuba|Nueva Paz]]{{·}} [[Quivicán, Cuba|Quivicán]]{{·}} [[San Antonio de los Baños]]{{·}} [[San José de las Lajas, Cuba|San José de las Lajas]]{{·}} [[San Nicolás de Bari, Cuba|San Nicolás de Bari]]{{·}} [[Santa Cruz del Norte]]</div>
| border = {{#ifeq:{{{list}}}|yes|{{#ifeq:{{{noparent}}}|yes|none|child}}|}}
| listclass = hlist
| list1 =
* [[Alquízar]]
* [[Artemisa]]
* [[Batabanó, Cuba|Batabanó]]
* [[Bauta, Cuba|Bauta]]
* [[Bejucal]]
* [[Caimito, Cuba|Caimito]]
* [[Guanajay]]
* [[Güines]]
* [[Güira de Melena]]
* [[Jaruco]]
* [[Madruga]]
* [[Mariel, Cuba|Mariel]]
* [[Melena del Sur]]
* [[Nueva Paz]]
* [[Quivicán]]
* [[San Antonio de los Baños]]
* [[San José de las Lajas]]
* [[San Nicolás de Bari]]
* [[Santa Cruz del Norte]]
}}<noinclude>
}}<noinclude>
{{collapsible option}}


==Usage==
==Usage==
Include {{tl|Municipalities in La Habana}} in articles related to communities in the [[La Habana Province]].
Include {{tl|Municipalities in La Habana}} in articles related to communities in the [[La Habana Province]].
*Use {{tlx|Municipalities in La Habana|'''list&#61;&nbsp;yes'''}} to display a simple list.
** Additionally use {{para|noparent|yes}} if it is not in another navbox.


[[Category:Cuban navigational boxes|{{PAGENAME}}]]
[[Category:Cuba municipality templates|La Habana]]
[[Category:Caribbean country subdivision navigational boxes|Cuba]]
[[Category:Havana templates|Province of Havana (1976-2011)]]

</noinclude>
</noinclude>

Latest revision as of 06:35, 17 November 2022

This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

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

  • {{Municipalities in La Habana|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{Municipalities in La Habana|state=expanded}} will show the template expanded, i.e. fully visible.

Usage

[edit]

Include {{Municipalities in La Habana}} in articles related to communities in the La Habana Province.

  • Use {{Municipalities in La Habana|list= yes}} to display a simple list.
    • Additionally use |noparent=yes if it is not in another navbox.