Template:Country data Thailand
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.
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 | File:Flag of Thailand (Ayutthaya period).svg | Flag of Thailand (Ayutthaya period).svg |
1782 | File:Flag of Thailand (1782).svg | Flag of Thailand (1782).svg |
1817 | File:Flag of Thailand (1817).svg | Flag of Thailand (1817).svg |
1855 | File:Flag of Thailand 1855.svg | Flag of Thailand 1855.svg |
1893 | File:State Flag of Thailand (1916).svg | State Flag of Thailand (1916).svg |
1916 | File:Flag of Siam (1916).svg | Flag of Siam (1916).svg |
naval | Naval Ensign of Thailand.svg | |
marines | Flag Commander of the Royal Thai Marine Corps.svg | |
military | Flag of the Royal Thai Armed Forces HQ.svg | |
navy | Flag of the Royal Thai Navy.svg | |
air force | Flag of the Royal Thai Air Force.svg | |
army | Flag of the Royal Thai Army.svg |
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
{{Navy|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 a navy flag variant that can be used with Template:Naval:{{Naval|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}}
→
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}}
→ File:Flag of Thailand (Ayutthaya period).svg Thailand{{Flagicon|Thailand|1767}}
→ Thailand
Using a redirect alias
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 |