• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.215
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Country data Thailand

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
File:Test Template Info-Icon - Version (2).svg Template documentation
File:Ambox warning yellow.svgThis template is used on approximately 38,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
NoticeTemplate: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.
File:Information icon4.svgThis 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.
File:Flag of Thailand.svg

Contents

  • 1 Standard parameters
  • 2 Flag variants
  • 3 Redirect aliases
  • 4 Example usage
    • 4.1 Using a flag variant
    • 4.2 Using a redirect alias
  • 5 Military ensigns
  • 6 Related templates
  • 7 Other information
    • 7.1 Examples
    • 7.2 Redirects to Template:Country data Thailand
    • 7.3 Redirects to Template:Country data Siam
  • 8 TemplateData

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
1767File:Flag of Thailand (Ayutthaya period).svgFlag of Thailand (Ayutthaya period).svg
1782File:Flag of Thailand (1782).svgFlag of Thailand (1782).svg
1817File:Flag of Thailand (1817).svgFlag of Thailand (1817).svg
1855File:Flag of Thailand 1855.svgFlag of Thailand 1855.svg
1893File:State Flag of Thailand (1916).svgState Flag of Thailand (1916).svg
1916File:Flag of Siam (1916).svgFlag of Siam (1916).svg
sanctionedFBFile:THA AFF 2020.pngTHA AFF 2020.png
navalFile:Naval Ensign of Thailand.svgNaval Ensign of Thailand.svg
marinesFile:Flag of the Royal Thai Marine Corps.svgFlag of the Royal Thai Marine Corps.svg
militaryFile:Flag of the Royal Thai Armed Forces HQ.svgFlag of the Royal Thai Armed Forces HQ.svg
navyFile:Flag of the Royal Thai Navy.svgFlag of the Royal Thai Navy.svg
air forceFile:Flag of the Royal Thai Air Force.svgFlag of the Royal Thai Air Force.svg
armyFile:Flag 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)File:Flag of Thailand.svg THAFile:Flag of Thailand.svg Thailand

See What links here for a full list of redirects.

Example usage

  • {{flag|Thailand}} → File:Flag of Thailand.svg Thailand
  • {{flagicon|Thailand}} → File:Flag of Thailand.svg
  • {{flagcountry|Thailand}} → File:Flag of Thailand.svg Thailand

Using a flag variant

  • {{flag|Thailand|1767}} → File:Flag of Thailand (Ayutthaya period).svg Thailand
  • {{flagicon|Thailand|1767}} → File:Flag of Thailand (Ayutthaya period).svg

Using a redirect alias

  • {{flagicon|THA}} → File:Flag of Thailand.svg
  • {{flagcountry|THA}} → File:Flag of Thailand.svg Thailand
  • {{flag|THA}} → File:Flag of Thailand.svg THA

Military ensigns

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

  • {{naval|Thailand}} → File:Naval Ensign of Thailand.svg Royal Thai Navy
  • {{flagicon|Thailand|naval}} → File:Naval Ensign of Thailand.svg

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

  • {{air force|Thailand}} → File:Flag of the Royal Thai Air Force.svg Royal Thai Air Force
  • {{flagicon|Thailand|air force}} → File:Flag of the Royal Thai Air Force.svg

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

  • {{marines|Thailand}} → File:Flag of the Royal Thai Marine Corps.svg Royal Thai Marine Corps
  • {{flagicon|Thailand|marines}} → File:Flag of the Royal Thai Marine Corps.svg

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

  • {{Armed forces|Thailand}} → File:Flag of the Royal Thai Armed Forces HQ.svg Royal Thai Armed Forces
  • {{flagicon|Thailand|military}} → File:Flag of the Royal Thai Armed Forces HQ.svg

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

  • {{navy|Thailand}} → File:Flag of the Royal Thai Navy.svg Royal Thai Navy
  • {{flagicon|Thailand|navy}} → File:Flag of the Royal Thai Navy.svg

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

  • {{army|Thailand}} → File:Flag of the Royal Thai Army.svg Royal Thai Army
  • {{flagicon|Thailand|army}} → File:Flag of the Royal Thai Army.svg

Related templates

Please see the following related country_data templates:

  • Template:Country data SiamFile:Flag of Thailand.svg Siam

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}} File:Flag of Thailand.svg Thailand File:Flag of Thailand.svg Siam
{{flag|THA}} File:Flag of Thailand.svg Thailand File:Flag of Thailand.svg Siam
{{flagcountry|THA}} File:Flag of Thailand.svg Thailand File:Flag of Thailand.svg Siam
{{flagicon|THA}} File:Flag of Thailand.svg File:Flag of Thailand.svg
{{bb|THA}} File:Flag of Thailand.svg Thailand File:Flag of Thailand.svg Siam
{{fb|THA}} File:Flag of Thailand.svg Thailand File:Flag of Thailand.svg Siam

Redirects to Template:Country data Thailand

  • Template:Country data THA
  • Template:Country data TH

Redirects to Template:Country data Siam

  • Template:Country data SIA

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
This is the documentation for Template:Country data Thailand. It is automatically generated by Template:Country showdata.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please purge the cache after making any changes to this template.
This template has a /doc subpage for the purposes of categories and documentation specific to this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Country_data_Thailand&oldid=12307"
Categories:
  • Pages with broken file links
  • Country data templates of countries
  • Country data templates of Thailand
  • Templates using TemplateData
  • Country data templates with documentation subpage
  • All country data templates
  • Country data templates with distinct shortname
Last edited on 26 February 2022, at 17:30

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 26 February 2022, at 17:30.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop