Jump to content

Template:Municipalities in Granma: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
start template
 
templates do not belong in content categories & recommended to place them in template categories per WP:CAT#T
 
(18 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{#ifeq:{{{list|}}}|yes|[[Bartolomé Masó, Cuba|Bartolomé Masó]]{{·}} [[Bayamo, Cuba|Bayamo]]{{·}} [[Buey Arriba, Cuba|Buey Arriba]]{{·}} [[Campechuela, Cuba|Campechuela]]{{·}} [[Cauto Cristo, Cuba|Cauto Cristo]]{{·}} [[Guisa, Cuba|Guisa]]{{·}} [[Jiguaní, Cuba|Jiguaní]]{{·}} [[Manzanillo, Cuba|Manzanillo]]{{·}} [[Media Luna, Cuba|Media Luna]]{{·}} [[Niquero, Cuba|Niquero]]{{·}} [[Pilón, Cuba|Pilón]]{{·}} [[Río Cauto, Cuba|Río Cauto]]{{·}} [[Yara, Cuba|Yara]]|
{{Navbox
{{Navbox
|name = Municipalities in Granma
| name = Municipalities in Granma
|title = [[Municipalities of Cuba|Municipalities]] in [[Granma Province]]
| title = {{#ifeq:{{{list}}}|yes||[[Municipalities of Cuba|Municipalities]] in [[Granma Province]]}}
| state = {{{state|autocollapse}}}
|image = [[Image:Granma Province Location.png|64px|Granma Province]]
| image = {{#ifeq:{{{list}}}|yes||[[File:Granma in Cuba.svg|64px|Granma Province]]}}
|list1 = [[Bartolomé Masó, Cuba|Bartolomé Masó]]{{·}} [[Bayamo, Cuba|Bayamo]]{{·}} [[Buey Arriba, Cuba|Buey Arriba]]{{·}} [[Campechuela, Cuba|Campechuela]]{{·}} [[Cauto Cristo, Cuba|Cauto Cristo]]{{·}} [[Guisa, Cuba|Guisa]]{{·}} [[Jiguaní, Cuba|Jiguaní]]{{·}} [[Manzanillo, Cuba|Manzanillo]]{{·}} [[Media Luna, Cuba|Media Luna]]{{·}} [[Niquero, Cuba|Niquero]]{{·}} [[Pilón, Cuba|Pilón]]{{·}} [[Río Cauto, Cuba|Río Cauto]]{{·}} [[Yara, Cuba|Yara]]
| border = {{#ifeq:{{{list}}}|yes|{{#ifeq:{{{noparent}}}|yes|none|child}}|}}
}}}}<noinclude>
| listclass = hlist
| list1 =
* [[Bartolomé Masó, Cuba|Bartolomé Masó]]
* '''[[Bayamo]]'''
* [[Buey Arriba]]
* [[Campechuela]]
* [[Cauto Cristo]]
* [[Guisa]]
* [[Jiguaní]]
* [[Manzanillo, Cuba|Manzanillo]]
* [[Media Luna, Cuba|Media Luna]]
* [[Niquero]]
* [[Pilón, Cuba|Pilón]]
* [[Río Cauto, Cuba|Río Cauto]]
* [[Yara, Cuba|Yara]]
}}<noinclude>
{{collapsible option}}


==Usage==
==Usage==
Include {{tl|Municipalities in Granma}} in articles related to communities in the [[Granma Province]].
Include {{tl|Municipalities in Granma}} in articles related to communities in the [[Granma Province]].
*Use {{tlx|Municipalities in Granma|'''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|Granma]]
[[Category:Caribbean country subdivision navigational boxes|Cuba]]

</noinclude>
</noinclude>

Latest revision as of 06:36, 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 Granma|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{Municipalities in Granma|state=expanded}} will show the template expanded, i.e. fully visible.

Usage

[edit]

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

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