Template:Country data Catalonia
File:Test Template Info-Icon - Version (2).svg Template documentation
Warning | This template is used on approximately 3,200 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. |
File:Exclamationdiamond.svg | Template:Country data Catalonia is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag , flag icon , and others. |
File:Information icon4.svg | 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 |
Catalonia
| Main article name (Catalonia) |
flag alias |
Flag of Catalonia.svg |
Image name (File:Flag of Catalonia.svg, shown on right) |
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 |
---|---|---|
CAT (view) | Template:Country data CAT | Template:Country data CAT |
See What links here for a full list of redirects.
Example usage
{{flag|Catalonia}}
→ File:Flag of Catalonia.svg Catalonia{{flag icon|Catalonia}}
→ Catalonia
Using a redirect alias
{{flag icon|CAT}}
→ Template:Country data CAT{{flagcountry|CAT}}
→ Template:Country data CAT{{flag|CAT}}
→ Template:Country data CAT
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Country data Catalonia in articles based on its TemplateData.
TemplateData for Country data Catalonia
<templatedata> {
"description": "This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flag icon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.", "params": {}
} </templatedata>