Difference between revisions of "Template:Canadian flags"

From blackwiki
Jump to navigation Jump to search
(Revert the revert, paring this down to major cities plus 'more' link)
 
(5 intermediate revisions by 5 users not shown)
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 38: Line 37:
 
* [[Flag of Toronto|Toronto]]
 
* [[Flag of Toronto|Toronto]]
 
* [[Flag of Vancouver|Vancouver]]
 
* [[Flag of Vancouver|Vancouver]]
* [[Flag of Victoria, British Columbia|Victoria]]
 
* [[Flag of Windsor, Ontario|Windsor]]
 
 
* [[Flag of Winnipeg|Winnipeg]]
 
* [[Flag of Winnipeg|Winnipeg]]
 +
* ''[[List_of_Canadian_flags#Municipal|more]]''
  
 
| group4 = Military
 
| group4 = Military
Line 57: Line 55:
 
| 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>

Latest revision as of 20:19, 12 November 2020

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.