Template:Country data Thailand
| This template is used on approximately 80,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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. |
| This template is within the scope of WikiProject Flag Template, a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page. |
Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
alias |
Thailand
| Main article name (Thailand) |
shortname alias |
Thailand |
(optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
flag alias |
Flag of Thailand.svg |
Image name (File:Flag of Thailand.svg, shown on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
1767 | Flag of Thailand (Ayutthaya period).svg | |
1782 | Flag of Thailand (1782).svg | |
1817 | Flag of Thailand (1817).svg | |
1855 | Error creating thumbnail: | Flag of Thailand 1855.svg |
1893 | Error creating thumbnail: | State Flag of Thailand (1916).svg |
1916 | Error creating thumbnail: | Flag of Siam (1916).svg |
sanctionedFB | Error creating thumbnail: | THA AFF 2020.png |
naval | Error creating thumbnail: | Naval Ensign of Thailand.svg |
marines | Error creating thumbnail: | Flag of the Royal Thai Marine Corps.svg |
military | Error creating thumbnail: | Flag of the Royal Thai Armed Forces HQ.svg |
navy | Error creating thumbnail: | Flag of the Royal Thai Navy.svg |
air force | Error creating thumbnail: | Flag of the Royal Thai Air Force.svg |
army | Error creating thumbnail: | Flag of the Royal Thai Army.svg |
Redirect aliases
| Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
|---|---|---|
THA (view) | Error creating thumbnail: THA | Error creating thumbnail: Thailand |
See What links here for a full list of redirects.
Example usage
{{flag|Thailand}}→ Error creating thumbnail: Thailand{{flagicon|Thailand}}→ Error creating thumbnail:{{flagcountry|Thailand}}→ Error creating thumbnail: Thailand
Using a flag variant
{{flag|Thailand|1767}}→Thailand
{{flagicon|Thailand|1767}}→
Using a redirect alias
{{flagicon|THA}}→ Error creating thumbnail:{{flagcountry|THA}}→ Error creating thumbnail: Thailand{{flag|THA}}→ Error creating thumbnail: THA
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Thailand}}→ Error creating thumbnail: Royal Thai Navy{{flagicon|Thailand|naval}}→ Error creating thumbnail:
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Thailand}}→ Error creating thumbnail: Royal Thai Air Force{{flagicon|Thailand|air force}}→ Error creating thumbnail:
This template includes a marine ensign flag variant that can be used with Template:Marines:
{{marines|Thailand}}→ Error creating thumbnail: Royal Thai Marine Corps{{flagicon|Thailand|marines}}→ Error creating thumbnail:
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|Thailand}}→ Error creating thumbnail: Royal Thai Armed Forces{{flagicon|Thailand|military}}→ Error creating thumbnail:
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Thailand}}→ Error creating thumbnail: Royal Thai Navy{{flagicon|Thailand|navy}}→ Error creating thumbnail:
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Thailand}}→ Error creating thumbnail: Royal Thai Army{{flagicon|Thailand|army}}→ Error creating thumbnail:
Related templates
Please see the following related country_data templates:
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 {{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}} | Error creating thumbnail: Thailand | Error creating thumbnail: Siam |
| {{flag|THA}} | Error creating thumbnail: Thailand | Error creating thumbnail: Siam |
| {{flagcountry|THA}} | Error creating thumbnail: Thailand | Error creating thumbnail: Siam |
| {{flagicon|THA}} | Error creating thumbnail: | Error creating thumbnail: |
| {{bb|THA}} | Error creating thumbnail: Thailand | Error creating thumbnail: Siam |
| {{fb|THA}} | Error creating thumbnail: Thailand | Error creating thumbnail: Siam |
Redirects to Template:Country data Thailand
Redirects to Template:Country data Siam
TemplateData
TemplateData for Country data Thailand
This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||