Template:Country data Spain
Template:Country data Spain 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 |
Spain
| Main article name (Spain) |
flag alias |
Flag of Spain.svg |
Image name (File:Flag of Spain.svg, shown on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
1506 | Error creating thumbnail: | Flag of Cross of Burgundy.svg |
1701 | File:Bandera de España 1701-1748.svg | Bandera de España 1701-1748.svg |
1748 | Error creating thumbnail: | Bandera de España 1748-1785.svg |
1785 | Error creating thumbnail: | Flag of Spain (1785-1873 and 1875-1931).svg |
1873 | Error creating thumbnail: | Flag of the First Spanish Republic.svg |
1931 | File:Flag of Spain (1931 - 1939).svg | Flag of Spain (1931 - 1939).svg |
1938 | Flag of Spain (1938 - 1945).svg | |
1945 | File:Flag of Spain (1945 - 1977).svg | Flag of Spain (1945 - 1977).svg |
1977 | File:Flag of Spain (1977 - 1981).svg | Flag of Spain (1977 - 1981).svg |
civil-1785 | Error creating thumbnail: | BandMercante1785.svg |
civil | Flag of Spain (Civil).svg |
Military ensigns
This nation's naval ensign is the same as its national flag, so Template:Navy produces the following:
{{navy|Spain}}→
Spanish Navy
This nation's army ensign is the same as its national flag, so Template:Army produces the following:
{{army|Spain}}→ Template:Army
Redirect aliases
| Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
|---|---|---|
ESP (view) | Template:Country data ESP | Template:Country data ESP |
SPA (view) | Template:Country data SPA | Template:Country data SPA |
See What links here for a full list of redirects.
Example usage
{{flag|Spain}}→
Spain{{flagicon|Spain}}→
Using a flag variant
{{flag|Spain|1506}}→
Spain{{flagicon|Spain|1506}}→
Using a redirect alias
{{flagicon|ESP}}→ Template:Country data ESP{{flagcountry|ESP}}→ Template:Country data ESP{{flag|ESP}}→ Template:Country data ESP
Related templates
Please see the following related country_data templates:
- Template:Country data Spanish RepublicTemplate:Country data Spanish Republic
- Template:Country data Spanish StateTemplate:Country data Spanish State
TemplateData
TemplateData for Country data Spain
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 | ||||||