Template documentation

This is the documentation for Template:Country data Canada. It is automatically generated by Template:Country showdata

Template:Country data Canada is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others. For a more thorough discussion of the flag template system, including parameters not described here, please see Wikipedia:WikiProject Flag Template.

Please purge the cache after making any changes to this template.

File:Flag of Canada.svg

{{#ifexist: {{{alt attribute}}}

Standard parameters

Parameter name Value Meaning
alias Canada Main article name (Canada)
flag alias Flag of Canada.svg Image name (Image:Flag of Canada.svg, shown above right)

Flag variants

LabelFlag image (40px)Image name
1841Flag of the United Kingdom.svgFlag of the United Kingdom.svg
1867-officialFlag of the United Kingdom.svgFlag of the United Kingdom.svg
186840pxCanadian Red Ensign 1868-1921.svg
1921Canadian Red Ensign 1921-1957.svgCanadian Red Ensign 1921-1957.svg
195740pxCanadian Red Ensign (1957-1965).svg
196440pxFlag of Canada (1964).svg
196540pxFlag of Canada (WFB 2004).gif
naval-186840pxCanadian Blue Ensign 1868-1921.svg
naval-191140pxNaval Ensign of the United Kingdom.svg

Redirect aliases

This template can also be used via an alias name (implemented as a redirect to this template):
Alias name{{flag|alias}} output{{flagcountry|alias}} output
CAN (view)Flag of Canada CAN23x15px Canada
Province of Canada (view)Template:Country data Province of CanadaTemplate:Country data Province of Canada
Dominion of Canada (view)Template:Country data Dominion of CanadaTemplate:Country data Dominion of Canada

Example usage

Using a flag variant
  • {{flag|Canada|1841}}Flag of Canada Canada
  • {{flagicon|Canada|1841}}Canada
Using a redirect alias

Community content is available under CC-BY-SA unless otherwise noted.