Template:Country data Eswatini

From Simple English Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation

Template:Country data Eswatini 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 nameValueMeaning
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)

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
SWZ (view) SWZ Eswatini

See What links here for a full list of redirects.

Example usage

  • {{flag|Eswatini}} Eswatini
  • {{flagicon|Eswatini}}Eswatini
  • {{flagcountry|Eswatini}} Eswatini

Using a redirect alias

  • {{flagicon|SWZ}}Eswatini
  • {{flagcountry|SWZ}} Eswatini
  • {{flag|SWZ}} SWZ

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 {{flagcountry}} and {{fb}}). This allows for "Swaziland" to be used in historical contexts without having to also set |name=.


Template Eswatini output Swaziland output
{{flag|SWA}}  Eswatini  Swaziland
{{flagcountry|SWA}}  Eswatini  Eswatini
{{flagicon|SWA}} Eswatini Eswatini
{{fb|SWA}}  Eswatini  Swaziland


This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this 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:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.

Template parameters

No parameters specified