Template:Country data Myanmar/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Ahecht
(update doc, article moved from Burma to Myanmar)
meta>SiBr4
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}


Rather than redirecting {{tl|Country data Myanmar}} to {{tl|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 the same as the displayed name, but changes to "Myanmar" if either data template is called by a sports flag template such as {{tl|fb}} or {{tl|ru}}. The variants from {{tl|Country data Burma}} can be used with both templates.
{{Country data Burma/doc}}
 
<includeonly>
====Examples====
 
{|class="wikitable"
! Template !! <code>Myanmar</code> output !! <code>Burma</code> output
|-
| {{tlx|flag|...}} || {{flag|Myanmar}} || {{flag|Burma}}
|-
| {{tlx|flag|...|1974}} || {{flag|Myanmar|1974}} || {{flag|Burma|1974}}
|-
| {{tlx|flagcountry|...}} || {{flagcountry|Myanmar}} || {{flagcountry|Burma}}
|-
| {{tlx|flagicon|...}} || {{flagicon|Myanmar}} || {{flagicon|Burma}}
|-
| {{tlx|bb|...}} || {{bb|Myanmar}} || {{bb|Burma}}
|-
| {{tlx|fb|...}} || {{fb|Myanmar}} || {{fb|Burma}}
|}
 
====Redirects to Template:Country data Myanmar====
* {{noredirect|Template:Country data MMR}}
* {{noredirect|Template:Country data MYA}}
 
====Redirects to Template:Country data Burma====
* {{noredirect|Template:Country data MM}}
 
{{#ifeq:{{PAGENAME}}|Country data Myanmar|
[[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]]
</includeonly>
}}

Revision as of 12:43, 8 September 2015

Template loop detected: Template:Country data Burma/doc