Difference between revisions of "Template:Mauritius topics"

From blackwiki
Jump to navigation Jump to search
imported>Yash400
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
Line 2: Line 2:
 
|name  = Mauritius topics
 
|name  = Mauritius topics
 
|state = <includeonly>{{{state|collapsed}}}</includeonly>
 
|state = <includeonly>{{{state|collapsed}}}</includeonly>
|title = {{flag|Mauritius}}&nbsp;topics
+
|title = {{flag|Mauritius}} topics
 +
|listclass = hlist
 
|titlestyle = background:#eee; <!--See [[Web colors]] for color references-->
 
|titlestyle = background:#eee; <!--See [[Web colors]] for color references-->
 
|image = [[Image:Coat_of_arms_of_Mauritius.svg|100px|Coat of arms of Mauritius]]
 
|image = [[Image:Coat_of_arms_of_Mauritius.svg|100px|Coat of arms of Mauritius]]
 
|groupstyle = padding:0.35em 1.0em; line-height:1.1em; <!--to reduce wide gap between wrapped groupname lines--> background:#eee;
 
|groupstyle = padding:0.35em 1.0em; line-height:1.1em; <!--to reduce wide gap between wrapped groupname lines--> background:#eee;
|liststyle  = padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous whole-->
 
  
 
|group1 = [[Districts of Mauritius|Districts]]
 
|group1 = [[Districts of Mauritius|Districts]]
|list1  = {{nowrap begin}} [[Black River District|Black River]]{{·w}} [[Flacq District|Flacq]]{{·w}} [[Grand Port District|Grand Port]]{{·w}} [[Moka District|Moka]]{{·w}} [[Pamplemousses District|Pamplemousses]]{{·w}} [[Plaines Wilhems District|Plaines Wilhems]]{{·w}} [[Port Louis District|Port Louis]]{{·w}} [[Rivière du Rempart District|Rivière du Rempart]]{{·w}} [[Savanne District|Savanne]] {{nowrap end}}
+
|list1  =  
 +
* [[Black River District|Black River]]
 +
* [[Flacq District|Flacq]]
 +
* [[Grand Port District|Grand Port]]
 +
* [[Moka District|Moka]]
 +
* [[Pamplemousses District|Pamplemousses]]
 +
* [[Plaines Wilhems District|Plaines Wilhems]]
 +
* [[Port Louis District|Port Louis]]
 +
* [[Rivière du Rempart District|Rivière du Rempart]]
 +
* [[Savanne District|Savanne]]  
  
 
|group2 = [[Territories and Dependencies of Mauritius|Dependencies and<br/>territories]]
 
|group2 = [[Territories and Dependencies of Mauritius|Dependencies and<br/>territories]]
|list2  = {{nowrap begin}} [[Agalega Islands]]{{·w}} [[Cargados Carajos|Cargados Carajos Shoals (St. Brandon)]]{{·w}} [[Rodrigues]]{{·w}} [[Soudan Banks]]{{·w}} [[Nazareth Bank]]{{·w}} [[Saya de Malha Bank]]{{·w}} [[Hawkins Bank]] {{nowrap end}}
+
|list2  =  
 +
* [[Agalega Islands]]
 +
* [[Cargados Carajos|Cargados Carajos Shoals (St. Brandon)]]
 +
* [[Rodrigues]]
 +
* [[Soudan Banks]]
 +
* [[Nazareth Bank]]
 +
* [[Saya de Malha Bank]]
 +
* [[Hawkins Bank]]  
  
 
|group3 = [[Territories and Dependencies of Mauritius|Territorial claims]]
 
|group3 = [[Territories and Dependencies of Mauritius|Territorial claims]]
|list3  = {{nowrap begin}} [[Chagos Archipelago]]{{·w}} [[Tromelin Island|Tromelin]] {{nowrap end}}
+
|list3  =  
 +
* [[Chagos Archipelago]]
 +
* [[Tromelin Island|Tromelin]]  
  
 
|group4 = [[Politics of Mauritius|Politics and<br/>government]]
 
|group4 = [[Politics of Mauritius|Politics and<br/>government]]
|list4  = {{nowrap begin}} [[National Assembly of Mauritius|National Assembly]]{{·w}} [[List of political parties in Mauritius|Political parties]]{{·w}} [[Elections in Mauritius|Elections]] {{nowrap end}}
+
|list4  =  
 +
* [[National Assembly of Mauritius|National Assembly]]
 +
* [[List of political parties in Mauritius|Political parties]]
 +
* [[Elections in Mauritius|Elections]]  
  
 
|group5 = [[Economy of Mauritius|Economy]]
 
|group5 = [[Economy of Mauritius|Economy]]
|list5  = {{nowrap begin}} [[Mauritian rupee|Currency]]{{·w}} [[List of companies of Mauritius|Companies]]{{·w}} [[Telecommunications in Mauritius|Communications]]{{·w}} [[Foreign relations of Mauritius|Foreign relations]]{{·w}} [[Transport in Mauritius|Transport]]{{·w}} [[Education in Mauritius|Educational sector]] {{nowrap end}}
+
|list5  =  
 +
* [[Mauritian rupee|Currency]]
 +
* [[List of companies of Mauritius|Companies]]
 +
* [[Telecommunications in Mauritius|Communications]]
 +
* [[Foreign relations of Mauritius|Foreign relations]]
 +
* [[Transport in Mauritius|Transport]]
 +
* [[Education in Mauritius|Educational sector]]  
  
 
|group6 = [[Demographics of Mauritius|People]]
 
|group6 = [[Demographics of Mauritius|People]]
|list6  = {{nowrap begin}} [[Mauritian Creole people|Creole]]{{·w}} [[Franco-Mauritian]]{{·w}} [[Indo-Mauritian]]{{·w}} [[Sino-Mauritian]] {{nowrap end}}
+
|list6  =  
 +
* [[Mauritian Creole people|Creole]]
 +
* [[Franco-Mauritian]]
 +
* [[Indo-Mauritian]]
 +
* [[Sino-Mauritian]]  
  
 
|group7 = Religion
 
|group7 = Religion
|list7  = {{nowrap begin}} [[Hinduism in Mauritius|Hinduism]]{{·w}} [[Christianity in Mauritius|Christianity]]{{·w}}[[Islam in Mauritius|Islam]] {{nowrap end}}
+
|list7  =  
 +
* [[Hinduism in Mauritius|Hinduism]]
 +
* [[Christianity in Mauritius|Christianity]]
 +
* [[Islam in Mauritius|Islam]]  
  
 
|group8 = [[Culture of Mauritius|Culture]]
 
|group8 = [[Culture of Mauritius|Culture]]
|list8  = {{nowrap begin}} [[List of Mauritians|Prominent Mauritians]]{{·w}} [[Mauritian Creole|Creole language]]{{·w}} [[Music of Mauritius|Music]] {{nowrap end}}
+
|list8  =  
 +
* [[List of Mauritians|Prominent Mauritians]]
 +
* [[Mauritian Creole|Creole language]]
 +
* [[Music of Mauritius|Music]]  
  
 
|group9 = [[:Category:Mauritius|Other topics]]
 
|group9 = [[:Category:Mauritius|Other topics]]
|list9  = {{nowrap begin}} [[History of Mauritius|History]]{{·w}} [[Military of Mauritius|Military]]{{·w}} [[Geography of Mauritius|Geography]] {{·w}} [[Football in Mauritius|Football]]{{·w}} [[Rugby union in Mauritius|Rugby]]{{·w}} [[Wildlife of Mauritius|Wildlife]] {{nowrap end}}
+
|list9  =  
 +
* [[History of Mauritius|History]]
 +
* [[Military of Mauritius|Military]]
 +
* [[Geography of Mauritius|Geography]]  
 +
* [[Football in Mauritius|Football]]
 +
* [[Rugby union in Mauritius|Rugby]]
 +
* [[Wildlife of Mauritius|Wildlife]]  
  
 
}}<noinclude>
 
}}<noinclude>
Line 39: Line 82:
 
{{collapsible option}}
 
{{collapsible option}}
 
<!--Categories-->
 
<!--Categories-->
[[Category:Country and territory topics templates|{{PAGENAME}}]]
+
[[Category:Country and territory topics templates]]
[[Category:Mauritius templates|{{PAGENAME}}]]
+
[[Category:Mauritius templates]]
 
<!--Other languages--></noinclude>
 
<!--Other languages--></noinclude>

Revision as of 19:19, 21 March 2012

Initial visibility: currently defaults to autocollapse

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

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