• Home
  • Random
  • Log in
  • Settings
  • About English Wikipedia @ Freddythechick
English Wikipedia @ Freddythechick

Template:Country data Canada/sandbox

  • Language
  • Watch
  • View source
< Template:Country data Canada
__EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Country data Canada (diff).
Template documentation
WarningThis template is used on approximately 239,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/sandbox is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flag icon, 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.
See also: Flag of Canada

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 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

Further information: Flag of Canada
LabelFlag image (40px)Image name
1867-officialFlag of the United Kingdom.svg
1868Canadian Red Ensign (1868–1921).svg
1905Canadian Red Ensign (1905–1922).svg
1907Canadian Red Ensign (1907–1921).png
1921Canadian Red Ensign (1921–1957).svg
1957Canadian Red Ensign (1957–1965).svg
1964Flag of Canada (1964).svg
1965Flag of Canada (WFB 2000).png
2004Flag of Canada (WFB 2004).gif
naval-1868Blue Ensign of Canada (1868–1921).svg
naval-1911Naval Ensign of the United Kingdom.svg
naval-1921Canadian Blue Ensign (1921–1957).svg
naval-1957Canadian Blue Ensign (1957–1965).svg
naval-1965Flag of Canada (Pantone).svg
air force-1924Ensign of the Royal Canadian Air Force.svg
army-1939Flag of the Canadian Army (1939–1944).svg
army-1968Flag of the Canadian Army (1968–1998).svg
army-1989Flag of the Canadian Army (1968–1998).svg
army-2013Flag of the Canadian Army (2013–2016).svg
navalNaval ensign of Canada.svg
militaryFlag of the Canadian Forces.svg
coast guardCoastguard Flag of Canada.svg
navyNaval ensign of Canada.svg
air forceRoyal Canadian Air Force ensign.svg
armyFlag 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{{flag country|alias}} output
CAN (view) CAN Canada
Province of Canada (view) Province of Canada Canada
Dominion of Canada (view) Dominion of Canada Canada

See What links here for a full list of redirects.

Example usage

  • {{flag|Canada/sandbox}} →  Canada/sandbox
  • {{flag icon|Canada/sandbox}} → Canada

Using a flag variant

  • {{flag|Canada/sandbox|1867-official}} →  Canada/sandbox
  • {{flag icon|Canada/sandbox|1867-official}} → Canada

Using a redirect alias

  • {{flag icon|CAN}} → Canada
  • {{flag country|CAN}} →  Canada
  • {{flag|CAN}} →  CAN

Military ensigns

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

  • {{naval|Canada/sandbox}} →  Royal Canadian Navy
  • {{flag icon|Canada/sandbox|naval}} → Canada

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

  • {{air force|Canada/sandbox}} →  Royal Canadian Air Force
  • {{flag icon|Canada/sandbox|air force}} → Canada

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

  • {{Armed forces|Canada/sandbox}} →  Canadian Armed Forces
  • {{flag icon|Canada/sandbox|military}} → Canada

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

  • {{navy|Canada/sandbox}} →  Royal Canadian Navy
  • {{flag icon|Canada/sandbox|navy}} → Canada

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

  • {{coast guard|Canada/sandbox}} →  Canadian Coast Guard
  • {{flag icon|Canada/sandbox|coast guard}} → Canada

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

  • {{army|Canada/sandbox}} →  Canadian Army
  • {{flag icon|Canada/sandbox|army}} → Canada



TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Country data Canada in articles based on its 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:Flag icon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified
This is the documentation for Template:Country data Canada/sandbox. It is automatically generated by Template:Country showdata.
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Please purge the cache after making any changes to this template.
Retrieved from "https://enwiki.freddythechick.net/index.php?title=Template:Country_data_Canada/sandbox&oldid=7271757"
Last edited on 9 August 2024, at 14:59

Languages

      This page is not available in other languages.

      English Wikipedia @ Freddythechick
      • This page was last edited on 9 August 2024, at 14:59.
      • Content is available under Creative Commons Attribution-ShareAlike 4.0 unless otherwise noted.
      • About English Wikipedia @ Freddythechick
      • Desktop