Template:Country data El Salvador
Documentation icon Template documentation
Template:Country data El Salvador 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 | El Salvador | Main article name (El Salvador) |
| flag alias | Flag of El Salvador.svg | Image name (File:Flag of El Salvador.svg, shown above right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
| 1839 | Flag of El Salvador (1839-1865).svg | |
| 1869 | El Salvador flag of 1869.svg |
Military ensigns
This nation's naval ensign is the same as its national flag, so Template:Navy produces the following:
- {{navy|El Salvador}} →
Navy of El Salvador
Redirect aliases
| Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
|---|---|---|
| SLV (view) | Template:Country data SLV | Template:Country data SLV |
| ESA (view) | Template:Country data ESA | Template:Country data ESA |
Example usage
- {{flag|El Salvador}} →
El Salvador - {{flagicon|El Salvador}} →

Using a flag variant
- {{flag|El Salvador|1839}} →
El Salvador - {{flagicon|El Salvador|1839}} →

Using a redirect alias
- {{flagicon|SLV}} → Template:Country data SLV
- {{flagcountry|SLV}} → Template:Country data SLV
- {{flag|SLV}} → Template:Country data SLV
| This is the documentation for Template:Country data El Salvador. It is automatically generated by Template:Country showdata. Please after making any changes to this template. Any categories and interlanguage links should be added to the template's /doc subpage, which does not exist yet. |