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}}. | 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
This is a documentation subpage for Template:Country data Myanmar. It may contain usage information, categories and other content that is not part of the original template page. |
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}} | ||
{{fb}} | Myanmar | Burma |
Redirects to this template