Template:Country data Myanmar: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>SiBr4 Implementing sandbox version to fix links for sports usages (see WT:WPFT#Burma/Myanmar) |
meta>SiBr4 Removing automatic documentation |
||
Line 1: | Line 1: | ||
{{Country data Burma | <includeonly>{{Country data Burma | ||
|1={{{1 | |1={{{1}}} | ||
|shortname alias=Myanmar | |shortname alias=Myanmar | ||
|size={{{size|}}} | |size={{{size|}}} | ||
Line 6: | Line 6: | ||
|altlink={{{altlink|}}} | |altlink={{{altlink|}}} | ||
|altvar={{{altvar|}}} | |altvar={{{altvar|}}} | ||
}} | }}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 12:35, 26 June 2014
Rather than redirecting {{Country data Burma}} to {{Country data Myanmar}}, the former template transcludes the latter and passes through all parameters. The linked article will always be "Myanmar", but the displayed name is either "Burma" or "Myanmar" based on which of the two templates is used, even in templates that usually have a fixed default display name (such as {{flagcountry}} and {{fb}}). This allows for "Burma" to be used in historical contexts without having to also set |name=
. The variants from {{Country data Myanmar}} can be used with both templates.
Examples
Template | Myanmar output |
Burma output
|
---|---|---|
{{flag|MYA}} |
Template loop detected: Template:Country data Myanmar | Template loop detected: Template:Country data Burma |
{{flag|MYA|1974}} |
Template loop detected: Template:Country data Myanmar | Template loop detected: Template:Country data Burma |
{{flagcountry|MYA}} |
Template loop detected: Template:Country data Myanmar | Template loop detected: Template:Country data Burma |
{{flagicon|MYA}} |
Template loop detected: Template:Country data Myanmar | Template loop detected: Template:Country data Burma |
{{bb|MYA}} |
Template loop detected: Template:Country data Myanmar | Template loop detected: Template:Country data Burma |
{{fb|MYA}} |
Template loop detected: Template:Country data Myanmar | Template loop detected: Template:Country data Burma |