Difference between revisions of "Template:Cuba topics"

From blackwiki
Jump to navigation Jump to search
imported>CsDix
(section order, group classes (flatlist), "below" line, category)
imported>Frietjes
Line 77: Line 77:
  
 
| abbr3 = GSE
 
| abbr3 = GSE
| sect3 = <div class="flatlist">
+
| sect3 = {{flatlist|
 
* Governance
 
* Governance
 
* Security
 
* Security
 
* [[Economy of Cuba|Economy]]
 
* [[Economy of Cuba|Economy]]
</div>
+
}}
 
| list3 =
 
| list3 =
 
  {{Navbox |child
 
  {{Navbox |child
Line 97: Line 97:
 
* [[Politics of Cuba|Politics]]
 
* [[Politics of Cuba|Politics]]
 
* [[President of Cuba|Presidency]]
 
* [[President of Cuba|Presidency]]
    | group2style = padding:0.35em 1.0em;line-height:1.2em;
+
 
     | group2 = [[Cuba-United States relations|Cuba{{spaced ndash}}United States<br/>relations]]
+
     | group2 = {{longlink|[[Cuba-United States relations|Cuba{{spaced ndash}}United States<br/>relations]]}}
 
     | list2 =
 
     | list2 =
 
* [[Bay of Pigs Invasion]]
 
* [[Bay of Pigs Invasion]]
Line 330: Line 330:
 
  }}
 
  }}
  
|belowstyle = background:#d6d6ff;font-weight:bold;
 
 
|below =
 
|below =
 
* {{icon|Category}} [[:Category:Cuba|Category]]
 
* {{icon|Category}} [[:Category:Cuba|Category]]

Revision as of 17:55, 3 December 2012

Template:Navbox with collapsible sections

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}}