Difference between revisions of "Template:Cuba topics"

From blackwiki
Jump to navigation Jump to search
imported>Edokter
m (Reverted edits by 195.147.24.214 (talk) to last version by Randy Kryn)
Line 4: Line 4:
 
| bodyclass = hlist
 
| bodyclass = hlist
 
| title = {{flagcountry|Cuba}} topics
 
| title = {{flagcountry|Cuba}} topics
| selected  = {{{selected|{{{1|}}}}}}
+
| selected  = {{{1|}}}
  
| abbr1 = history
+
| abbr1 = History
 
| sect1 = [[History of Cuba|History]]
 
| sect1 = [[History of Cuba|History]]
 
| list1 =
 
| list1 =
Line 24: Line 24:
 
* [[Cuban Missile Crisis]]
 
* [[Cuban Missile Crisis]]
 
* [[War against the Bandits|War Against the Bandits]]
 
* [[War against the Bandits|War Against the Bandits]]
* [[Cuban intervention in Angola|Cuban intervention in Angola (1975–91)]]
+
* [[Cuban intervention in Angola|Cuban intervention in Angola {{small|(1975–1991)}}]]
 
* [[Cubana de Aviación Flight 455|Cubana Flight 455]]
 
* [[Cubana de Aviación Flight 455|Cubana Flight 455]]
 
* [[Mariel boatlift]]
 
* [[Mariel boatlift]]
Line 31: Line 31:
 
* [[List of wettest tropical cyclones by country#Cuba|Tropical cyclones]]
 
* [[List of wettest tropical cyclones by country#Cuba|Tropical cyclones]]
  
| abbr2 = geography
+
 
 +
| abbr2 = Geography
 
| sect2 = [[Geography of Cuba|Geography]]
 
| sect2 = [[Geography of Cuba|Geography]]
 
| list2 =
 
| list2 =
Line 74: Line 75:
 
* [[List of World Heritage Sites in Cuba|World Heritage Sites]]
 
* [[List of World Heritage Sites in Cuba|World Heritage Sites]]
 
  }}
 
  }}
 +
  
 
| abbr3 = GSE
 
| abbr3 = GSE
| sect3 = {{hlist|Governance|Security|[[Economy of Cuba|Economy]]}}
+
| sect3 = {{flatlist|
 +
* Governance
 +
* Security
 +
* [[Economy of Cuba|Economy]]
 +
}}
 
| list3 =
 
| list3 =
 
  {{Navbox |child
 
  {{Navbox |child
 
   | group1 = Governance
 
   | group1 = Governance
 
   | list1 =
 
   | list1 =
   {{Navbox |child |groupwidth=9.2em
+
   {{Navbox |child
 
     | list1 = <!--Alphabetical:-->
 
     | list1 = <!--Alphabetical:-->
 
* [[Castroism]]
 
* [[Castroism]]
Line 92: Line 98:
 
* [[Politics of Cuba|Politics]]
 
* [[Politics of Cuba|Politics]]
 
* [[President of Cuba|Presidency]]
 
* [[President of Cuba|Presidency]]
 +
 
     | group2 = {{longitem|[[Cuba–United States relations|Cuba{{ndash}}United States<br/>relations]]}}
 
     | group2 = {{longitem|[[Cuba–United States relations|Cuba{{ndash}}United States<br/>relations]]}}
 
     | list2 =
 
     | list2 =
Line 141: Line 148:
 
   | group2 = Security
 
   | group2 = Security
 
   | list2  =
 
   | list2  =
   {{Navbox |child |groupwidth=9.2em
+
   {{Navbox |child
 
     | group1 = [[:Category:Military of Cuba|Military]]
 
     | group1 = [[:Category:Military of Cuba|Military]]
 
     | list1 =
 
     | list1 =
Line 160: Line 167:
 
   | list3 = <!--Alphabetical:-->
 
   | list3 = <!--Alphabetical:-->
 
* [[Agriculture in Cuba|Agriculture]]
 
* [[Agriculture in Cuba|Agriculture]]
** [[Instituto Nacional de Reforma Agraria|agrarian reform]]
+
** [[Instituto Nacional de Reforma Agraria|Agrarian reform]]
** [[CPA (agriculture)|cooperatives]]
+
** [[CPA (agriculture)|Cooperatives]]
 
* [[Central Bank of Cuba|Central bank]]
 
* [[Central Bank of Cuba|Central bank]]
* [[Cuban peso|Peso (currency)]]
+
* [[Cuban peso|Peso {{small|(currency)}}]]
 
* [[Cuban convertible peso|Convertible peso]]
 
* [[Cuban convertible peso|Convertible peso]]
 
* [[Telecommunications in Cuba|Telecommunications]]
 
* [[Telecommunications in Cuba|Telecommunications]]
Line 170: Line 177:
 
** [[Cubana de Aviación|airline]]
 
** [[Cubana de Aviación|airline]]
 
  }}
 
  }}
 +
  
 
| abbr4 = SC
 
| abbr4 = SC
| sect4 = {{hlist|Society|[[Culture of Cuba|Culture]]}}
+
| sect4 = <div class="flatlist">
 +
* Society
 +
* [[Culture of Cuba|Culture]]
 +
</div>
 
| list4 =
 
| list4 =
 
  {{Navbox |child
 
  {{Navbox |child
Line 183: Line 194:
 
* [[Human rights in Cuba|Human rights]]
 
* [[Human rights in Cuba|Human rights]]
 
** [[LGBT rights in Cuba|LGBT]]
 
** [[LGBT rights in Cuba|LGBT]]
** [[LGBT history in Cuba|LGBT history]]
+
* [[LGBT history in Cuba|LGBT history]]
 
* [[Rationing in Cuba|Rationing]]
 
* [[Rationing in Cuba|Rationing]]
 
* [[Sociolismo]]
 
* [[Sociolismo]]
Line 207: Line 218:
 
* [[List of universities in Cuba|Universities]]
 
* [[List of universities in Cuba|Universities]]
 
  }}
 
  }}
 +
  
 
| abbr5 = DP
 
| abbr5 = DP
| sect5 = {{hlist|[[Demographics of Cuba|Demographics]]|People}}
+
| sect5 = <div class="flatlist">
 +
* [[Demographics of Cuba|Demographics]]
 +
* People
 +
</div>
 
| list5 =
 
| list5 =
 
  {{Navbox |child
 
  {{Navbox |child
Line 235: Line 250:
 
   | group2 = People
 
   | group2 = People
 
   | list2 =
 
   | list2 =
   {{Navbox |child |groupstyle=font-weight:normal
+
   {{Navbox |child
 
     | group1 = By name
 
     | group1 = By name
 
     | list1 =
 
     | list1 =
Line 319: Line 334:
 
  }}
 
  }}
  
| belowclass = navbox-title
+
|belowclass = navbox-title
| belowstyle = font-weight:bold
+
|below =
| below =
+
* {{icon|Category}} '''[[:Category:Cuba|Category]]'''
* {{icon|Category}} [[:Category:Cuba|Category]]
+
* [[File:Commons-logo.svg|15x15px|link=|alt=]] '''[[commons:Category:Cuba|Commons]]'''
* {{icon|Commons}} [[Commons:Category:Cuba|Commons]]
+
* {{icon|Portal}} '''[[Portal:Cuba|Portal]]'''
* {{icon|Portal}} [[Portal:Cuba|Portal]]
+
* {{icon|WikiProject}} '''[[Wikipedia:WikiProject Cuba|WikiProject]]'''
* {{icon|WikiProject}} [[Wikipedia:WikiProject Cuba|WikiProject]]
 
  
 
}}<noinclude>
 
}}<noinclude>
{{Documentation
+
 
  | content =
+
{{documentation
{{Collapsible option}}
+
  |content =
{{Collapsible sections option |list={{hlist|history|geography|GSE|SC|DP}}}}
+
{{collapsible option}}
 +
<hr/>
 +
{{collapsible lists option
 +
|listnames = "History", "Geography", "GSE", "SC", "DP"
 +
|example = GSE
 +
}}
 +
}}<!--(end documentation)-->
  
 
[[Category:Cuba templates| ]]
 
[[Category:Cuba templates| ]]
 
[[Category:Caribbean country and territory topics templates]]
 
[[Category:Caribbean country and territory topics templates]]
}}<!--(end Documentation)-->
 
 
</noinclude>
 
</noinclude>

Revision as of 22:03, 22 February 2015

Template:Navbox with collapsible sections

Template documentation

Initial visibility: currently defaults to autocollapse

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

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


This template includes collapsible lists.

  • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{Cuba topics |expanded=all}} or, if enabled, {{Cuba topics |all}}  (i.e. omitting "expanded=").
  • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
  •  {{Cuba topics |expanded=listname}} or, if enabled, {{Cuba topics |listname}}
  • …where listname is one of the following (do not include any quotemarks):
  • "History", "Geography", "GSE", "SC", "DP"
  • For example, {{Cuba topics |expanded=GSE}} or, if enabled, {{Cuba topics |GSE}}