Template documentation

This is the documentation for Template:Country data Spain. It is automatically generated by Template:Country showdata

Template:Country data Spain is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as དར་ཆ།, flagicon, and others. For a more thorough discussion of the flag template system, including parameters not described here, please see en:Wikipedia:WikiProject Flag Template.

Standard parameters

Parameter name Value Meaning
alias Spain Main article name (Spain)
flag alias Flag of Spain.svg Image name (Image:Flag of Spain.svg, shown above right)

Flag variants

LabelFlag image (40px)Image name
1506Flag of Cross of Burgundy.svg
1701Flag of Spain (1701–1760).svg
1748Bandera de España 1748-1785.svg
1760Flag of Spain (1760–1785).svg
1785Flag of Spain (1785–1873, 1875–1931).svg
1873Flag of the First Spanish Republic.svg
1874Flag of Spain (1785–1873, 1875–1931).svg
1931Flag of Spain (1931–1939).svg
civil-1931Flag of the Second Spanish Republic (plain).svg
navalNaval Jack of Spain.svg
air forceFlag of Spain.svg

This template includes a naval ensign flag variant that can be used with Template:Navy:

  • {{navy|Spain}}Naval flag of Spain Spanish Navy
  • {{flagicon|Spain|naval}}Flag of Spain

Air force ensign

This template includes an air force ensign flag variant that can be used with Template:Air force:

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:རྒྱལ་ཁབ་ཀྱི་ཆ་འཕྲིན།ESPFlag of Spain Spain
SPA (view)Template:རྒྱལ་ཁབ་ཀྱི་ཆ་འཕྲིན།SPAFlag of Spain Spain

Example usage

Using a flag variant
Using a redirect alias

Please see the following related country_data templates: