Template:Country data Thailand
This template is used on approximately 81,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 , flag icon , 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
Redirect aliases
Alias name | {{flag|alias}} output | {{flag country|alias}} output |
---|---|---|
THA (view) | THA | Thailand |
See What links here for a full list of redirects.
Example usage
Using a flag variant
{{flag|Thailand|1767}}
→ Thailand{{flag icon|Thailand|1767}}
→
Using a redirect alias
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Thailand}}
→ Royal Thai Navy{{flag icon|Thailand|naval}}
→
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Thailand}}
→ Royal Thai Air Force{{flag icon|Thailand|air force}}
→
This template includes a marine ensign flag variant that can be used with Template:Marines:
{{marines|Thailand}}
→ Royal Thai Marine Corps{{flag icon|Thailand|marines}}
→
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|Thailand}}
→ Royal Thai Armed Forces{{flag icon|Thailand|military}}
→
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Thailand}}
→ Royal Thai Navy{{flag icon|Thailand|navy}}
→
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Thailand}}
→ Royal Thai Army{{flag icon|Thailand|army}}
→
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 {{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}} |
Thailand | Siam |
{{flag|THA}} |
Thailand | Siam |
{{flag country|THA}} |
Thailand | Siam |
{{flag icon|THA}} |
||
{{bb|THA}} |
Thailand | Siam |
{{fb|THA}} |
Thailand | 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:Flag icon. 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 |