Template:Country data Myanmar: Difference between revisions
meta>Andrwsc turn from redirect back into full template. Used most often by sports team templates with country code MYA, articles all at "Myanmar national ... team", so alias=Myanmar in this template |
meta>23prootie No edit summary |
||
Line 1: | Line 1: | ||
{{ {{{1<noinclude>|country showdata</noinclude>}}} | {{ {{{1<noinclude>|country showdata</noinclude>}}} | ||
| alias = Myanmar | | alias = Myanmar | ||
| flag alias = Flag of Myanmar.svg | | flag alias = Flag of Myanmar.svg | ||
| flag alias-naval = Naval Ensign of Myanmar.svg | | flag alias-naval = Naval Ensign of Myanmar.svg | ||
| link alias-naval = Myanmar Navy | | link alias-naval = Myanmar Navy | ||
| flag alias-1937 = British Burma 1937 flag.png | |||
| flag alias-1942 = Burma flag(1942).gif | |||
| flag alias-1943 = Burma flag(1943).gif | |||
| flag alias-1948 = Flag of Burma (1948-1974).svg | |||
| flag alias-1974 = Flag of Myanmar.svg | |||
| flag alias-2008 = Flag of Myanmar (2007 proposal).svg | |||
| size = {{{size|}}} | | size = {{{size|}}} | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| altlink = {{{altlink|}}} | | altlink = {{{altlink|}}} | ||
| variant = {{{variant|}}} | | variant = {{{variant|}}} | ||
<noinclude> | |||
| var1 = 1937 | |||
| var2 = 1942 | |||
| var3 = 1943 | |||
| var4 = 1948 | |||
| var3 = 1974 | |||
| var4 = 2008 | |||
| related1 = Myanmar | |||
</noinclude> | |||
}} | |||
<noinclude> | <noinclude> | ||
| related1 = Burma | | related1 = Burma |
Revision as of 10:18, 3 October 2009
Template:Country data Myanmar is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as {{Flag}}, {{Flagicon}}
and others.
Standard parameters
Parameter name | Value | Meaning |
---|---|---|
alias |
Myanmar |
Main article name (Myanmar) |
flag alias |
Flag of Myanmar.svg |
Image name (File:Flag of Myanmar.svg, shown on right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
1937 | File:British Burma 1937 flag.png | British Burma 1937 flag.png |
1942 | File:Burma flag(1942).gif | Burma flag(1942).gif |
1974 | Flag of Myanmar.svg | |
2008 | File:Flag of Myanmar (2007 proposal).svg | Flag of Myanmar (2007 proposal).svg |
naval | Naval Ensign of Myanmar.svg |
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
{{Navy|Myanmar}}
→
}}
}}
Example usage
{{Flag|Myanmar}}
→
}}
}}
Using a flag variant
{{Flag|Myanmar|1937}}
→
File:British Burma 1937 flag.png Myanmar
}}
{{Flagicon|Myanmar|1937}}
→ Myanmar
}}
Related templates
Please see the following related country_data
templates:
}}
Other information
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}} |
}} || }} | |
{{flag|MYA|1974}} |
}} || }} | |
{{flagcountry|MYA}} |
}} || }} | |
{{flagicon|MYA}} |
}} | |
{{bb|MYA}} |
}} || }} | |
{{fb|MYA}} |
}} || }} |
Redirects to Template:Country data Myanmar
Redirects to Template:Country data Burma
TemplateData
TemplateData for Country data Myanmar
This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |
| related1 = Burma | redir1 = MMR | redir2 = MYA