Difference between revisions of "Template:Country data Myanmar/doc"

From blackwiki
Jump to navigation Jump to search
imported>SiBr4
(Examples)
imported>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}} 23x15px Myanmar 23x15px Burma
{{flagcountry}} 23x15px Myanmar 23x15px Burma
{{flagicon}} 23x15px 23x15px
{{fb}} 23x15px Myanmar 23x15px Burma

Redirects to this template