Difference between revisions of "Template:Canadian flags"

From blackwiki
Jump to navigation Jump to search
imported>Re5x
imported>Re5x
Line 8: Line 8:
 
| group1 = [[Canada|National]]
 
| group1 = [[Canada|National]]
 
| list1  =
 
| list1  =
 +
* [[Flag of Canada|Canada]]
 +
* [[Canadian Red Ensign|Red Ensign]]
 +
 +
| group4 = Personal flags
 +
| list4 =
 
* [[Royal standards of Canada|Royal family]]
 
* [[Royal standards of Canada|Royal family]]
 
* [[Flag of the Governor General of Canada|Governor General]]
 
* [[Flag of the Governor General of Canada|Governor General]]
* [[Flag of Canada|Canada]]
+
* [[Flags of the Lieutenant Governors of Canada|Lieutenant Governors]]
* [[Canadian Red Ensign|Red Ensign]]
 
  
 
| group2 = [[Provinces and territories of Canada|Provinces and<br/>territories]]
 
| group2 = [[Provinces and territories of Canada|Provinces and<br/>territories]]
 
| list2  =
 
| list2  =
* [[Flags of the Lieutenant Governors of Canada|Lieutenant Governors]]
+
 
 
* [[Flag of Alberta|Alberta]]
 
* [[Flag of Alberta|Alberta]]
 
* [[Flag of British Columbia|British Columbia]]
 
* [[Flag of British Columbia|British Columbia]]

Revision as of 12:13, 3 September 2017

Template:Navbox Canada

Template documentation

Initial visibility: currently defaults to autocollapse

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

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