Permanently protected template

Template:Country data Myanmar

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
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)
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

LabelFlag image (40px)Image name
1937Flag of British Burma (1939–1941, 1945–1948).svgBritish Burma 1937 flag.svg
1943Flag of the State of Burma (1943–1945).svgFlag of the State of Burma (1943-45).svg
1948Flag of Burma (1948–1974).svgFlag of Burma (1948–1974).svg
1974Flag of Myanmar (1974–2010).svgFlag of Myanmar (1974–2010).svg
navalNaval Ensign of Myanmar.svgNaval Ensign of Myanmar.svg
militaryFlag of the Myanmar Armed Forces.svgFlag of the Myanmar Armed Forces.svg
coast guardFlag of the Myanmar Police Force.svgFlag of the Myanmar Police Force.svg
armyArmy Flag of Myanmar.svgArmy Flag of Myanmar.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}}Myanmar

This template includes an air force ensign flag variant that can be used with Template:Air force:

This template includes a marine ensign flag variant that can be used with Template:Armed forces:

  • {{Armed forces|Myanmar}} Tatmadaw
  • {{flagicon|Myanmar|military}}Myanmar

This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:

This template includes an army ensign flag variant that can be used with Template:Army:

  • {{army|Myanmar}} Myanmar Army
  • {{flagicon|Myanmar|army}}Myanmar

Example usage

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

Using a flag variant

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

Redirects to Template:Country data Myanmar

Redirects to Template:Country data Burma

TemplateData

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

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.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified