Template:Country data Myanmar/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>SiBr4 Doc |
meta>SiBr4 Examples |
||
Line 2: | Line 2: | ||
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}}. Changes to variants should be made at {{tl|Country data Burma}} and will be reflected here. | ||
===Examples=== | |||
{|class="wikitable" | |||
! Template !! "Myanmar" output !! "Burma" output | |||
|- | |||
| {{tl|flag}} || {{flag|Myanmar}} || {{flag|Burma}} | |||
|- | |||
| {{tl|flagcountry}} || {{flagcountry|Myanmar}} || {{flagcountry|Burma}} | |||
|- | |||
| {{tl|flagicon}} || {{flagicon|Myanmar}} || {{flagicon|Burma}} | |||
|- | |||
| {{tl|fb}} || {{fb|Myanmar}} || {{fb|Burma}} | |||
|} | |||
<includeonly> | <includeonly> |
Revision as of 12:31, 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}}. Changes to variants should be made at {{Country data Burma}} and will be reflected here.
Examples
Template | "Myanmar" output | "Burma" output |
---|---|---|
{{flag}} | Myanmar | Burma |
{{flagcountry}} | Myanmar | Burma |
{{flagicon}} | ||
{{fb}} | Myanmar | Burma |