Template:Country data Canada: Difference between revisions
meta>Andrwsc remove unnecessary protection template already in Template:Country showdata using AWB |
meta>Andrwsc add support for Template:Air force |
||
Line 9: | Line 9: | ||
| flag alias-naval-1957 = Canadian Blue Ensign.svg | | flag alias-naval-1957 = Canadian Blue Ensign.svg | ||
| link alias-naval = Canadian Forces Maritime Command | | link alias-naval = Canadian Forces Maritime Command | ||
| flag alias-air force = Canadian Air Command flag.svg | |||
| flag alias-air force-1924 = Ensign of the Royal Canadian Air Force.svg | |||
| link alias-air force = Canadian Forces Air Command | |||
| link alias-ice hockey = Canada national {{{mw|men's}}} ice hockey team | | link alias-ice hockey = Canada national {{{mw|men's}}} ice hockey team | ||
| link alias-football = Canada {{{mw|men's}}} national soccer team | | link alias-football = Canada {{{mw|men's}}} national soccer team | ||
Line 23: | Line 26: | ||
| var4 = naval-1921 | | var4 = naval-1921 | ||
| var5 = naval-1957 | | var5 = naval-1957 | ||
| var6 = air force-1924 | |||
| redir1 = CAN | | redir1 = CAN | ||
</noinclude> | </noinclude> |
Revision as of 21:17, 12 December 2007
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:Flag of Canada-1868-Red.svg | Flag of Canada-1868-Red.svg |
1921 | File:Canadian Red Ensign 1921.svg | Canadian Red Ensign 1921.svg |
1957 | File:Canadian Red Ensign.svg | Canadian Red Ensign.svg |
naval-1921 | File:Canadian Blue Ensign 1921.svg | Canadian Blue Ensign 1921.svg |
naval-1957 | File:Canadian Blue Ensign.svg | Canadian Blue Ensign.svg |
air force-1924 | File:Ensign of the Royal Canadian Air Force.svg | Ensign of the Royal Canadian Air Force.svg |
naval | File:Naval Jack of Canada.svg | Naval Jack of Canada.svg |
air force | File:Canadian Air Command flag.svg | Canadian Air Command 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 Canadian Forces Maritime Command{{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:Canadian Air Command flag.svg Canadian Forces Air Command{{Flagicon|Canada|air force}}
→ 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:Flag of Canada-1868-Red.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 |
af:Sjabloon:Landdata Kanada sl:Predloga:Podatki države Kanada simple:Template:Country data Canada