Template:Country data Canada: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
| flag alias-naval = Naval Jack of Canada.svg |
| flag alias-naval = Naval Jack of Canada.svg |
||
| link alias-naval = Royal Canadian Navy |
| link alias-naval = Royal Canadian Navy |
||
| flag alias-naval-1868 = Canadian Blue Ensign 1868-1921.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 |
Revision as of 09:39, 9 January 2018
<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 |
Province of Canada (view) | Template:Country data Province of Canada | Template:Country data Province of 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|1841}}
→ Canada{{flagicon|Canada|1841}}
→
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>