Difference between revisions of "Template:Canada topics"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(simplify code by using a navigational box wrapper template)
imported>Frietjes
Line 35: Line 35:
 
* [[Territorial evolution of Canada|Territorial evolution]]
 
* [[Territorial evolution of Canada|Territorial evolution]]
 
}}
 
}}
| group2 = [[Provinces and territories of Canada|<font color=#00006E>Provinces<br>and territories</font>]]
+
| group2 = [[Provinces and territories of Canada|Provinces<br>and territories]]
 
| list2  = {{Navbox Canada|subgroup|groupwidth=5em
 
| list2  = {{Navbox Canada|subgroup|groupwidth=5em
 
| groupstyle = font-weight: normal
 
| groupstyle = font-weight: normal

Revision as of 15:48, 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:வார்ப்புரு:கனடா