Template:Country data Canada
From Wikinfo
This is the documentation for Template:Country data Canada. It is automatically generated by Template:Country showdata
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.
|
|
This template is within the scope of WikiProject Flag Template, a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page. |
Please purge the cache after making any changes to this template.
Contents |
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 above right) |
Flag variants
- For more details on this topic, see Flag of Canada.
| 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}} → File:Naval Jack of Canada.svg
This template includes an air force ensign flag variant that can be used with Template:Air force:
- {{air force|Canada}} → Template:Air force
- {{flagicon|Canada|air force}} → File:Canadian Air Command flag.svg
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) |
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}} → File:Flag of Canada-1868-Red.svg
- Using a redirect alias
Adapted from the Wikipedia template "Template:Country data Canada" http://en.wikipedia.org/w/index.php?title=Template:Country_data_Canada&oldid=177512149 released under the GNU Free Documentation License 1.2

