Template documentation
This template is used on approximately 23,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Notice | Template:Country data Cuba 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 |
Cuba
| Main article name (Cuba) |
flag alias |
Flag of Cuba.svg |
Image name (File:Flag of Cuba.svg, shown on right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
1902 | File:Flag of Cuba (sky blue).svg | Flag of Cuba (sky blue).svg |
naval | File:Naval Jack of Cuba.svg | Naval Jack of Cuba.svg |
navy | File:Naval Jack of Cuba.svg | Naval Jack of Cuba.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 |
---|---|---|
CUB (view) | Template:Country data CUB | Template:Country data CUB |
Republic of Cuba (view) | Template:Country data Republic of Cuba | Template:Country data Republic of Cuba |
See What links here for a full list of redirects.
Example usage
{{flag|Cuba}}
→ File:Flag of Cuba.svg Cuba{{flagicon|Cuba}}
→ File:Flag of Cuba.svg [[Cuba|]]
Using a flag variant
{{flag|Cuba|1902}}
→ File:Flag of Cuba (sky blue).svg Cuba{{flagicon|Cuba|1902}}
→ File:Flag of Cuba (sky blue).svg [[Cuba|]]
Using a redirect alias
{{flagicon|CUB}}
→ Template:Country data CUB{{flagcountry|CUB}}
→ Template:Country data CUB{{flag|CUB}}
→ Template:Country data CUB
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Cuba}}
→ File:Naval Jack of Cuba.svg Cuban Revolutionary Navy{{flagicon|Cuba|naval}}
→ File:Naval Jack of Cuba.svg [[Cuba|]]
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Cuba}}
→ File:Naval Jack of Cuba.svg Cuban Revolutionary Navy{{flagicon|Cuba|navy}}
→ File:Naval Jack of Cuba.svg [[Cuba|]]
This nation's army ensign is the same as its national flag, so Template:Army produces the following:
{{army|Cuba}}
→ File:Flag of Cuba.svg Cuban Revolutionary Army
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.
TemplateData for Country data Cuba
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 |