Pang-bô͘:Country data Spain

Documentation icon Pang-bô͘ bûn-su

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.

Standard parameters

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

Flag variants

LabelFlag image (40px)Image name
1506Flag of New Spain.svg
1701Bandera de España 1701-1748.svg
1748Bandera de España 1748-1785.svg
1785Flag of Spain (1785-1873 and 1875-1931).svg
1873Flag of the First Spanish Republic.svg
1931Flag of the Second Spanish Republic.svg
1939Flag of Spain (1938 - 1945).svg
1945Flag of Spain (1945–1977).svg
1977Flag of Spain (1977 - 1981).svg
civilFlag of Spain (civil variant).svg

Military ensigns

This nation's naval ensign is the same as its national flag, so Template:Navy 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) ESP Se-pan-gâ

See What links here for a full list of redirects.

Example usage

  • {{flag|Spain}} Spain
  • {{flagicon|Spain}}Se-pan-gâ

Using a flag variant

  • {{flag|Spain|1506}} Spain
  • {{flagicon|Spain|1506}}Se-pan-gâ

Using a redirect alias

  • {{flagicon|ESP}}Se-pan-gâ
  • {{flagcountry|ESP}} Se-pan-gâ
  • {{flag|ESP}} ESP


TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

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.

模板參數[編輯模板資料]

參數描述類型狀態
未指定參數