Difference between revisions of "Template:Cape Verde topics"

From blackwiki
Jump to navigation Jump to search
imported>Diannaa
(use listclass = hlist in navbox as per WP:HLIST)
(state handling, bodyclass, flagcountry, shorter groupnames, index)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name   = Cape Verde topics
+
| name = Cape Verde topics
| state   = {{{state|autocollapse}}}
+
| state = {{{1|{{{state|autocollapse}}}}}}
| title   = {{flagicon|CPV}} [[Cape Verde]] topics
+
| bodyclass = hlist
| listclass = hlist
+
| title = {{flagcountry|Cape Verde}} topics
| group1 = [[Politics of Cape Verde|Politics]] and law
+
 
| list1   =
+
| group1 = Governance
 +
| list1 =
 
* [[Elections in Cape Verde|Elections]]
 
* [[Elections in Cape Verde|Elections]]
 
* [[Flag of Cape Verde|Flag]]
 
* [[Flag of Cape Verde|Flag]]
Line 11: Line 12:
 
* [[Foreign relations of Cape Verde|Foreign relations]]
 
* [[Foreign relations of Cape Verde|Foreign relations]]
 
* [[Military of Cape Verde|Military]]
 
* [[Military of Cape Verde|Military]]
* [[Law enforcement in Cape Verde|Law Enforcement]]
+
* [[Law enforcement in Cape Verde|Law enforcement]]
 
* [[National Assembly of Cape Verde|National Assembly]]
 
* [[National Assembly of Cape Verde|National Assembly]]
 +
* [[Politics of Cape Verde|Politics]]
 
* [[List of political parties in Cape Verde|Political parties]]
 
* [[List of political parties in Cape Verde|Political parties]]
 
* [[List of heads of state of Cape Verde|President]]
 
* [[List of heads of state of Cape Verde|President]]
 
* [[List of heads of government of Cape Verde|Prime Minister]]
 
* [[List of heads of government of Cape Verde|Prime Minister]]
 
* [[LGBT rights in Cape Verde|LGBT rights]]
 
* [[LGBT rights in Cape Verde|LGBT rights]]
| group2 = [[History of Cape Verde|History]]
+
 
| list2   =
+
| group2 = [[History of Cape Verde|History]]
 +
| list2 =
 
* [[African Party for the Independence of Guinea and Cape Verde]]
 
* [[African Party for the Independence of Guinea and Cape Verde]]
 
* [[List of colonial heads of Cape Verde|Colonial heads]]
 
* [[List of colonial heads of Cape Verde|Colonial heads]]
| group3 = [[Geography of Cape Verde|Geography]]
+
 
| list3   =
+
| group3 = [[Geography of Cape Verde|Geography]]
 +
| list3 =
 
* [[Administrative divisions of Cape Verde|Administrative divisions]]
 
* [[Administrative divisions of Cape Verde|Administrative divisions]]
 
* [[List of cities in Cape Verde|Cities]]
 
* [[List of cities in Cape Verde|Cities]]
Line 35: Line 39:
 
* [[List of volcanoes in Cape Verde|Volcanoes]]
 
* [[List of volcanoes in Cape Verde|Volcanoes]]
 
* [[Wildlife of Cape Verde|Wildlife]]
 
* [[Wildlife of Cape Verde|Wildlife]]
| group4 = [[Economy of Cape Verde|Economy]] and infrastructure
+
 
| list4   =
+
| group4 = [[Economy of Cape Verde|Economy]]
 +
| list4 =
 
* [[Agriculture in Cape Verde|Agriculture]]
 
* [[Agriculture in Cape Verde|Agriculture]]
 
* [[List of airports in Cape Verde|Airports]]
 
* [[List of airports in Cape Verde|Airports]]
Line 45: Line 50:
 
* [[Tourism in Cape Verde|Tourism]]
 
* [[Tourism in Cape Verde|Tourism]]
 
* [[Transport in Cape Verde|Transport]]
 
* [[Transport in Cape Verde|Transport]]
| group5 = [[Culture of Cape Verde|Culture]] and society
+
 
| list5   =
+
| group5 = [[Culture of Cape Verde|Culture]]
 +
| list5 =
 
* [[Cape Verdean Creole]]
 
* [[Cape Verdean Creole]]
 
* [[Cape Verdean Portuguese]]
 
* [[Cape Verdean Portuguese]]
Line 60: Line 66:
 
* [[Religion in Cape Verde|Religion]]
 
* [[Religion in Cape Verde|Religion]]
 
* [[Women in Cape Verde|Women]]
 
* [[Women in Cape Verde|Women]]
 +
 
}}<noinclude>
 
}}<noinclude>
[[Category:Cape Verde templates]]
+
 
 +
<br/>{{collapsible option}}
 +
Note: It's now possible to omit the "state=".
 +
 
 +
[[Category:Cape Verde templates| ]]
 
[[Category:Country and territory topics templates|Cape Verde]]
 
[[Category:Country and territory topics templates|Cape Verde]]
 +
 
[[pt:Predefinição:Tópicos de Cabo Verde]]
 
[[pt:Predefinição:Tópicos de Cabo Verde]]
 
</noinclude>
 
</noinclude>

Revision as of 02:32, 25 November 2012


Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Cape Verde topics|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Cape Verde topics|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Cape Verde 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. Note: It's now possible to omit the "state=".

pt:Predefinição:Tópicos de Cabo Verde