Template:Country data Canada: Difference between revisions
Content added Content deleted
(New army flag file (see Template talk:Flagicon#Canadian Army)) |
(Replacing Canadian_Red_Ensign_1957-1965.svg with File:Canadian_Red_Ensign_(1957-1965).svg (by CommonsDelinker because: File renamed: parenthesis).) |
||
Line 4: | Line 4: | ||
| flag alias-1868 = Canadian Red Ensign 1868-1921.svg |
| flag alias-1868 = Canadian Red Ensign 1868-1921.svg |
||
| 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-1964 = Flag of Canada (1964).svg |
||
| flag alias-naval = Naval Jack of Canada.svg |
| flag alias-naval = Naval Jack of Canada.svg |
Revision as of 19:39, 11 December 2015
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation
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. |
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 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}}
→ 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) | CAN | Canada |
Dominion of Canada (view) | Template:Country data Dominion of Canada | Template:Country data Dominion of 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}}
→ Canada{{flagicon|Canada|1868}}
→
Using a redirect alias
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.
TemplateData for Country data Canada
<templatedata> {
"description": "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.", "params": {}
} </templatedata>