Template:Country data Canada
| This template is used on approximately 237,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
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.
| This template is within the scope of WikiProject Flag Template, a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page. |
Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
| alias | Canada | Main article name (Canada) |
| flag alias | Flag of Canada (Pantone).svg | Image name (File:Flag of Canada (Pantone).svg, shown above right) |
Flag variants
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
- {{navy|Canada}} → Template:Navy
- {{flagicon|Canada|naval}} →
This template includes an air force ensign flag variant that can be used with Template:Air force:
- {{air force|Canada}} → Template:Air force
- {{flagicon|Canada|air force}} → Error creating thumbnail:
This template includes an army ensign flag variant that can be used with Template:Army:
- {{army|Canada}} → Template:Army
- {{flagicon|Canada|army}} → Error creating thumbnail:
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) | Error creating thumbnail: CAN | Error creating thumbnail: Canada |
| Province of Canada (view) | Template:Country data Province of Canada | Template:Country data Province of Canada |
| Dominion of Canada (view) | Template:Country data Dominion of Canada | Template:Country data Dominion of Canada |
Example usage
- {{flag|Canada}} → Error creating thumbnail: Canada
- {{flagicon|Canada}} → Error creating thumbnail:
Using a flag variant
- {{flag|Canada|1867-official}} → Error creating thumbnail: Canada
- {{flagicon|Canada|1867-official}} → Error creating thumbnail:
Using a redirect alias
- {{flagicon|CAN}} → Error creating thumbnail:
- {{flagcountry|CAN}} → Error creating thumbnail: Canada
- {{flag|CAN}} → Error creating thumbnail: CAN