Template:Country data Siam/doc: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
			
		
		
	
 creating doc page  | 
			
(No difference) 
 | 
Revision as of 23:00, 2 June 2020
| This is a documentation subpage for Template:Country data Siam. It may contain usage information, categories and other content that is not part of the original template page.  | 
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}} | ||
| {{flag|THA}} | ||
| {{flagcountry|THA}} | ||
| {{flagicon|THA}} | ||
| {{bb|THA}} | ||
| {{fb|THA}} | 
Redirects to Template:Country data Thailand
Redirects to Template:Country data Siam