Template:Country data Myanmar

Documentation icon Template documentation

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.

See also: Flag of Myanmar

Standard parameters

Parameter nameValueMeaning
alias Myanmar Main article name (Myanmar)
flag alias Flag of Myanmar.svg Image name (File:Flag of Myanmar.svg, shown on right)

Flag variants

LabelFlag image (40px)Image name
1974Flag of Myanmar (1974–2010).svgFlag of Myanmar (1974-2010).svg
navalNaval Ensign of Myanmar.svgNaval Ensign of Myanmar.svg

Redirect aliases

This template can also be used via an alias name (implemented as a redirect to this template):
Alias name{{flag|alias}} output{{flagcountry|alias}} output
MMR (view) MMR Myanmar
MYA (view) MYA Myanmar

See What links here for a full list of redirects.

Example usage

  • {{flag|Myanmar}} Myanmar
  • {{flagicon|Myanmar}}Myanmar

Using a flag variant

  • {{flag|Myanmar|1974}} Myanmar
  • {{flagicon|Myanmar|1974}}Myanmar

Using a redirect alias

  • {{flagicon|MMR}}Myanmar
  • {{flagcountry|MMR}} Myanmar
  • {{flag|MMR}} MMR

Military ensigns

This template includes a naval ensign flag variant that can be used with Template:Naval:

  • {{naval|Myanmar}} Myanmar Navy
  • {{flagicon|Myanmar|naval}}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}}  Myanmar  Burma
{{flag|MYA|1974}}  Myanmar  Burma
{{flagcountry|MYA}}  Myanmar  Myanmar
{{flagicon|MYA}} Myanmar Myanmar
{{bb|MYA}} Myanmar Burma
{{fb|MYA}}  Myanmar  Burma

Redirects to Template:Country data Myanmar

Template:Country data MM

Template:Country data MMR

Template:Country data MYA

Redirects to Template:Country data Burma

Template:Country data BIR

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Country data Myanmar

<templatedata> {

 "description": "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.",
 "params": {}

} </templatedata>