Template:Country data Canada: Difference between revisions
meta>SiBr4 Changing army variant to national flag and tracking its usage |
meta>Illegitimate Barrister added 1965 variant |
||
Line 5: | Line 5: | ||
| flag alias-1921 = Canadian Red Ensign 1921-1957.svg | | flag alias-1921 = Canadian Red Ensign 1921-1957.svg | ||
| flag alias-1957 = Canadian Red Ensign 1957-1965.svg | | flag alias-1957 = Canadian Red Ensign 1957-1965.svg | ||
| flag alias-1965 = Flag of Canada (Pantone).svg | |||
| flag alias-naval = Naval Jack of Canada.svg | | flag alias-naval = Naval Jack of Canada.svg | ||
| flag alias-naval-1868 = Canadian Blue Ensign 1868-1921.svg | | flag alias-naval-1868 = Canadian Blue Ensign 1868-1921.svg | ||
Line 33: | Line 34: | ||
| var5 = naval-1921 | | var5 = naval-1921 | ||
| var6 = naval-1957 | | var6 = naval-1957 | ||
| var7 = air force-1924 | | var7 = naval-1965 | ||
| | | var8 = air force-1924 | ||
| | | var9 = 1867-official | ||
| var10 = naval-1868 | |||
| redir1 = CAN | | redir1 = CAN | ||
</noinclude> | </noinclude> | ||
}}{{#ifeq:{{{variant|}}}|army|[[Category:Pages with tracked country data flag variants|Canada]]}} | }}{{#ifeq:{{{variant|}}}|army|[[Category:Pages with tracked country data flag variants|Canada]]}} |
Revision as of 10:58, 28 June 2014
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.
Standard parameters
Parameter name | Value | Meaning |
---|---|---|
alias |
Canada |
Main article name (Canada) |
flag alias |
Flag of Canada.svg |
Image name (File:Flag of Canada.svg, shown on right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
1868 | File:Canadian Red Ensign 1868-1921.svg | Canadian Red Ensign 1868-1921.svg |
1921 | File:Canadian Red Ensign 1921-1957.svg | Canadian Red Ensign 1921-1957.svg |
1957 | File:Canadian Red Ensign 1957-1965.svg | Canadian Red Ensign 1957-1965.svg |
naval-1911 | Naval Ensign of the United Kingdom.svg | |
naval-1921 | File:Canadian Blue Ensign 1921-1957.svg | Canadian Blue Ensign 1921-1957.svg |
naval-1957 | File:Canadian Blue Ensign 1957-1965.svg | Canadian Blue Ensign 1957-1965.svg |
naval-1965 | [[File:{{{flag alias-naval-1965}}}|40px|border]] | {{{flag alias-naval-1965}}} |
air force-1924 | File:Ensign of the Royal Canadian Air Force.svg | Ensign of the Royal Canadian Air Force.svg |
1867-official | File:Flag of the United Kingdom.svg | Flag of the United Kingdom.svg |
naval-1868 | File:Canadian Blue Ensign 1868-1921.svg | Canadian Blue Ensign 1868-1921.svg |
naval | File:Naval Jack of Canada.svg | Naval Jack of Canada.svg |
coast guard | Coastguard Flag of Canada.svg | |
air force | File:Royal Canadian Air Force ensign.svg | Royal Canadian Air Force ensign.svg |
army | Flag of Canada.svg |
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
{{Navy|Canada}}
→ File:Naval Jack of Canada.svg Royal Canadian Navy{{Flagicon|Canada|naval}}
→ Canada
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}}
→ Canada
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:{{Coast guard|Canada}}
→ Canada Coast Guard{{Flagicon|Canada|coast guard}}
→
This template includes an army ensign flag variant that can be used with Template:Army:{{Army|Canada}}
→ Canadian Army{{Flagicon|Canada|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 |
See What links here for a full list of redirects.
Example usage
{{Flag|Canada}}
→ Canada{{Flagicon|Canada}}
→
Using a flag variant
{{Flag|Canada|1868}}
→ File:Canadian Red Ensign 1868-1921.svg Canada{{Flagicon|Canada|1868}}
→ Canada
Using a redirect alias
Other information
Country_data templates are also available for each of the thirteen provinces and territories of Canada:
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.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |