Template:Country data Siam/doc: Difference between revisions
Appearance
m Removing template invocation in order to remove category |
Deleatur yhe (talk | contribs) m 1 revision imported |
(No difference)
| |
Latest revision as of 07:38, 10 September 2026
| This is a documentation subpage for Template:Country data Siam. It may contain usage information, categories and other content that is not part of the original template page. |
__EXPECTED_UNCONNECTED_PAGE__
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 {{flag country}} and {{fb}}). This allows for "Siam" to be used in historical contexts without having to also set <syntaxhighlight lang="wikitext" inline style="display: none;" />|name=. The variants from {{Country data Thailand}} can be used with both templates.
Examples
| Template | Thailand output |
Siam output
|
|---|---|---|
{{flag|THA}} |
||
{{flag|THA}} |
||
{{flag country|THA}} |
||
{{flag icon|THA}} |
||
{{bb|THA}} |
||
{{fb|THA}} |