Template:Country data Siam
Revision as of 18:16, 9 June 2020 by Wikipedia>Mdaniels5757 (TFD closed as keep (XFDcloser))
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Rather than redirecting {{Country data Siam}} to {{Country data Thailand}}, the former template transcludes the latter and passes through all parameters. The linked article will always be "Thailand", but the displayed name is either "Siam" or "Thailand" 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 "Siam" to be used in historical contexts without having to also set |name=. The variants from {{Country data Thailand}} can be used with both templates.
Examples
| Template | Thailand output |
Siam output
|
|---|---|---|
{{flag|THA}} |
File:Flag of Thailand.svg Thailand | File:Flag of Thailand.svg Siam |
{{flag|THA}} |
File:Flag of Thailand.svg Thailand | File:Flag of Thailand.svg Siam |
{{flagcountry|THA}} |
File:Flag of Thailand.svg Thailand | File:Flag of Thailand.svg Siam |
{{flagicon|THA}} |
File:Flag of Thailand.svg | File:Flag of Thailand.svg |
{{bb|THA}} |
File:Flag of Thailand.svg Thailand | File:Flag of Thailand.svg Siam |
{{fb|THA}} |
File:Flag of Thailand.svg Thailand | File:Flag of Thailand.svg Siam |