Template:Country data Thailand

From Safer nicotine wiki
Template documentation

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.

Flag of Thailand.svg

Standard parameters

Parameter nameValueMeaning
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

LabelFlag image (40px)Image name
1767Flag of Thailand (Ayutthaya period).svgFlag of Thailand (Ayutthaya period).svg
1782Flag of Thailand (1782).svgFlag of Thailand (1782).svg
1817Flag of Thailand (1817).svgFlag of Thailand (1817).svg
1855Flag of Siam (1855).svgFlag of Thailand 1855.svg
1893State Flag of Thailand (1916).svgState Flag of Thailand (1916).svg
1916Flag of Siam (1916).svgFlag of Siam (1916).svg
navalNaval Ensign of Thailand.svgNaval Ensign of Thailand.svg
marinesFlag of the Royal Thai Marine Corps.svgFlag of the Royal Thai Marine Corps.svg
militaryFlag of the Royal Thai Armed Forces HQ.svgFlag of the Royal Thai Armed Forces HQ.svg
navyFlag of the Royal Thai Navy.svgFlag of the Royal Thai Navy.svg
air forceFlag of the Royal Thai Air Force.svgFlag of the Royal Thai Air Force.svg
armyFlag of the Royal Thai Army.svgFlag of the Royal Thai Army.svg

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}}Thailand
  • {{flagcountry|Thailand}} Thailand

Using a flag variant

  • {{flag|Thailand|1767}} Thailand
  • {{flagicon|Thailand|1767}}Thailand

Using a redirect alias

  • {{flagicon|THA}}Thailand
  • {{flagcountry|THA}} Thailand
  • {{flag|THA}} THA

Military ensigns

This template includes a naval ensign flag variant that can be used with Template:Navy:

This template includes an air force ensign flag variant that can be used with Template:Air force:

This template includes a marine ensign flag variant that can be used with Template:Marines:

This template includes a marine ensign flag variant that can be used with Template:Armed forces:

This template includes a navy flag variant that can be used with Template:Naval:

This template includes an army ensign flag variant that can be used with Template:Army:

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}} Thailand Thailand
{{bb|THA}}  Thailand  Siam
{{fb|THA}}  Thailand  Siam

Redirects to Template:Country data Thailand

Redirects to Template:Country data Siam

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this 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.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified
Cookies help us deliver our services. By using our services, you agree to our use of cookies.