Template:Country data Myanmar/doc
Jump to navigation
Jump to search
| icon | This is a documentation subpage for Template:Country data Myanmar. It may contain usage information, categories and other content that is not part of the original template page. |
Rather than redirecting {{Country data Burma}} to {{Country data Myanmar}}, the former template transcludes the latter and passes through all parameters. The linked article will always be "Myanmar", but the displayed name is either "Burma" or "Myanmar" based on which of the two templates is used, even in templates that usually have a fixed default display name (such as {{flag country}} and {{fb}}). This allows for "Burma" to be used in historical contexts without having to also set |name=. The variants from {{Country data Myanmar}} can be used with both templates.
Examples
[edit source]| Template | Myanmar output |
Burma output
|
|---|---|---|
{{flag|MYA}} |
File:Flag of Myanmar.svg Myanmar | File:Flag of Myanmar.svg Burma |
{{flag|MYA|1974}} |
File:Flag of Myanmar (1974–2010).svg Myanmar | File:Flag of Myanmar (1974–2010).svg Burma |
{{flag country|MYA}} |
File:Flag of Myanmar.svg Myanmar | File:Flag of Myanmar.svg Burma |
{{flag icon|MYA}} |
Myanmar | Myanmar |
{{bb|MYA}} |
File:Flag of Myanmar.svg Myanmar | File:Flag of Myanmar.svg Burma |
{{fb|MYA}} |
File:Flag of Myanmar.svg Myanmar | File:Flag of Myanmar.svg Burma |
Redirects to Template:Country data Myanmar
[edit source]Redirects to Template:Country data Burma
[edit source]