Template:Country data Thailand: Difference between revisions
meta>Andrwsc transition complete - sport parameter no longer used using AWB |
m 49 revisions imported |
||
(43 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
{{ {{{1<noinclude>|country showdata</noinclude>}}} | {{ {{{1<noinclude>|country showdata</noinclude>}}} | ||
| alias | | alias = Thailand | ||
| shortname alias = Thailand | | shortname alias = {{{shortname alias|Thailand}}} | ||
| flag alias | | flag alias = Flag of Thailand.svg | ||
| | | flag alias-1767 = Flag of Thailand (Ayutthaya period).svg | ||
| flag alias-1782 = Flag of Thailand (1782).svg | |||
| flag alias-1817 = Flag of Thailand (1817).svg | |||
| flag alias-1855 = Flag of Thailand 1855.svg | |||
| flag alias-1893 = State Flag of Thailand (1916).svg | |||
| flag alias-1916 = Flag of Siam (1916).svg | |||
| flag alias-marines=Flag Commander of the Royal Thai Marine Corps.svg | |||
| link alias-marines=Royal Thai Marine Corps | |||
| border-marines= | |||
| flag alias-naval = Naval Ensign of Thailand.svg | |||
| link alias-naval = Royal Thai Navy | |||
| flag alias-navy = Flag of the Royal Thai Navy.svg | |||
| link alias-navy = Royal Thai Navy | |||
| flag alias-military=Flag of the Royal Thai Armed Forces HQ.svg | |||
| link alias-military=Royal Thai Armed Forces | |||
| flag alias-air force = Flag of the Royal Thai Air Force.svg | |||
| link alias-air force = Royal Thai Air Force | |||
| flag alias-army= Flag of the Royal Thai Army.svg | |||
| link alias-army=Royal Thai Army | |||
| size = {{{size|}}} | | size = {{{size|}}} | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| altlink = {{{altlink|}}} | | altlink = {{{altlink|}}} | ||
| altvar = {{{altvar|}}} | |||
| variant = {{{variant|}}} | |||
<noinclude> | |||
| var1 = 1767 | |||
| var2 = 1782 | |||
| var3 = 1817 | |||
| var4 = 1855 | |||
| var5 = 1893 | |||
| var6 = 1916 | |||
| redir1 = THA | |||
| related1 = Siam | |||
</noinclude> | |||
}} | }} |
Latest revision as of 04:02, 3 September 2020
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 |