Template:Country data Spain

From DYOS Wiki
Documentation icon Template documentation

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.

Flag of Spain.svg

Standard parameters

Parameter nameValueMeaning
alias Spain Main article name (Spain)
flag alias Flag of Spain.svg Image name (File:Flag of Spain.svg, shown on right)

Flag variants

LabelFlag image (40px)Image name
150640pxFlag of Cross of Burgundy.svg
170140pxBandera de España 1701-1748.svg
174840pxBandera de España 1748-1785.svg
178540pxFlag of Spain (1785-1873 and 1875-1931).svg
187340pxFlag of the First Spanish Republic.svg
193140pxFlag of Spain (1931 - 1939).svg
193840pxFlag of Spain (1938 - 1945).svg
194540pxFlag of Spain (1945 - 1977).svg
197740pxFlag of Spain (1977 - 1981).svg
civil40pxFlag of Spain (Civil).svg

Military ensigns

This nation's naval ensign is the same as its national flag, so Template:Navy produces the following:

This nation's army ensign is the same as its national flag, so Template:Army produces the following:

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
ESP (view)Template:Country data ESPTemplate:Country data ESP
SPA (view)Template:Country data SPATemplate:Country data SPA

See What links here for a full list of redirects.

Example usage

  • {{flag|Spain}} Spain
  • {{flagicon|Spain}}Spain

Using a flag variant

Using a redirect alias

Related templates

Please see the following related country_data templates:


Template:TemplateDataHeader <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>