Template:Country data Thailand: Difference between revisions
meta>WOSlinker m (Changed protection level of Template:Country data Thailand: allow template editors to modify ([Edit=Protected template] (indefinite) [Move=Protected template] (indefinite))) |
meta>Illegitimate Barrister No edit summary |
||
Line 8: | Line 8: | ||
| flag alias-air force = Royal Thai Air Force Flag.svg | | flag alias-air force = Royal Thai Air Force Flag.svg | ||
| link alias-air force = Royal Thai Air Force | | 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|}}} |
Revision as of 23:12, 7 September 2016
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) |
flag alias |
Flag of Thailand.svg |
Image name (File:Flag of Thailand.svg, shown on right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
1855 | Flag of Thailand 1855.svg | |
1916 | Flag of Thailand (1916).svg | |
naval | Naval Ensign of Thailand.svg | |
air force | Royal Thai Air Force Flag.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 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
{{flag|Thailand}}
→ Thailand{{flagicon|Thailand}}
→
Using a flag variant
{{flag|Thailand|1855}}
→ Thailand{{flagicon|Thailand|1855}}
→
Using a redirect alias
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 | Thailand |
{{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 |