Template:Country data Myanmar
This template is used on approximately 22,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Template:Country data Myanmar is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag , flag icon , and others. |
This template is within the scope of WikiProject Flag Template, a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page. |
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
Example usage
Using a flag variant
{{flag|Myanmar|1937}}
→ Myanmar{{flag icon|Myanmar|1937}}
→
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|Myanmar}}
→ Myanmar Navy{{flag icon|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{{flag icon|Myanmar|air force}}
→
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|Myanmar}}
→ Tatmadaw{{flag icon|Myanmar|military}}
→
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|Myanmar}}
→ Myanmar Navy{{flag icon|Myanmar|navy}}
→
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:
{{coast guard|Myanmar}}
→ Myanmar Coast Guard{{flag icon|Myanmar|coast guard}}
→
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Myanmar}}
→ Myanmar Army{{flag icon|Myanmar|army}}
→
Related templates
Please see the following related country_data
templates:
- Template:Country data Burma Burma
- Template:Country data British Burma 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 {{flag country}} 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}} |
Myanmar | Burma |
{{flag country|MYA}} |
Myanmar | Burma |
{{flag icon|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:Flag icon. 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 |