Jump to content

ഫലകം:Country data Eswatini/doc

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.

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|SWZ}}  Eswatini  Swaziland
{{flagcountry|SWZ}}  Eswatini  Swaziland
{{flagicon|SWZ}} Eswatini Eswatini
{{fb|SWZ}}  Eswatini  Swaziland


"https://ml.wikipedia.org/w/index.php?title=ഫലകം:Country_data_Eswatini/doc&oldid=3388947" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്