Difference between revisions of "Template:Bermuda topics"

From blackwiki
Jump to navigation Jump to search
imported>Magioladitis
m (clean up using AWB (8413))
(state handling, shorter groupname, flagcountry)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name  = Bermuda topics
 
|name  = Bermuda topics
|state = <includeonly>{{{state|collapsed}}}</includeonly>
+
|state = <includeonly>{{{1|{{{state|collapsed}}}}}}</includeonly>
|title = {{flagicon|Bermuda}} [[Bermuda]] topics
+
|bodyclass = hlist
|listclass = hlist
+
|title = {{flagcountry|Bermuda}} topics
 
|titlestyle = background:#ddf;
 
|titlestyle = background:#ddf;
|image = {{lower|4px|[[Image:Coat_of_arms_of_Bermuda.svg|76px|Coat of arms of Bermuda]]}}
+
|image = {{lower|4px|[[Image:Coat of arms of Bermuda.svg|76px|Coat of arms of Bermuda]]}}
|groupstyle = padding:0.35em 1.0em; line-height:1.1em; <!--reduces gap between wrapped groupname lines--> background:#ddf;
+
|groupstyle = background:#ddf;
  
|group1 = [[:Category:Buildings and structures in Bermuda|Buildings and<br/>structures]]
+
|group1 = [[:Category:Buildings and structures in Bermuda|Buildings]]
|list1 =  
+
|list1 =
 
* [[The Causeway, Bermuda|The Causeway]]
 
* [[The Causeway, Bermuda|The Causeway]]
 
* [[The Fairmont Hamilton Princess]]
 
* [[The Fairmont Hamilton Princess]]
Line 17: Line 17:
  
 
|group2 = [[Culture of Bermuda|Culture]]
 
|group2 = [[Culture of Bermuda|Culture]]
|list2 =  
+
|list2 =
 
* [[Architecture of Bermuda|Architecture]]
 
* [[Architecture of Bermuda|Architecture]]
 
* [[Bermuda shorts|Shorts]]
 
* [[Bermuda shorts|Shorts]]
Line 30: Line 30:
  
 
|group3 = [[Economy of Bermuda|Economy]]
 
|group3 = [[Economy of Bermuda|Economy]]
|list3 =  
+
|list3 =
 
* [[Bermuda Stock Exchange|Stock Exchange]]
 
* [[Bermuda Stock Exchange|Stock Exchange]]
 
* [[Bermuda Monetary Authority|Monetary Authority]]
 
* [[Bermuda Monetary Authority|Monetary Authority]]
Line 46: Line 46:
  
 
|group4 = [[Communications in Bermuda|Communications]]
 
|group4 = [[Communications in Bermuda|Communications]]
|list4 =  
+
|list4 =
 
* [[.bm]]
 
* [[.bm]]
* [[List of North American Numbering Plan area codes|North American area codes]] ([[area code 441]])
+
* [[Area code 441]]
 
* ''[[The Royal Gazette]]''
 
* ''[[The Royal Gazette]]''
 
* [[Bermuda Broadcasting|Bermuda Broadcasting Company]]
 
* [[Bermuda Broadcasting|Bermuda Broadcasting Company]]
Line 55: Line 55:
 
** [[ZBM-TV]]
 
** [[ZBM-TV]]
 
** [[ZFB-TV]]
 
** [[ZFB-TV]]
* [[Postal codes in Bermuda]]
+
* [[Postal codes in Bermuda|Postal codes]]
  
 
|group5 = [[:Category:Environment of Bermuda|Environment]]
 
|group5 = [[:Category:Environment of Bermuda|Environment]]
|list5  = {{Navbox subgroup
+
|list5 =
|groupstyle = font-weight:normal;
+
  {{Navbox subgroup |groupstyle=font-weight:normal;
|list1 =  
+
  |list1 =
 
* [[Bermuda Triangle]]
 
* [[Bermuda Triangle]]
* [[Bermuda Institute of Ocean Sciences|BIOS]]
+
* [[Bermuda Institute of Ocean Sciences|Bermuda Institute of Ocean Sciences (BIOS)]]
 
* [[Bermuda National Trust|National Trust]]
 
* [[Bermuda National Trust|National Trust]]
 
* [[Coral reef]]
 
* [[Coral reef]]
 
* [[Sargasso Sea]]
 
* [[Sargasso Sea]]
 
* [[Spittal Pond, Bermuda|Spittal Pond]]
 
* [[Spittal Pond, Bermuda|Spittal Pond]]
|group2 = [[Flora and fauna in Bermuda|Flora]]
+
  |group2 = [[Flora and fauna in Bermuda|Flora]]
|list2 =  
+
  |list2 =
 
* [[Sweet onion|Bermuda Onion]]
 
* [[Sweet onion|Bermuda Onion]]
 
* [[Casuarina]]
 
* [[Casuarina]]
Line 76: Line 76:
 
* [[Sabal bermudana]]
 
* [[Sabal bermudana]]
 
* [[Sisyrinchium]]
 
* [[Sisyrinchium]]
|group3 = [[Flora and fauna in Bermuda|Fauna]]
+
  |group3 = [[Flora and fauna in Bermuda|Fauna]]
|list3 =  
+
  |list3 =
 
* [[Bermuda land snail]]
 
* [[Bermuda land snail]]
 
* [[Bermuda Petrel]]
 
* [[Bermuda Petrel]]
Line 94: Line 94:
  
 
|group6 = [[History of Bermuda|History]]
 
|group6 = [[History of Bermuda|History]]
|list6  = {{Navbox subgroup
+
|list6 =
|groupstyle = font-weight:normal;
+
  {{Navbox subgroup |groupstyle=font-weight:normal;
|list1 =  
+
  |list1 =
 
* [[Bermuda sloop|Sloop]]
 
* [[Bermuda sloop|Sloop]]
 
* [[Bermuda Railway|Railway]]
 
* [[Bermuda Railway|Railway]]
 
* [[:Category:Hurricanes in Bermuda|Hurricane strikes]]
 
* [[:Category:Hurricanes in Bermuda|Hurricane strikes]]
 
+
  |group2 = [[Colonization|Colonisation]]
|group2 = [[Colonization|Colonisation]]
+
  |list2 =
|list2 =  
 
 
* [[Eleuthera]]
 
* [[Eleuthera]]
 
* [[History of the Turks and Caicos Islands]]
 
* [[History of the Turks and Caicos Islands]]
Line 109: Line 108:
 
* [[George Somers]]
 
* [[George Somers]]
 
* [[Somers Isles Company]]
 
* [[Somers Isles Company]]
 
+
  |group3 = [[Military of Bermuda|Military history]]
|group3 = [[Military of Bermuda|Military history]]
+
  |list3 =  
|list3 =  
+
* [[Bermuda Militias 1612–1815|Militias]]
* [[Bermuda Militias 1612–1815|Militias]] ([[Bermuda Militia 1612–1687|1612-1687]]
+
** [[Bermuda Militia 1612–1687|1612&ndash;1687]]
* [[Bermuda Militia 1687–1813|1687-1813]]
+
** [[Bermuda Militia 1687–1813|1687&ndash;1813]]
* [[Bermuda Militia 1813|1813]])
+
** [[Bermuda Militia 1813|1813]]
* [[Bermuda Volunteer/Territorial Army Units 1895-1965|Volunteer/Territorial Army Units 1895-1965]]
+
* [[Bermuda Volunteer/Territorial Army Units 1895-1965|Volunteer/Territorial Army Units 1895&ndash;1965]]
 
* [[North America and West Indies Station|North American Station]]
 
* [[North America and West Indies Station|North American Station]]
 
* [[Royal Air Force, Bermuda, 1939-1945|RAF in Bermuda during World War II]]
 
* [[Royal Air Force, Bermuda, 1939-1945|RAF in Bermuda during World War II]]
 
* [[USN Submarine Base, Ordnance Island, Bermuda|USN Submarine Base, Ordnance Island]]
 
* [[USN Submarine Base, Ordnance Island, Bermuda|USN Submarine Base, Ordnance Island]]
 
+
}}
}}
 
  
 
|group7 = [[Politics of Bermuda|Politics]]
 
|group7 = [[Politics of Bermuda|Politics]]
|list7 =  
+
|list7 =
 
* [[British Overseas Territories]]
 
* [[British Overseas Territories]]
 
* [[Governor of Bermuda|Governor]]
 
* [[Governor of Bermuda|Governor]]
Line 136: Line 134:
  
 
}}<noinclude>
 
}}<noinclude>
 +
 
<br/>{{collapsible option}}
 
<br/>{{collapsible option}}
 +
Note: It's now possible to omit the "state=".
  
 
[[Category:Bermuda templates| ]]
 
[[Category:Bermuda templates| ]]
 
[[Category:Country and territory topics templates]]
 
[[Category:Country and territory topics templates]]
 
</noinclude>
 
</noinclude>

Revision as of 23:16, 24 November 2012


Initial visibility: currently defaults to autocollapse

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

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