模板:Country data Siam/doc
外观
![]() | 此页面是Template:Country data Siam的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
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 |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}} |
Template:Flag country | Template:Flag country |
{{flag icon|THA}} |
![]() |
![]() |
{{bb|THA}} |
![]() |
![]() |
{{fb|THA}} |
![]() |
![]() |