Template:Country data Canada

From DYOS Wiki
Documentation icon Template documentation

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.

Flag of Canada.svg

Standard parameters

Parameter nameValueMeaning
alias Canada Main article name (Canada)
flag alias Flag of Canada.svg Image name (File:Flag of Canada.svg, shown on right)

Flag variants

LabelFlag image (40px)Image name
186840pxCanadian Red Ensign 1868-1921.svg
192140pxCanadian Red Ensign 1921-1957.svg
195740pxCanadian Red Ensign 1957-1965.svg
196440pxFlag of Canada (1964).svg
naval-186840pxCanadian Blue Ensign 1868-1921.svg
naval-191140pxNaval Ensign of the United Kingdom.svg
naval-192140pxCanadian Blue Ensign 1921-1957.svg
naval-195740pxCanadian Blue Ensign 1957-1965.svg
air force-192440pxEnsign of the Royal Canadian Air Force.svg
1867-officialFlag of the United Kingdom.svgFlag of the United Kingdom.svg
naval40pxNaval Jack of Canada.svg
air forceRoyal Canadian Air Force ensign.svgRoyal Canadian Air Force ensign.svg

Military ensigns

This template includes a naval ensign flag variant that can be used with Template:Navy:

This template includes an air force ensign flag variant that can be used with Template:Air force:

This nation's army ensign is the same as its national flag, so Template:Army produces the following:

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)Template:Country data CANTemplate:Country data CAN
Dominion of Canada (view)Template:Country data Dominion of CanadaTemplate:Country data Dominion of Canada

See What links here for a full list of redirects.

Example usage

  • {{flag|Canada}} Canada
  • {{flagicon|Canada}}Canada

Using a flag variant

Using a redirect alias


Template:TemplateDataHeader <templatedata> {

 "description": "This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.",
 "params": {}

} </templatedata>