Template:Country data Thailand
This template is used on approximately 38,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
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) | THA | Thailand |
See What links here for a full list of redirects.
Example usage
Using a flag variant
{{flag|Thailand|1767}}
→ Thailand{{flagicon|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{{flagicon|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{{flagicon|Thailand|air force}}
→
This template includes a marine ensign flag variant that can be used with Template:Marines:
{{marines|Thailand}}
→ Royal Thai Marine Corps{{flagicon|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{{flagicon|Thailand|military}}
→
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Thailand}}
→ Royal Thai Navy{{flagicon|Thailand|navy}}
→
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Thailand}}
→ Royal Thai Army{{flagicon|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 {{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}} |
Thailand | Siam |
{{flag|THA}} |
Thailand | Siam |
{{flagcountry|THA}} |
Thailand | Siam |
{{flagicon|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: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 |