Difference between revisions of "Template:Antigua and Barbuda topics"

From blackwiki
Jump to navigation Jump to search
blackwiki>Diannaa
(use bodyclass = hlist in navbox as per WP:HLIST)
(flagcountry, shorter groupnames, index, state handling)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name = Antigua and Barbuda topics
+
| name = Antigua and Barbuda topics
| state = <includeonly>{{{state|collapsed}}}</includeonly>
+
| state = <includeonly>{{{1|{{{state|collapsed}}}}}}</includeonly>
| title = {{flagicon|Antigua and Barbuda}} [[Antigua and Barbuda]] [[Outline of Antigua and Barbuda|topics]]
 
 
| bodyclass = hlist
 
| bodyclass = hlist
| group1 = [[Politics of Antigua and Barbuda|Government and politics]]
+
| title = {{flagcountry|Antigua and Barbuda}} [[Outline of Antigua and Barbuda|topics]]
| list1 =
+
 
 +
| group1 = [[Politics of Antigua and Barbuda|Governance]]
 +
| list1 =
 
* [[Barbuda Council|Council]]
 
* [[Barbuda Council|Council]]
 
* [[Elections in Antigua and Barbuda|Elections]]
 
* [[Elections in Antigua and Barbuda|Elections]]
Line 17: Line 18:
 
* [[Prime Minister of Antigua and Barbuda|Prime Minister]]
 
* [[Prime Minister of Antigua and Barbuda|Prime Minister]]
 
* [[Senate of Antigua and Barbuda|Senate]]
 
* [[Senate of Antigua and Barbuda|Senate]]
 +
 
| group2 = [[History of Antigua and Barbuda|History]]
 
| group2 = [[History of Antigua and Barbuda|History]]
 
| list2 =
 
| list2 =
 
* [[List of Governors of Antigua|Governors]]
 
* [[List of Governors of Antigua|Governors]]
 
* [[West Indies Associated States]]
 
* [[West Indies Associated States]]
| group3 = [[Economy of Antigua and Barbuda|Economy]] and infrastructure
+
 
 +
| group3 = [[Economy of Antigua and Barbuda|Economy]]
 
| list3 =
 
| list3 =
 
* [[Telecommunications in Antigua and Barbuda|Communications]]
 
* [[Telecommunications in Antigua and Barbuda|Communications]]
Line 28: Line 31:
 
* [[Trade unions in Antigua and Barbuda|Trade unions]]
 
* [[Trade unions in Antigua and Barbuda|Trade unions]]
 
* [[Transport in Antigua and Barbuda|Transport]]
 
* [[Transport in Antigua and Barbuda|Transport]]
| group4 = [[Geography of Antigua and Barbuda|Geography]] and environment
+
 
 +
| group4 = [[Geography of Antigua and Barbuda|Geography]]
 
| list4 =
 
| list4 =
 
* [[Antigua]]
 
* [[Antigua]]
Line 36: Line 40:
 
* [[List of mammals of Antigua and Barbuda|Mammals]]
 
* [[List of mammals of Antigua and Barbuda|Mammals]]
 
* [[Parishes and dependencies of Antigua and Barbuda|Parishes and dependencies]]
 
* [[Parishes and dependencies of Antigua and Barbuda|Parishes and dependencies]]
| group5 = Culture and society
+
 
 +
| group5 = Culture
 
| list5 =
 
| list5 =
 
* [[Antigua Carnival|Carnival]]
 
* [[Antigua Carnival|Carnival]]
Line 47: Line 52:
 
* [[Religion in Antigua and Barbuda|Religion]]
 
* [[Religion in Antigua and Barbuda|Religion]]
 
* [[Romantic Rhythms Music Festival]]
 
* [[Romantic Rhythms Music Festival]]
 +
 
| below =
 
| below =
 
* See also: [[Index of Antigua and Barbuda-related articles|List of Antigua and Barbuda-related articles]]
 
* See also: [[Index of Antigua and Barbuda-related articles|List of Antigua and Barbuda-related articles]]
 +
 
}}<noinclude>
 
}}<noinclude>
 +
 +
<br/>{{collapsible option}}
 +
Note: It's also now possible to omit the "state=".
 +
 +
[[Category:Antigua and Barbuda templates| ]]
 
[[Category:Country and territory topics templates]]
 
[[Category:Country and territory topics templates]]
[[Category:Antigua and Barbuda templates]]
 
 
</noinclude>
 
</noinclude>

Revision as of 19:40, 24 November 2012


Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Antigua and Barbuda topics|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Antigua and Barbuda topics|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Antigua and Barbuda 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 also now possible to omit the "state=".