Template:Country data Spain

From USNW Wiki
Jump to navigation Jump to search
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 above right)

Flag variants

LabelFlag image (40px)Image name
1506Flag of Cross of Burgundy.svgFlag of Cross of Burgundy.svg
1701Flag of Spain (1701–1760).svgBandera de España 1701-1748.svg
1748Flag of Spain (1760–1785).svgBandera de España 1748-1785.svg
1785Flag of Spain (1785–1873, 1875–1931).svgFlag of Spain (1785-1873 and 1875-1931).svg
1873Flag of the First Spanish Republic.svgFlag of the First Spanish Republic.svg
1931Flag of Spain (1931–1939).svgFlag of Spain (1931 - 1939).svg
1938Flag of Spain (1938–1945).svgFlag of Spain (1938 - 1945).svg
1945Flag of Spain (1945–1977).svgFlag of Spain (1945 - 1977).svg
1977Flag of Spain (1977–1981).svgFlag of Spain (1977 - 1981).svg
civilBandMercante1785.svgBandMercante1785.svg

Military ensigns

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

  • {{navy|Expression error: Unexpected < operator.}} → {{country data Expression error: Unexpected < operator.

| navy/core | variant = | size = | name = }}

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

Example usage

  • {{flag|Expression error: Unexpected < operator.}} → {{country data Expression error: Unexpected < operator.|flag/core|name=Expression error: Unexpected < operator.|variant=|size=}}
  • {{flagicon|Expression error: Unexpected < operator.}} → {{country data Expression error: Unexpected < operator.|flagicon/core|variant=|size=}}

Using a flag variant

  • {{flag|Expression error: Unexpected < operator.|1506}} → {{country data Expression error: Unexpected < operator.|flag/core|name=Expression error: Unexpected < operator.|variant=1506|size=}}
  • {{flagicon|Expression error: Unexpected < operator.|1506}} → {{country data Expression error: Unexpected < operator.|flagicon/core|variant=1506|size=}}

Using a redirect alias

Related templates

Please see the following related country_data templates: