Difference between revisions of "Template:Country data Myanmar"
imported>Zzuuzz m (Protected Template:Country data Myanmar: High risk template [edit=autoconfirmed:move=autoconfirmed]) |
imported>Andrwsc (turn from redirect back into full template. Used most often by sports team templates with country code MYA, articles all at "Myanmar national ... team", so alias=Myanmar in this template) |
||
| Line 1: | Line 1: | ||
| − | + | {{ {{{1<noinclude>|country showdata</noinclude>}}} | |
| − | [[ | + | | alias = Myanmar |
| + | | flag alias = Flag of Myanmar.svg | ||
| + | | flag alias-naval = Naval Ensign of Myanmar.svg | ||
| + | | link alias-naval = Myanmar Navy | ||
| + | | size = {{{size|}}} | ||
| + | | name = {{{name|}}} | ||
| + | | altlink = {{{altlink|}}} | ||
| + | | altvar = {{{altvar|}}} | ||
| + | | variant = {{{variant|}}} | ||
| + | <noinclude> | ||
| + | | related1 = Burma | ||
| + | | redir1 = MMR | ||
| + | | redir2 = MYA | ||
| + | </noinclude> | ||
| + | }}<noinclude> | ||
| + | [[sl:Predloga:Podatki države Mjanmar]] | ||
| + | </noinclude> | ||
Revision as of 18:50, 31 August 2009
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.
| File:OOjs UI icon information-progressive.svg | 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) |
flag alias |
Flag of Myanmar.svg |
Image name (File:Flag of Myanmar.svg, shown on right) |
Flag variants
| Label | Flag image (40px) | Image name |
|---|---|---|
naval | 40px | Naval Ensign of Myanmar.svg |
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
{{navy|Myanmar}}→ 23x20px Myanmar Navy{{flagicon|Myanmar|naval}}→ 23x15px
Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template):| Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
|---|---|---|
MMR (view) | ||
MYA (view) | File:Flag of Myanmar.svg MYA | File:Flag of Myanmar.svg Myanmar |
See What links here for a full list of redirects.
Example usage
{{flag|Myanmar}}→ File:Flag of Myanmar.svg Myanmar{{flagicon|Myanmar}}→ File:Flag of Myanmar.svg
Using a redirect alias
{{flagicon|MMR}}→ File:Flag of Myanmar.svg{{flagcountry|MMR}}→ File:Flag of Myanmar.svg Myanmar{{flag|MMR}}→ File:Flag of Myanmar.svg MMR
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}} |
File:Flag of Myanmar.svg Myanmar | File:Flag of Myanmar.svg Burma |
{{flag|MYA|1974}} |
File:Flag of Myanmar.svg Myanmar | File:Flag of Myanmar.svg Burma |
{{flagcountry|MYA}} |
File:Flag of Myanmar.svg Myanmar | File:Flag of Myanmar.svg Myanmar |
{{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
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. |