• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.215
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Country data Canada

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
File:Test Template Info-Icon - Version (2).svg Template documentation
File:Ambox warning orange.svgThis template is used on approximately 108,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.
NoticeTemplate: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.
File:Information icon4.svgThis 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.
File:Flag of Canada (Pantone).svg

Contents

  • 1 Standard parameters
  • 2 Flag variants
  • 3 Redirect aliases
  • 4 Example usage
    • 4.1 Using a flag variant
    • 4.2 Using a redirect alias
  • 5 Military ensigns
  • 6 Other information
  • 7 TemplateData

Standard parameters

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

Flag variants

LabelFlag image (40px)Image name
1867-officialFile:Flag of the United Kingdom.svgFlag of the United Kingdom.svg
1868File:Canadian Red Ensign (1868–1921).svgCanadian Red Ensign (1868–1921).svg
1905File:Canadian Red Ensign (1905–1922).svgCanadian Red Ensign (1905–1922).svg
1907File:Canadian Red Ensign (1907–1921).pngCanadian Red Ensign (1907–1921).png
1921File:Canadian Red Ensign (1921–1957).svgCanadian Red Ensign (1921–1957).svg
1957File:Canadian Red Ensign (1957–1965).svgCanadian Red Ensign (1957–1965).svg
1964File:Flag of Canada (1964).svgFlag of Canada (1964).svg
naval-1868File:Canadian Blue Ensign (1868–1921).svgCanadian Blue Ensign (1868–1921).svg
naval-1911File:Naval Ensign of the United Kingdom.svgNaval Ensign of the United Kingdom.svg
naval-1921File:Canadian Blue Ensign (1921–1957).svgCanadian Blue Ensign (1921–1957).svg
naval-1957File:Canadian Blue Ensign (1957–1965).svgCanadian Blue Ensign (1957–1965).svg
naval-1965File:Flag of Canada (Pantone).svgFlag of Canada (Pantone).svg
air force-1924File:Ensign of the Royal Canadian Air Force.svgEnsign of the Royal Canadian Air Force.svg
army-1939File:Flag of the Canadian Army (1939–1944).svgFlag of the Canadian Army (1939–1944).svg
army-1968File:Flag of the Canadian Army (1968–1998).gifFlag of the Canadian Army (1968–1998).gif
army-1989File:Flag of the Canadian Army (1968–1998).svgFlag of the Canadian Army (1968–1998).svg
army-2013File:Flag of the Canadian Army (2013–2016).pngFlag of the Canadian Army (2013–2016).png
navalFile:Naval ensign of Canada; Naval jack of Canada (1968–2013).svgNaval ensign of Canada; Naval jack of Canada (1968–2013).svg
militaryFile:Flag of the Canadian Forces.svgFlag of the Canadian Forces.svg
coast guardFile:Coastguard Flag of Canada.svgCoastguard Flag of Canada.svg
navyFile:Naval ensign of Canada; Naval jack of Canada (1968–2013).svgNaval ensign of Canada; Naval jack of Canada (1968–2013).svg
air forceFile:Royal Canadian Air Force ensign.svgRoyal Canadian Air Force ensign.svg
armyFile:Flag of the Canadian Army.svgFlag of the Canadian Army.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)File:Flag of Canada (Pantone).svg CANFile:Flag of Canada (Pantone).svg Canada
Province of Canada (view)File:Flag of Canada (Pantone).svg Province of CanadaFile:Flag of Canada (Pantone).svg Canada
Dominion of Canada (view)File:Flag of Canada (Pantone).svg Dominion of CanadaFile:Flag of Canada (Pantone).svg Canada

See What links here for a full list of redirects.

Example usage

  • {{flag|Canada}} → File:Flag of Canada (Pantone).svg Canada
  • {{flagicon|Canada}} → File:Flag of Canada (Pantone).svg

Using a flag variant

  • {{flag|Canada|1867-official}} → File:Flag of the United Kingdom.svg Canada
  • {{flagicon|Canada|1867-official}} → File:Flag of the United Kingdom.svg

Using a redirect alias

  • {{flagicon|CAN}} → File:Flag of Canada (Pantone).svg
  • {{flagcountry|CAN}} → File:Flag of Canada (Pantone).svg Canada
  • {{flag|CAN}} → File:Flag of Canada (Pantone).svg CAN

Military ensigns

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

  • {{naval|Canada}} → File:Naval ensign of Canada; Naval jack of Canada (1968–2013).svg Royal Canadian Navy
  • {{flagicon|Canada|naval}} → File:Naval ensign of Canada; Naval jack of Canada (1968–2013).svg

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

  • {{air force|Canada}} → File:Royal Canadian Air Force ensign.svg Royal Canadian Air Force
  • {{flagicon|Canada|air force}} → File:Royal Canadian Air Force ensign.svg

This template includes a marine ensign flag variant that can be used with Template:Armed forces:

  • {{Armed forces|Canada}} → File:Flag of the Canadian Forces.svg Canadian Armed Forces
  • {{flagicon|Canada|military}} → File:Flag of the Canadian Forces.svg

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

  • {{navy|Canada}} → File:Naval ensign of Canada; Naval jack of Canada (1968–2013).svg Royal Canadian Navy
  • {{flagicon|Canada|navy}} → File:Naval ensign of Canada; Naval jack of Canada (1968–2013).svg

This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:

  • {{coast guard|Canada}} → File:Coastguard Flag of Canada.svg Canadian Coast Guard
  • {{flagicon|Canada|coast guard}} → File:Coastguard Flag of Canada.svg

This template includes an army ensign flag variant that can be used with Template:Army:

  • {{army|Canada}} → File:Flag of the Canadian Army.svg Canadian Army
  • {{flagicon|Canada|army}} → File:Flag of the Canadian Army.svg


Other information

Country_data templates are also available for each of the thirteen provinces and territories of Canada:

Template:Country data Alberta File:Flag of Alberta.svg Alberta
Template:Country data British Columbia File:Flag of British Columbia.svg British Columbia
Template:Country data Manitoba File:Flag of Manitoba.svg Manitoba
Template:Country data New Brunswick File:Flag of New Brunswick.svg New Brunswick
Template:Country data Newfoundland and Labrador File:Flag of Newfoundland and Labrador.svg Newfoundland and Labrador
Template:Country data Northwest Territories File:Flag of the Northwest Territories.svg Northwest Territories
Template:Country data Nova Scotia File:Flag of Nova Scotia.svg Nova Scotia
Template:Country data Nunavut File:Flag of Nunavut.svg Nunavut
Template:Country data Ontario File:Flag of Ontario.svg Ontario
Template:Country data Prince Edward Island File:Flag of Prince Edward Island.svg Prince Edward Island
Template:Country data Quebec File:Flag of Quebec.svg Quebec
Template:Country data Saskatchewan File:Flag of Saskatchewan.svg Saskatchewan
Template:Country data Yukon File:Flag of Yukon.svg Yukon

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Country data Canada

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.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified
This is the documentation for Template:Country data Canada. It is automatically generated by Template:Country showdata.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please purge the cache after making any changes to this template.
This template has a /doc subpage for the purposes of categories and documentation specific to this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Country_data_Canada&oldid=10386"
Categories:
  • Pages with broken file links
  • Country data templates of countries
  • Country data templates of Canada
  • Templates using TemplateData
  • Country data templates with documentation subpage
  • All country data templates
Last edited on 26 February 2022, at 17:55

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 26 February 2022, at 17:55.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop