Template:Country data Canada: Difference between revisions
meta>JJMC89 ndashes per request |
meta>Illegitimate Barrister |
||
| Line 5: | Line 5: | ||
| flag alias-1867-official = Flag of the United Kingdom.svg | | flag alias-1867-official = Flag of the United Kingdom.svg | ||
| flag alias-1868 = Canadian Red Ensign (1868–1921).svg | | flag alias-1868 = Canadian Red Ensign (1868–1921).svg | ||
| flag alias-1905 = Canadian Red Ensign ( | | flag alias-1905 = Canadian Red Ensign (1905–1922).svg | ||
| flag alias-1907 = Canadian Red Ensign (1907-1921).png | | flag alias-1907 = Canadian Red Ensign (1907-1921).png | ||
| flag alias-1921 = Canadian Red Ensign (1921–1957).svg | | flag alias-1921 = Canadian Red Ensign (1921–1957).svg | ||
Revision as of 15:14, 22 May 2018
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
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
{{Navy|Canada}}→
Royal Canadian Navy{{Flagicon|Canada|naval}}→
This template includes an air force ensign flag variant that can be used with Template:Air force:{{Air force|Canada}}→
Royal Canadian Air Force{{Flagicon|Canada|air force}}→
This template includes a marine ensign flag variant that can be used with Template:Armed forces:{{Armed forces|Canada}}→
Canadian Armed Forces{{Flagicon|Canada|military}}→
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:{{Coast guard|Canada}}→
Canadian 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) | ||
Province of Canada (view) | ||
Dominion of Canada (view) |
See What links here for a full list of redirects.
Example usage
{{Flag|Canada}}→
Canada{{Flagicon|Canada}}→
Using a flag variant
{{Flag|Canada|1841}}→
Canada{{Flagicon|Canada|1841}}→
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 | ||||||