Template:Country data Burma: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Andrwsc merge with Template:Country data Myanmar |
m 50 revisions imported |
||
(36 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
{{ {{{1 | <includeonly>{{Country data Myanmar | ||
| alias = | |1={{{1}}} | ||
| | |shortname alias={{#if:{{{altlink|}}}|Myanmar|Burma}} | ||
| | |size={{{size|}}} | ||
|name={{#if:{{{name|}}}|{{{name}}}|{{#if:{{{altlink|}}}|Burma}}}} | |||
|altlink={{{altlink|}}} | |||
| | |altvar={{{altvar|}}} | ||
|variant={{{variant|}}} | |||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | |||
| | |||
| | |||
| | |||
| altlink = {{{altlink|}}} | |||
| altvar = {{{altvar|}}} | |||
| variant = {{{variant|}}} | |||
<noinclude> | |||
</noinclude> | |||
Latest revision as of 02:07, 3 September 2020
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}} |
Myanmar | Burma |
{{flag|MYA|1974}} |
File:Flag of Myanmar (1974–2010).svg Myanmar | File:Flag of Myanmar (1974–2010).svg Burma |
{{flagcountry|MYA}} |
Myanmar | Burma |
{{flagicon|MYA}} |
||
{{bb|MYA}} |
Myanmar | Burma |
{{fb|MYA}} |
Myanmar | Burma |