Rather than redirecting } to }, the former template transcludes the latter and passes through all parameters.
This is a documentation subpage for ढाँचा:Country data Swaziland. It contains usage information, categories and other content that is not part of the original ढाँचा page. |
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 | Swaziland |
{{flagicon|SWA}} | ||
{{fb|SWA}} | Eswatini | Swaziland |