Template:Country data Thailand: Difference between revisions
>S.A. Julio adding shortname parameter |
imported>Paine Ellsworth m no longer required - High use template is now in the documentation |
||
Line 9: | Line 9: | ||
| flag alias-1893 = State Flag of Thailand (1916).svg | | flag alias-1893 = State Flag of Thailand (1916).svg | ||
| flag alias-1916 = Flag of Siam (1916).svg | | flag alias-1916 = Flag of Siam (1916).svg | ||
| flag alias-marines=Flag | | flag alias-marines=Flag of the Royal Thai Marine Corps.svg | ||
| link alias-marines=Royal Thai Marine Corps | | link alias-marines=Royal Thai Marine Corps | ||
| border-marines= | | border-marines= | ||
Line 22: | Line 22: | ||
| flag alias-army= Flag of the Royal Thai Army.svg | | flag alias-army= Flag of the Royal Thai Army.svg | ||
| link alias-army=Royal Thai Army | | link alias-army=Royal Thai Army | ||
| flag alias-sanctionedFB = THA AFF 2020.png | |||
| size = {{{size|}}} | | size = {{{size|}}} | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
Line 34: | Line 35: | ||
| var5 = 1893 | | var5 = 1893 | ||
| var6 = 1916 | | var6 = 1916 | ||
| var7 = sanctionedFB | |||
| redir1 = THA | | redir1 = THA | ||
| related1 = Siam | | related1 = Siam | ||
</noinclude> | </noinclude> | ||
}} | }} |
Latest revision as of 16:30, 26 February 2022
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
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}}
→ Template:Marines{{flagicon|Thailand|marines}}
→
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|Thailand}}
→ Template: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) | Template:Country data THA | Template:Country data THA |
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
{{flagicon|THA}}
→ Template:Country data THA{{flagcountry|THA}}
→ Template:Country data THA{{flag|THA}}
→ Template:Country data THA
Related templates
Please see the following related country_data
templates:
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 |