قالب:Country data Thailand
This is the documentation for Template:Country data Thailand. It is automatically generated by Template:Country showdata
Template:Country data Thailand is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flagicon, and others. For a more thorough discussion of the flag template system, including parameters not described here, please see Wikipedia:WikiProject Flag Template.

Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
| alias | تايلند | Main article name (تايلند) |
| flag alias | Flag of Thailand.svg | Image name (Image:Flag of Thailand.svg, shown above right) |
Flag variants
This template includes a naval ensign flag variant that can be used with Template:Navy:
- {{navy|تايلند}} →
تايلند - {{flagicon|تايلند|naval}} →

Air force ensign
This template includes an air force ensign flag variant that can be used with Template:Air force:
- {{air force|تايلند}} →
تايلند - {{flagicon|تايلند|air force}} →

Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template):| Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
|---|---|---|
| THA (view) |
Example usage
- {{flag|تايلند}} →
تايلند - {{flagicon|تايلند}} →

- Using a flag variant
- {{flag|تايلند|1767}} →
تايلند - {{flagicon|تايلند|1767}} →

- Using a redirect alias
Other information
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}} |
||
{{flag icon|THA}} |
||
{{bb|THA}} |
||
{{fb|THA}} |