Template:Country data Eswatini
| Warning | 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. |
| File:Exclamationdiamond.svg | 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. |
| File:Information icon4.svg | 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 | File:Flag of Swaziland (c. 1890-1894).svg | Flag of Swaziland (c. 1890-1894).svg |
1894 | File:Flag of Swaziland (1894–1902).svg | Flag of Swaziland (1894–1902).svg |
1968 | File:Flag of Swaziland (1968–2011).svg | Flag of Swaziland (1968–2011).svg |
Redirect aliases
| Alias name | {{flag|alias}} output | {{flag country|alias}} output |
|---|---|---|
SWZ (view) | File:Flag of Eswatini.svg SWZ | File:Flag of Eswatini.svg Eswatini |
See What links here for a full list of redirects.
Example usage
{{flag|Eswatini}}→ File:Flag of Eswatini.svg Eswatini{{flag icon|Eswatini}}→ Eswatini{{flag country|Eswatini}}→ File:Flag of Eswatini.svg Eswatini
Using a flag variant
{{flag|Eswatini|1890}}→ File:Flag of Swaziland (c. 1890-1894).svg Eswatini{{flag icon|Eswatini|1890}}→ Eswatini
Using a redirect alias
{{flag icon|SWZ}}→ Eswatini{{flag country|SWZ}}→ File:Flag of Eswatini.svg Eswatini{{flag|SWZ}}→ File:Flag of Eswatini.svg SWZ
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}}→ File:Flag of Eswatini.svg 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}}→ File:Flag of Eswatini.svg Umbutfo Eswatini Defence Force
This nation's army ensign is the same as its national flag, so Template:Army produces the following:
{{army|Eswatini}}→ File:Flag of Eswatini.svg 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}} |
File:Flag of Eswatini.svg Eswatini | File:Flag of Eswatini.svg Swaziland |
{{flag country|SWZ}} |
File:Flag of Eswatini.svg Eswatini | File:Flag of Eswatini.svg Swaziland |
{{flag icon|SWZ}} |
Eswatini | Eswatini |
{{fb|SWZ}} |
File:Flag of Eswatini.svg Eswatini | File:Flag of Eswatini.svg Swaziland |
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 | ||||||