Template:Country data Espagne
Appearance
Template documentation
Template:Country data Espagne is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others.
This template is within the scope of WikiProject Flag Template, a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page. |
Standard parameters
Parameter name | Value | Meaning |
---|---|---|
alias | Espagne | Main article name (Espagne) |
flag alias | Flag of Spain.svg | Image name (File:Flag of Spain.svg, shown above right) |
Flag variants
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
- {{navy|Espagne}} → Armada espagnole
- {{flagicon|Espagne|naval}} → [[Image:Template:Country flag alias Espagne|border|25x20px|Template:Country alias Espagneの旗]]
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 | Spain |
Royaume d'Espagne (view) | Template:Country data Royaume d'Espagne | Template:Country data Royaume d'Espagne |
Example usage
- {{flag|Espagne}} → Espagne
- {{flagicon|Espagne}} → [[Image:Template:Country flag alias Espagne|border|25x20px|Template:Country alias Espagneの旗]]
Using a flag variant
- {{flag|Espagne|1506}} → Espagne
- {{flagicon|Espagne|1506}} → [[Image:Template:Country flag alias Espagne|border|25x20px|Template:Country alias Espagneの旗]]
Using a redirect alias
- {{flagicon|ESP}} → [[Image:Template:Country flag alias ESP|border|25x20px|Template:Country alias ESPの旗]]
- {{flagcountry|ESP}} → Spain
- {{flag|ESP}} → ESP