Template:Country data Eswatini

![]() | This template is used on approximately 5,300 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | Template:Country data Eswatini is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag , flag icon , 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 |
Eswatini
| Main article name (Eswatini) |
shortname alias |
Eswatini |
(optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
flag alias |
Flag of Eswatini.svg |
Image name (File:Flag of Eswatini.svg, shown on right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
1890 | ![]() | Flag of Swaziland (c. 1890-1894).svg |
1894 | ![]() | Flag of Swaziland (1894–1902).svg |
1968 | ![]() | Flag of Swaziland (1968–2011).svg |
Redirect aliases
Alias name | {{flag|alias}} output | {{flag country|alias}} output |
---|---|---|
SWZ (view) | ![]() | ![]() |
See What links here for a full list of redirects.
Example usage
Using a flag variant
{{flag|Eswatini|1890}}
→Eswatini
{{flag icon|Eswatini|1890}}
→
Using a redirect alias
Military ensigns
This nation's air force ensign is the same as its national flag, so Template:Air force produces the following:
{{air force|Eswatini}}
→Eswatini Air Force
This nation's military ensign is the same as its national flag, so Template: Armed forces produces the following:
{{Armed forces|Eswatini}}
→Umbutfo Eswatini Defence Force
This nation's army ensign is the same as its national flag, so Template:Army produces the following:
{{army|Eswatini}}
→Eswatini Army
Related templates
Please see the following related country_data
templates:
Other information
Rather than redirecting {{Country data Swaziland}} to {{Country data Eswatini}}, the former template transcludes the latter and passes through all parameters. The linked article will always be "Eswatini", but the displayed name is either "Swaziland" or "Eswatini" based on which of the two templates is used, even in templates that usually have a fixed default display name (such as {{flag country}} and {{fb}}). This allows for "Swaziland" to be used in historical contexts without having to also set |name=
.
Examples
Template | Eswatini output |
Swaziland output
|
---|---|---|
{{flag|SWZ}} |
![]() |
![]() |
{{flag country|SWZ}} |
![]() |
![]() |
{{flag icon|SWZ}} |
![]() |
![]() |
{{fb|SWZ}} |
![]() |
![]() |
TemplateData
TemplateData for Country data Eswatini
This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flag icon. 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 |