Templat:Country data Burma

Daripada Wikipedia, ensiklopedia bebas.
Pendokumenan templat[lihat] [sunting] [sejarah] [nyahcache]

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 {{flagcountry}} 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[sunting sumber]

Template Myanmar output Burma output
{{flag|...}}  Myanmar  Myanmar
{{flag|...|1974}}  Myanmar  Myanmar
{{flagcountry|...}}  Myanmar  Burma
{{flagicon|...}} Myanmar Myanmar
{{bb|...}}  Myanmar  Burma
{{fb|...}}  Myanmar  Burma

Redirects to Template:Country data Myanmar[sunting sumber]