Vorlage:Country data Canada
Warning | This 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. |
Datei:OOjs UI icon information-progressive.svg | 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).png |
Image name (File:Flag of Canada (Pantone).png, shown on right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
1867-official | Datei:Flag of the United Kingdom.png | Flag of the United Kingdom.png |
1868 | Datei:Canadian Red Ensign (1868–1921).png | Canadian Red Ensign (1868–1921).png |
1905 | Datei:Canadian Red Ensign (1905–1922).png | Canadian Red Ensign (1905–1922).png |
1907 | Datei:Canadian Red Ensign (1907–1921).png | Canadian Red Ensign (1907–1921).png |
1921 | Datei:Canadian Red Ensign (1921–1957).png | Canadian Red Ensign (1921–1957).png |
1957 | Datei:Canadian Red Ensign (1957–1965).png | Canadian Red Ensign (1957–1965).png |
1964 | Datei:Flag of Canada (1964).png | Flag of Canada (1964).png |
1965 | Datei:Flag of Canada (WFB 2000).png | Flag of Canada (WFB 2000).png |
2004 | Datei:Flag of Canada (WFB 2004).gif | Flag of Canada (WFB 2004).gif |
naval-1868 | Datei:Blue Ensign of Canada (1868–1921).png | Blue Ensign of Canada (1868–1921).png |
naval-1911 | Datei:Naval Ensign of the United Kingdom.png | Naval Ensign of the United Kingdom.png |
naval-1921 | Datei:Canadian Blue Ensign (1921–1957).png | Canadian Blue Ensign (1921–1957).png |
naval-1957 | Datei:Canadian Blue Ensign (1957–1965).png | Canadian Blue Ensign (1957–1965).png |
naval-1965 | Flag of Canada (Pantone).png | |
air force-1924 | Datei:Ensign of the Royal Canadian Air Force.png | Ensign of the Royal Canadian Air Force.png |
army-1939 | Datei:Flag of the Canadian Army (1939–1944).png | Flag of the Canadian Army (1939–1944).png |
army-1968 | Datei:Flag of the Canadian Army (1968–1998).png | Flag of the Canadian Army (1968–1998).png |
army-1989 | Datei:Flag of the Canadian Army (1968–1998).png | Flag of the Canadian Army (1968–1998).png |
army-2013 | Datei:Flag of the Canadian Army (2013–2016).png | Flag of the Canadian Army (2013–2016).png |
naval | Datei:Naval ensign of Canada.png | Naval ensign of Canada.png |
military | Datei:Flag of the Canadian Forces.png | Flag of the Canadian Forces.png |
coast guard | Datei:Coastguard Flag of Canada.png | Coastguard Flag of Canada.png |
navy | Datei:Naval ensign of Canada.png | Naval ensign of Canada.png |
air force | Datei:Royal Canadian Air Force ensign.png | Royal Canadian Air Force ensign.png |
army | Datei:Flag of the Canadian Army.png | Flag of the Canadian Army.png |
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) | Vorlage:Flag | Vorlage:Flag country |
Province of Canada (view) | Vorlage:Flag | Vorlage:Flag country |
Dominion of Canada (view) | Vorlage:Flag | Vorlage:Flag country |
See What links here for a full list of redirects.
Example usage
{{flag|Canada}}
→ Vorlage:Flag{{flag icon|Canada}}
→
Using a flag variant
{{flag|Canada|1867-official}}
→ Vorlage:Flag{{flag icon|Canada|1867-official}}
→ Canada
Using a redirect alias
{{flag icon|CAN}}
→ Vorlage:Country data CANVorlage:Namespace detect showall{{flag country|CAN}}
→ Vorlage:Flag country{{flag|CAN}}
→ Vorlage:Flag
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Canada}}
→ Vorlage:Naval{{flag icon|Canada|naval}}
→ CanadaVorlage:Break
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Canada}}
→ Vorlage:Air force{{flag icon|Canada|air force}}
→ CanadaVorlage:Break
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|Canada}}
→ Vorlage:Armed forces{{flag icon|Canada|military}}
→ CanadaVorlage:Break
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Canada}}
→ Vorlage:Navy{{flag icon|Canada|navy}}
→ CanadaVorlage:Break
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:
{{coast guard|Canada}}
→ Vorlage:Coast guard{{flag icon|Canada|coast guard}}
→ CanadaVorlage:Break
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Canada}}
→ Vorlage:Army{{flag icon|Canada|army}}
→ Canada
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
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:Flag icon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.", "params": {}
} </templatedata>
[[Category:Template documentation pages{{#translation:}}]]