Template:Provinces of Cuba: Difference between revisions
Appearance
Content deleted Content added
m ditto |
ditto |
||
Line 3: | Line 3: | ||
|state = <noinclude>expanded</noinclude> |
|state = <noinclude>expanded</noinclude> |
||
|title = |
|title = |
||
{{#ifeq:{{{1|}}}|provinces |Provinces |
{{#ifeq:{{{1|}}}|provinces |
||
|Provinces |
|||
| {{#ifeq:{{{1|}}}|capitals |Provincial capitals of [[Cuba]] |
| {{#ifeq:{{{1|}}}|capitals |
||
|Provincial capitals of [[Cuba]] |
|||
| {{#if:{{{province|}}} |Municipalities of the {{{province}}} province of [[Cuba]] |
| {{#if:{{{province|}}} |
||
|Municipalities of the {{{province}}} province of [[Cuba]] |
|||
|Provinces |
|Provinces <!--default if no parameters provided--> |
||
}} |
}} |
||
}} |
}} |
||
}} {{#ifeq:{{{ |
}} {{#ifeq:{{{1|}}}|provinces <!--Title begins "Provinces..."--> |
||
| {{# |
| {{#ifeq:{{{2|}}}|capitals |
||
|and provincial capitals of [[Cuba]] <!-- |
|||
}} {{#if:{{{1|}}} |
|||
-->{{#if:{{{province|}}} |and municipalities of {{{province}}} province}} |
|||
| {{#if:{{{province|}}} |and municipalities of {{{province}}} province |
}} |
||
| {{#if:{{{province|}}} |
|||
|and municipalities of {{{province}}} province |
|||
|of [[Cuba]] <!--default if no parameters provided--> |
|||
}} |
|||
}} |
|||
}} |
|||
|image = {{flagicon|Cuba|size=70px}} |
|image = {{flagicon|Cuba|size=70px}} |
||
|groupstyle = padding:0.35em 1.0em; line-height:1.1em; |
|groupstyle = padding:0.35em 1.0em; line-height:1.1em; |
Revision as of 20:54, 28 April 2008
Usage
Include {{Provinces of Cuba}} at the bottom of articles related to Cuba's provinces.
Optional parameters
- Use
{{Provinces of Cuba|+capitals}}
to add an additional group listing provincial capitals.
- Use
{{Provinces of Cuba|province=province}}
to add an addition section listing the municipalities of province, where province is the name of one of Cuba's provinces (Camagüey, Ciego de Ávila, Cienfuegos, Granma, Guantánamo, Havana, Holguín, La Habana, Las Tunas, Matanzas, Pinar del Río, Sancti Spíritus, Santiago de Cuba, Villa Clara).
- Both parameters can be included, so long as the first listed is "+capitals" (see examples below).
Examples
{{Provinces of Cuba}}
{{Provinces of Cuba|+capitals}}
{{Provinces of Cuba|province=Havana}}
{{Provinces of Cuba|+capitals|province=Granma}}
See also
Municipalities by province: {{Havana municipalities}}, {{Municipalities in Camagüey}}, {{Municipalities in Ciego de Ávila}}, {{Municipalities in Cienfuegos}}, {{Municipalities in Granma}}, {{Municipalities in Holguín}}, {{Municipalities in La Habana}}, {{Municipalities in Las Tunas}}, {{Municipalities in Matanzas}}, {{Municipalities in Pinar del Río}}, {{Municipalities in Sancti Spíritus}}, {{Municipalities in Santiago de Cuba}}, {{Municipalities in Villa Clara}}