Template:Country data Canada

From Wikispooks
Revision as of 14:52, 6 July 2016 by Robin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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
196540pxFlag of Canada (WFB 2004).gif
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
coast guard40pxCoastguard Flag of Canada.svg
air force40pxRoyal Canadian Air Force ensign.svg
army40pxFlag of the Canadian Army.png

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 template includes a coast guard ensign flag variant that can be used with Template:Coast guard:

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

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) CAN Canada
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

  • {{flagicon|CAN}}Canada
  • {{flagcountry|CAN}} Canada
  • {{flag|CAN}} CAN


TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Country data Canada

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