Template:Country data Myanmar: Difference between revisions
meta>CommonsDelinker Replacing Flag_of_the_Myanmar_Air_Force.svg with File:Air_Force_Ensign_of_Myanmar.svg (by CommonsDelinker because: File renamed: #4 Standardise a set of images.). |
meta>Jo-Jo Eumerus Fixing image issue |
||
Line 5: | Line 5: | ||
| flag alias-1937 = British Burma 1937 flag.svg | | flag alias-1937 = British Burma 1937 flag.svg | ||
| flag alias-1943 = Flag of the State of Burma (1943-45).svg | | flag alias-1943 = Flag of the State of Burma (1943-45).svg | ||
| flag alias-1948 = Flag of Burma ( | | flag alias-1948 = Flag of Burma (1948–1974).svg | ||
| flag alias-1974 = Flag of Myanmar ( | | flag alias-1974 = Flag of Myanmar (1974–2010).svg | ||
| flag alias-naval = Naval Ensign of Myanmar.svg | | flag alias-naval = Naval Ensign of Myanmar.svg | ||
| link alias-air force = Myanmar Air Force | | link alias-air force = Myanmar Air Force |
Revision as of 06:50, 15 May 2018
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) |
shortname alias |
Myanmar |
(optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
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.svg | British Burma 1937 flag.svg |
1943 | File:Flag of the State of Burma (1943-45).svg | Flag of the State of Burma (1943-45).svg |
1948 | File:Flag of Burma (1948–1974).svg | Flag of Burma (1948–1974).svg |
1974 | File:Flag of Myanmar (1974–2010).svg | Flag of Myanmar (1974–2010).svg |
naval | Naval Ensign of Myanmar.svg | |
air force | Air Force Ensign of Myanmar.svg | |
army | File:Flag of the Myanmar Army.svg | Flag of the Myanmar Army.svg |
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
{{Navy|Myanmar}}
→ Myanmar Navy{{Flagicon|Myanmar|naval}}
→
This template includes an air force ensign flag variant that can be used with Template:Air force:{{Air force|Myanmar}}
→ Myanmar Air Force{{Flagicon|Myanmar|air force}}
→
This template includes an army ensign flag variant that can be used with Template:Army:{{Army|Myanmar}}
→ File:Flag of the Myanmar Army.svg Myanmar Army{{Flagicon|Myanmar|army}}
→ Myanmar
Example usage
Using a flag variant
{{Flag|Myanmar|1937}}
→ File:British Burma 1937 flag.svg Myanmar{{Flagicon|Myanmar|1937}}
→ Myanmar
Related templates
Please see the following related country_data
templates:
- Template:Country data Burma Burma
- Template:Country data British BurmaFile:British Burma 1937 flag.svg British Burma
- Template:Country data Konbaung Dynasty Konbaung Dynasty
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}} |
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 |
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 |