Difference between revisions of "Template:Country data Myanmar"
imported>Zzuuzz m (Reverted edits by 58.227.194.87 (talk) to last version by Andrwsc) |
imported>Dreamy Jazz (Per edit request) |
||
| (26 intermediate revisions by 10 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{ {{{1<noinclude>|country showdata</noinclude>}}} | |
| − | + | | alias = Myanmar | |
| + | | shortname alias = {{{shortname alias|Myanmar}}} | ||
| + | | 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 | ||
| + | | 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|}}} | ||
| + | | name = {{{name|}}} | ||
| + | | altlink = {{{altlink|}}} | ||
| + | | altvar = {{{altvar|}}} | ||
| + | | variant = {{{variant|}}} | ||
| + | <noinclude> | ||
| + | | var1 = 1937 | ||
| + | | var2 = 1943 | ||
| + | | var3 = 1948 | ||
| + | | var4 = 1974 | ||
| + | | related1 = Burma | ||
| + | | related2 = British Burma | ||
| + | | related3 = Konbaung Dynasty | ||
| + | </noinclude> | ||
| + | }} | ||
Latest revision as of 22:56, 26 May 2019
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.
| 40x40px | This 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. |
Contents
Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
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
| Label | Flag image (40px) | Image name |
|---|---|---|
1937 | 40px | British Burma 1937 flag.svg |
1943 | 40px | Flag of the State of Burma (1943-45).svg |
1948 | Flag of Burma (1948–1974).svg | |
1974 | Flag of Myanmar (1974–2010).svg | |
naval | File:Naval Ensign of Myanmar.svg | Naval Ensign of Myanmar.svg |
military | Flag of the Myanmar Armed Forces.svg | |
coast guard | Flag of the Myanmar Police Force.svg | |
air force | File:Air Force Ensign of Myanmar.svg | Air Force Ensign of Myanmar.svg |
army | File:Army Flag of Myanmar.svg | Army 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}}→ 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}}→
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}}→ Template:Military/core{{flagicon|Myanmar|military}}→
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:
{{coast guard|Myanmar}}→
Myanmar Police Force{{flagicon|Myanmar|coast guard}}→
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Myanmar}}→
Myanmar Army{{flagicon|Myanmar|army}}→ File:Army Flag of Myanmar.svg
Example usage
{{flag|Myanmar}}→
Myanmar{{flagicon|Myanmar}}→ File:Flag of Myanmar.svg{{flagcountry|Myanmar}}→ File:Flag of Myanmar.svg Myanmar
Using a flag variant
Related templates
Please see the following related country_data templates:
- Template:Country data BurmaFile:Flag of Myanmar.svg Burma
- Template:Country data British Burma23x15px British Burma
- Template:Country data Konbaung DynastyFile:Flag of the Alaungpaya Dynasty of Myanmar.svg 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}} |
||
{{flag|MYA|1974}} |
||
{{flagcountry|MYA}} |
||
{{flagicon|MYA}} |
||
{{bb|MYA}} |
||
{{fb|MYA}} |
Redirects to Template:Country data Myanmar
Redirects to Template:Country data Burma
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.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| 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 (edit | diff) and testcases (create) pages. Please Script error: No such module "Purge". after making any changes to this template. This template has a /doc subpage for the purposes of categories and documentation specific to this template. |