• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.215
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Country data Myanmar

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
File:Test Template Info-Icon - Version (2).svg Template documentation
File:Ambox warning yellow.svgThis template is used on approximately 12,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.
NoticeTemplate: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.
File:Information icon4.svgThis 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.
File:Flag of Myanmar.svg

Contents

  • 1 Standard parameters
  • 2 Flag variants
  • 3 Example usage
    • 3.1 Using a flag variant
  • 4 Military ensigns
  • 5 Related templates
  • 6 Other information
    • 6.1 Examples
    • 6.2 Redirects to Template:Country data Myanmar
    • 6.3 Redirects to Template:Country data Burma
  • 7 TemplateData

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
1937File:British Burma 1937 flag.svgBritish Burma 1937 flag.svg
1943File:Flag of the State of Burma (1943-45).svgFlag of the State of Burma (1943-45).svg
1948File:Flag of Burma (1948–1974).svgFlag of Burma (1948–1974).svg
1974File:Flag of Myanmar (1974–2010).svgFlag of Myanmar (1974–2010).svg
navalFile:Naval Ensign of Myanmar.svgNaval Ensign of Myanmar.svg
militaryFile:Flag of the Armed Forces (Tatmadaw) of Myanmar.svgFlag of the Armed Forces (Tatmadaw) of Myanmar.svg
coast guardFile:Flag of the Myanmar Police Force.svgFlag of the Myanmar Police Force.svg
navyFile:Naval Ensign of Myanmar.svgNaval Ensign of Myanmar.svg
air forceFile:Air Force Ensign of Myanmar.svgAir Force Ensign of Myanmar.svg
armyFile:Army Flag of Myanmar.svgArmy Flag of Myanmar.svg


Example usage

  • {{flag|Myanmar}} → File:Flag of Myanmar.svg Myanmar
  • {{flagicon|Myanmar}} → File:Flag of Myanmar.svg
  • {{flagcountry|Myanmar}} → File:Flag of Myanmar.svg Myanmar

Using a flag variant

  • {{flag|Myanmar|1937}} → File:British Burma 1937 flag.svg Myanmar
  • {{flagicon|Myanmar|1937}} → File:British Burma 1937 flag.svg

Military ensigns

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

  • {{naval|Myanmar}} → File:Naval Ensign of Myanmar.svg Myanmar Navy
  • {{flagicon|Myanmar|naval}} → File:Naval Ensign of Myanmar.svg

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

  • {{air force|Myanmar}} → File:Air Force Ensign of Myanmar.svg Myanmar Air Force
  • {{flagicon|Myanmar|air force}} → File:Air Force Ensign of Myanmar.svg

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

  • {{Armed forces|Myanmar}} → File:Flag of the Armed Forces (Tatmadaw) of Myanmar.svg Tatmadaw
  • {{flagicon|Myanmar|military}} → File:Flag of the Armed Forces (Tatmadaw) of Myanmar.svg

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

  • {{navy|Myanmar}} → File:Naval Ensign of Myanmar.svg Myanmar Navy
  • {{flagicon|Myanmar|navy}} → File:Naval Ensign of Myanmar.svg

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

  • {{coast guard|Myanmar}} → File:Flag of the Myanmar Police Force.svg Myanmar Police Force
  • {{flagicon|Myanmar|coast guard}} → File:Flag of the Myanmar Police Force.svg

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

  • {{army|Myanmar}} → File:Army Flag of Myanmar.svg Myanmar Army
  • {{flagicon|Myanmar|army}} → File:Army Flag of Myanmar.svg

Related templates

Please see the following related country_data templates:

  • Template:Country data BurmaFile:Flag of Myanmar.svg Burma
  • Template:Country data British BurmaFile:British Burma 1937 flag.svg British Burma
  • Template:Country data Konbaung DynastyTemplate:Country data 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}} File:Flag of Myanmar.svg Myanmar File:Flag of Myanmar.svg Burma
{{flag|MYA|1974}} File:Flag of Myanmar (1974–2010).svg Myanmar File:Flag of Myanmar (1974–2010).svg Burma
{{flagcountry|MYA}} File:Flag of Myanmar.svg Myanmar File:Flag of Myanmar.svg Burma
{{flagicon|MYA}} File:Flag of Myanmar.svg File:Flag of Myanmar.svg
{{bb|MYA}} File:Flag of Myanmar.svg Myanmar File:Flag of Myanmar.svg Burma
{{fb|MYA}} File:Flag of Myanmar.svg Myanmar File:Flag of Myanmar.svg 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 for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this 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.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified
This is the documentation for Template:Country data Myanmar. It is automatically generated by Template:Country showdata.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please purge the cache after making any changes to this template.
This template has a /doc subpage for the purposes of categories and documentation specific to this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Country_data_Myanmar&oldid=11483"
Categories:
  • Pages with broken file links
  • Country data templates of countries
  • Country data templates of Myanmar
  • Templates using TemplateData
  • Country data templates with documentation subpage
  • All country data templates
  • Country data templates with distinct shortname
Last edited on 13 March 2022, at 09:46

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 13 March 2022, at 09:46.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop