Template:Country data Canada: Difference between revisions
meta>Zscout370 clean up, replaced: Canadian Red Ensign.svg → Canadian Red Ensign 1957-1965.svg using AWB |
meta>Redrose64 replace two flags per Template talk:Country data Canada#Renamed files; add flag for {{flagicon|CAN|naval-1868}} |
||
Line 3: | Line 3: | ||
| flag alias = Flag of Canada.svg | | flag alias = Flag of Canada.svg | ||
| flag alias-1868 = Canadian Red Ensign 1868-1921.svg | | flag alias-1868 = Canadian Red Ensign 1868-1921.svg | ||
| flag alias-1921 = | | 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-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-1911 = Naval Ensign of the United Kingdom.svg | | flag alias-naval-1911 = Naval Ensign of the United Kingdom.svg | ||
| flag alias-naval-1921 = Canadian Blue Ensign 1921-1957.svg | | flag alias-naval-1921 = Canadian Blue Ensign 1921-1957.svg | ||
| flag alias-naval-1957 = Canadian Blue Ensign.svg | | flag alias-naval-1957 = Canadian Blue Ensign 1957-1965.svg | ||
| flag alias-1867-official = Flag of the United Kingdom.svg | | flag alias-1867-official = Flag of the United Kingdom.svg | ||
| link alias-naval = Royal Canadian Navy | | link alias-naval = Royal Canadian Navy | ||
Line 34: | Line 35: | ||
| var7 = air force-1924 | | var7 = air force-1924 | ||
| var8 = 1867-official | | var8 = 1867-official | ||
| var9 = naval-1868 | |||
| redir1 = CAN | | redir1 = CAN | ||
</noinclude> | </noinclude> | ||
}} | }} |
Revision as of 17:43, 22 February 2013
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 |
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 | File:Canadian Army Flag.svg | Canadian Army Flag.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}}
→ File:Canadian Army Flag.svg Canadian Army{{Flagicon|Canada|army}}
→ Canada
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 |