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

Template:Country data Siam

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]

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

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

Redirects to Template:Country data Siam

  • Template:Country data SIA
The above documentation is transcluded from Template:Country data Siam/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Country_data_Siam&oldid=12133"
Categories:
  • Country data templates of countries
  • Country data templates of Thailand
  • Country data templates with documentation subpage
Last edited on 9 June 2020, at 17:16

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 9 June 2020, at 17:16.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop