Template:Municipalities in La Habana: Difference between revisions
Appearance
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 = {{#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= yes'''}} to display a simple list. |
|||
** Additionally use {{para|noparent|yes}} if it is not in another navbox. |
|||
[[Category: |
[[Category:Cuba municipality templates|La Habana]] |
||
[[Category: |
[[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.
- Additionally use