Template:Country data Myanmar/doc

From blackwiki
< Template:Country data Myanmar
Revision as of 12:46, 26 June 2014 by imported>SiBr4
Jump to navigation Jump to search

Rather than redirecting {{Country data Myanmar}} to {{Country data Burma}}, the former template transcludes the latter and passes through all parameters. This allows for the displayed name to be either "Burma" or "Myanmar" based on which template is used. The linked article will be "Burma" in both cases, but changes to "Myanmar" if either data template is called by a sports flag template such as {{fb}} or {{ru}}. The variants from {{Country data Burma}} can be used with both templates.

Examples

Template {{...|Myanmar}} output {{...|Burma}} output
{{flag}} File:Flag of Myanmar.svg Myanmar File:Flag of Myanmar.svg Burma
{{flagcountry}} File:Flag of Myanmar.svg Myanmar File:Flag of Myanmar.svg Burma
{{flagicon}} File:Flag of Myanmar.svg File:Flag of Myanmar.svg
{{bb}} File:Flag of Myanmar.svg Myanmar File:Flag of Myanmar.svg Burma
{{fb}} File:Flag of Myanmar.svg Myanmar File:Flag of Myanmar.svg Burma

Redirects to Template:Country data Myanmar