Difference between revisions of "Template:Canada topics"

From blackwiki
Jump to navigation Jump to search
imported>Moxy
m (ce .. to .. groupwidth=5em... from... groupwidth=8em - no content change)
imported>Frietjes
(simplify code by using a navigational box wrapper template)
Line 1: Line 1:
{{Navbox  
+
{{Navbox Canada
 
| name    = Canada topics
 
| name    = Canada topics
 
| state    = <includeonly>{{{state|collapsed}}}</includeonly>
 
| state    = <includeonly>{{{state|collapsed}}}</includeonly>
| selected = {{{1|}}}
+
| title    = [[Canada]]  
| title    = [[File:Maple Leaf (from roundel).svg|20x20px|link=Canada|alt=]] [[Canada|<span style="color:#00006E">Canada</span>]]
+
| leaf    = yes
 
| bodyclass = hlist
 
| bodyclass = hlist
 +
| notopborder = yes
  
| basestyle  = background-color:white;
+
| group1 = [[History of Canada|History]]
| liststyle  = background-color:white;
+
| list1  = {{Navbox Canada|subgroup|groupwidth=5em
| groupstyle = border: 1px solid #CC0000;
+
| topborder = yes
 
+
| groupstyle = font-weight: normal
| list11style  = border-bottom: 1px solid #CC0000;
+
| group1 = [[List of years in Canada|Year List]]
 
 
| group1 = [[History of Canada|<span style="color:#00006E">History</span>]]
 
| list1  = {{Navbox|child|groupwidth=5em
 
| list1style = border-top: 1px solid #CC0000;
 
| liststyle  = background-color:white;
 
| groupstyle = font-weight: normal; background-color:white; border: 1px solid #CC0000;
 
| group1 = [[List of years in Canada|<span style="color:#00006E">Year List</span>]]
 
 
| list1  =
 
| list1  =
 
* [[Aboriginal peoples in Canada#History|Pre-colonization]]
 
* [[Aboriginal peoples in Canada#History|Pre-colonization]]
Line 42: Line 36:
 
}}
 
}}
 
| group2 = [[Provinces and territories of Canada|<font color=#00006E>Provinces<br>and territories</font>]]
 
| group2 = [[Provinces and territories of Canada|<font color=#00006E>Provinces<br>and territories</font>]]
| list2  = {{Navbox|child|groupwidth=5em
+
| list2  = {{Navbox Canada|subgroup|groupwidth=5em
| liststyle  = background-color:white;
+
| groupstyle = font-weight: normal
| groupstyle = font-weight: normal; background-color:white; border: 1px solid #CC0000;
 
 
| group1 = Provinces
 
| group1 = Provinces
 
| list1  =
 
| list1  =
Line 63: Line 56:
 
* [[Yukon]]
 
* [[Yukon]]
 
}}
 
}}
| group3 = [[Government of Canada|<span style="color:#00006E">Government</span>]]
+
| group3 = [[Government of Canada|Government]]
 
| list3  =
 
| list3  =
 
* [[Law of Canada|Law]]
 
* [[Law of Canada|Law]]
Line 71: Line 64:
 
* [[Parliament of Canada|Parliament]] ([[Senate of Canada|Senate]]
 
* [[Parliament of Canada|Parliament]] ([[Senate of Canada|Senate]]
 
* [[House of Commons of Canada|House of Commons]])
 
* [[House of Commons of Canada|House of Commons]])
* [[Prime Minister of Canada|Prime Minister]] ([[List of Prime Ministers of Canada|List]])<br> [[Court system of Canada|Courts]] ([[Supreme Court of Canada|Supreme Court]])
+
* [[Prime Minister of Canada|Prime Minister]] ([[List of Prime Ministers of Canada|List]])
 +
* [[Court system of Canada|Courts]] ([[Supreme Court of Canada|Supreme Court]])
 
* [[Canadian Forces|Military]]
 
* [[Canadian Forces|Military]]
 
* [[Municipal government in Canada|Local Government]]
 
* [[Municipal government in Canada|Local Government]]
Line 77: Line 71:
 
* [[Law enforcement in Canada|Law enforcement]]  
 
* [[Law enforcement in Canada|Law enforcement]]  
  
| group4 = [[Politics of Canada|<span style="color:#00006E">Politics</span>]]
+
| group4 = [[Politics of Canada|Politics]]
 
| list4  =
 
| list4  =
 
* [[Elections in Canada|Elections]]
 
* [[Elections in Canada|Elections]]
Line 84: Line 78:
 
* [[Multiculturalism in Canada|Multiculturalism]]  
 
* [[Multiculturalism in Canada|Multiculturalism]]  
  
| group5 = [[Geography of Canada|<span style="color:#00006E">Geography</span>]]
+
| group5 = [[Geography of Canada|Geography]]
| list5  = {{Navbox|child|groupwidth=5em
+
| list5  = {{Navbox Canada|subgroup|groupwidth=5em
| liststyle  = background-color:white;
+
| groupstyle = font-weight: normal
| groupstyle = font-weight: normal; background-color:white; border: 1px solid #CC0000;
+
| group1 = [[List of regions of Canada|<span style="color:darkblue">Regions]]<br/><small>(west to east)</small>
| group1 = [[List of regions of Canada|<span style="color:darkblue">Regions</span>]]<br/><small>(west to east)</small>
 
 
| list1  =
 
| list1  =
 
* [[Pacific Northwest]]
 
* [[Pacific Northwest]]
Line 121: Line 114:
 
}}
 
}}
  
| group6 = [[Economy of Canada|<span style="color:#00006E">Economy</span>]]
+
| group6 = [[Economy of Canada|Economy]]
 
| list6  =
 
| list6  =
 
* [[Agriculture in Canada|Agriculture]]
 
* [[Agriculture in Canada|Agriculture]]
Line 139: Line 132:
 
* [[Poverty in Canada|Poverty]]  
 
* [[Poverty in Canada|Poverty]]  
  
| group7 = <span style="color:#00006E">Society</span>
+
| group7 = Society
 
| list7  =
 
| list7  =
 
* [[Adolescent sexuality in Canada|Adolescent sexuality]]
 
* [[Adolescent sexuality in Canada|Adolescent sexuality]]
Line 148: Line 141:
 
* [[Smoking in Canada|Smoking]]
 
* [[Smoking in Canada|Smoking]]
  
| group8 = [[Demographics of Canada|<span style="color:#00006E">Demographics</span>]]
+
| group8 = [[Demographics of Canada|Demographics]]
| list8  = {{Navbox|child|groupwidth=5em
+
| list8  = {{Navbox Canada|subgroup|groupwidth=5em
| liststyle  = background-color:white;
+
| groupstyle = font-weight: normal
| groupstyle = font-weight: normal; background-color:white; border: 1px solid #CC0000;
 
 
| group1 = Topics
 
| group1 = Topics
 
| list1  =
 
| list1  =
Line 169: Line 161:
 
}}
 
}}
  
| group9  = [[Culture of Canada|<span style="color:#00006E">Culture</span>]]
+
| group9  = [[Culture of Canada|Culture]]
 
| list9  =
 
| list9  =
 
* [[Architecture of Canada|Architecture]]
 
* [[Architecture of Canada|Architecture]]
Line 185: Line 177:
 
* [[Sports in Canada|Sport]]
 
* [[Sports in Canada|Sport]]
 
* [[Theatre of Canada|Theatre]]
 
* [[Theatre of Canada|Theatre]]
| group10 = [[National symbols of Canada|<span style="color:#00006E">Symbols</span>]]
+
| group10 = [[National symbols of Canada|Symbols]]
 
| list10  =
 
| list10  =
 
* [[Arms of Canada|Coat of Arms]]
 
* [[Arms of Canada|Coat of Arms]]
Line 194: Line 186:
 
* [[Canadian royal symbols|Royal symbols]]
 
* [[Canadian royal symbols|Royal symbols]]
 
* [[Canadian heraldry|Heraldry]]
 
* [[Canadian heraldry|Heraldry]]
| group11 = <span style="color:#00006E">Overviews</span>
+
| group11 = Overviews
 
| list11  =
 
| list11  =
 
* [[Bibliography of Canada|Bibliography]]
 
* [[Bibliography of Canada|Bibliography]]

Revision as of 15:47, 10 April 2013

Template:Navbox Canada


Initial visibility: currently defaults to collapsed

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

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

ru:Шаблон:Канада в темах ta:வார்ப்புரு:கனடா