Template:Country data Canada: Difference between revisions
meta>Andrwsc remove unused 1965 variant. Same flag as current, no need for "historical" variant in this template for icon-sized images |
meta>Illegitimate Barrister c.e |
||
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-1964 = Flag of Canada (1964).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 30: | Line 31: | ||
| var2 = 1921 | | var2 = 1921 | ||
| var3 = 1957 | | var3 = 1957 | ||
| var4 = naval-1868 | | var4 = 1964 | ||
| | | var5 = naval-1868 | ||
| | | var6 = naval-1911 | ||
| | | var7 = naval-1921 | ||
| | | var8 = naval-1957 | ||
| | | var9 = air force-1924 | ||
| var10 = 1867-official | |||
| redir1 = CAN | | redir1 = CAN | ||
</noinclude> | </noinclude> | ||
}} | }} |
Revision as of 04:42, 29 December 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 |
1964 | File:Flag of Canada (1964).svg | Flag of Canada (1964).svg |
naval-1868 | File:Canadian Blue Ensign 1868-1921.svg | Canadian Blue Ensign 1868-1921.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 |
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 | 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 |
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 nation's army ensign is the same as its national flag, so Template:Army produces the following:{{Army|Canada}}
→ Canadian 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 |