Difference between revisions of "Template:Canadian flags"

From blackwiki
Jump to navigation Jump to search
Line 9: Line 9:
 
| list1  =
 
| list1  =
 
* [[Flag of Canada|Canada]]
 
* [[Flag of Canada|Canada]]
* [[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]]
Line 57: Line 56:
 
| list6  =
 
| list6  =
 
* [[List of Canadian flags]]
 
* [[List of Canadian flags]]
 +
* [[Canadian Red Ensign|Red Ensign]]
 
* [[Historical flags of the British Empire and the overseas territories]]
 
* [[Historical flags of the British Empire and the overseas territories]]
 
}}<noinclude>
 
}}<noinclude>

Revision as of 06:42, 11 October 2019

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.