Template:Country data Myanmar

From blackwiki
Jump to navigation Jump to search
50px 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.

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
193740pxBritish Burma 1937 flag.svg
194340pxFlag of the State of Burma (1943-45).svg
194840pxFlag of Burma (1948–1974).svg
197440pxFlag of Myanmar (1974–2010).svg
naval40pxNaval Ensign of Myanmar.svg
military40pxFlag of the Myanmar Armed Forces.svg
coast guard40pxFlag of the Myanmar Police Force.svg
air force40pxAir Force Ensign of Myanmar.svg
army40pxArmy Flag of Myanmar.svg

Military ensigns

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

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:

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:

Example usage

Using a flag variant

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}} 23x15px Myanmar 23x15px Burma
{{flag|MYA|1974}} 23x15px Myanmar 23x15px Burma
{{flagcountry|MYA}} 23x15px Myanmar 23x15px Burma
{{flagicon|MYA}} 23x15px 23x15px
{{bb|MYA}} 23x15px Myanmar 23x15px Burma
{{fb|MYA}} 23x15px Myanmar 23x15px 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 parameter usage 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