Template:Country data Myanmar/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>SiBr4
No edit summary
meta>SiBr4
m Adding Country showdata tracking category directly
Line 28: Line 28:
[[Category:Country data templates of countries|Myanmar]]
[[Category:Country data templates of countries|Myanmar]]
[[Category:Country data templates of Myanmar| ]]
[[Category:Country data templates of Myanmar| ]]
[[Category:Country data templates with documentation subpage|Myanmar]]
}}
}}

Revision as of 19:32, 1 September 2014

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 of the two templates 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|...}}  Myanmar  Burma
{{flag|...|1974}} File:Flag of Myanmar (1974–2010).svg Myanmar File:Flag of Myanmar (1974–2010).svg Burma
{{flagcountry|...}}  Myanmar  Burma
{{flagicon|...}} Myanmar Myanmar
{{bb|...}}  Myanmar  Burma
{{fb|...}}  Myanmar  Burma

Redirects to Template:Country data Myanmar