Template:Country data Myanmar/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>SiBr4
Examples
meta>SiBr4
m Redirects
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}


Rather than redirecting <nowiki>{{Country data Myanmar}}</nowiki> to {{tl|Country data Burma}}, this template transcludes the latter template 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 {{tl|fb}} or {{tl|ru}}. Changes to variants should be made at {{tl|Country data Burma}} and will be reflected here.
Rather than redirecting <nowiki>{{Country data Myanmar}}</nowiki> to {{tl|Country data Burma}}, this template transcludes the latter template 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 {{tl|fb}} or {{tl|ru}}. The same variants from {{tl|Country data Burma}} can be used with this template.


===Examples===
===Examples===
Line 16: Line 16:
| {{tl|fb}} || {{fb|Myanmar}} || {{fb|Burma}}
| {{tl|fb}} || {{fb|Myanmar}} || {{fb|Burma}}
|}
|}
===Redirects to this template===
* {{noredirect|Template:MMR}}
* {{noredirect|Template:MYA}}


<includeonly>
<includeonly>

Revision as of 12:37, 26 June 2014

Rather than redirecting {{Country data Myanmar}} to {{Country data Burma}}, this template transcludes the latter template 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 same variants from {{Country data Burma}} can be used with this template.

Examples

Template "Myanmar" output "Burma" output
{{flag}}  Myanmar  Burma
{{flagcountry}}  Myanmar  Burma
{{flagicon}} Myanmar Myanmar
{{fb}}  Myanmar  Burma

Redirects to this template