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) |
Example usage
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 |