Template:Country data Spain: Difference between revisions
meta>Mjroots + 1978 civil flag per talk |
meta>SiBr4 Duplicating old civil ensign with new name; tracking civil2 as well |
||
| Line 11: | Line 11: | ||
| flag alias-1945 = Flag of Spain (1945 - 1977).svg | | flag alias-1945 = Flag of Spain (1945 - 1977).svg | ||
| flag alias-1977 = Flag of Spain (1977 - 1981).svg | | flag alias-1977 = Flag of Spain (1977 - 1981).svg | ||
| flag alias-civil = BandMercante1785.svg | | flag alias-civil = BandMercante1785.svg <!-- being replaced --> | ||
| flag alias-civil-1785 = BandMercante1785.svg | |||
| flag alias-civil2 = Flag of Spain (Civil).svg | | flag alias-civil2 = Flag of Spain (Civil).svg | ||
| link alias-naval = Spanish Navy | | link alias-naval = Spanish Navy | ||
| Line 28: | Line 29: | ||
| var8 = 1945 | | var8 = 1945 | ||
| var9 = 1977 | | var9 = 1977 | ||
| var10 = civil | | var10 = civil-1785 | ||
| var11 = civil2 | <!--| var11 = civil2--> | ||
| redir1 = ESP | | redir1 = ESP | ||
| redir2 = SPA | | redir2 = SPA | ||
| Line 35: | Line 36: | ||
| related2 = Spanish State | | related2 = Spanish State | ||
</noinclude> | </noinclude> | ||
}}{{# | }}{{#switch:{{{variant|}}}|civil=[[Category:Pages with tracked country data flag variants|S]]|civil2=[[Category:Pages with tracked country data flag variants|T]]}} | ||
Revision as of 12:59, 28 September 2015
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 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
Military ensigns
This nation's naval ensign is the same as its national flag, so Template:Navy produces the following:
{{Navy|Spain}}→
Spanish Navy
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) | ||
SPA (view) |
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
Related templates
Please see the following related country_data templates:
- Template:Country data Spanish Republic
Spanish Republic - Template:Country data Spanish State
Spanish State
Other information
Country_data templates are also available for each of the seventeen Autonomous communities of Spain and two autonomous cities:
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 | ||||||