Difference between revisions of "Template:Country data Myanmar"

From blackwiki
Jump to navigation Jump to search
imported>Andrwsc
(can't just change the alias value without renaming lots of articles that use "Myanmar" with altlink (e.g. Myanmar national football team))
imported>Dreamy Jazz
 
(32 intermediate revisions by 13 users not shown)
Line 1: Line 1:
 
{{ {{{1<noinclude>|country showdata</noinclude>}}}
 
{{ {{{1<noinclude>|country showdata</noinclude>}}}
 
| alias = Myanmar
 
| alias = Myanmar
 +
| shortname alias = {{{shortname alias|Myanmar}}}
 
| flag alias = Flag of Myanmar.svg
 
| flag alias = Flag of Myanmar.svg
 +
| flag alias-1937 = British Burma 1937 flag.svg
 +
| flag alias-1943 = Flag of the State of Burma (1943-45).svg
 +
| flag alias-1948 = Flag of Burma (1948–1974).svg
 +
| flag alias-1974 = Flag of Myanmar (1974–2010).svg
 +
| flag alias-military=Flag of the Myanmar Armed Forces.svg
 +
| link alias-military=Tatmadaw
 
| flag alias-naval = Naval Ensign of Myanmar.svg
 
| flag alias-naval = Naval Ensign of Myanmar.svg
 +
| link alias-air force = Myanmar Air Force
 +
| flag alias-army = Army Flag of Myanmar.svg
 +
| flag alias-air force = Air Force Ensign of Myanmar.svg
 +
| link alias-army = Myanmar Army
 +
| link alias-naval = Myanmar Navy
 +
| flag alias-coast guard = Flag of the Myanmar Police Force.svg
 +
| link alias-coast guard = Myanmar Police Force
 
| size = {{{size|}}}
 
| size = {{{size|}}}
 
| name = {{{name|}}}
 
| name = {{{name|}}}
 
| altlink = {{{altlink|}}}
 
| altlink = {{{altlink|}}}
 +
| altvar = {{{altvar|}}}
 
| variant = {{{variant|}}}
 
| variant = {{{variant|}}}
 
<noinclude>
 
<noinclude>
| redir1 = MMR
+
| var1 = 1937
| redir2 = MYA
+
| var2 = 1943
 +
| var3 = 1948
 +
| var4 = 1974
 
| related1 = Burma
 
| related1 = Burma
 +
| related2 = British Burma
 +
| related3 = Konbaung Dynasty
 
</noinclude>
 
</noinclude>
 
}}
 
}}

Latest revision as of 22:56, 26 May 2019

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.

Error creating thumbnail:

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 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
1948File:Flag of Burma (1948–1974).svgFlag of Burma (1948–1974).svg
197440pxFlag of Myanmar (1974–2010).svg
navalNaval Ensign of Myanmar.svgNaval Ensign of Myanmar.svg
military40pxFlag of the Myanmar Armed Forces.svg
coast guardFlag of the Myanmar Police Force.svgFlag of the Myanmar Police Force.svg
air forceAir Force Ensign of Myanmar.svgAir Force Ensign of Myanmar.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:

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}}  Myanmar  Burma
{{flag|MYA|1974}} 23x15px Myanmar 23x15px 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 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