Template:Country data Myanmar: Difference between revisions
meta>Andrwsc m Changed protection level of Template:Country data Myanmar: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite)) |
meta>Andrwsc update flag |
||
Line 1: | Line 1: | ||
{{ {{{1<noinclude>|country showdata</noinclude>}}} | {{ {{{1<noinclude>|country showdata</noinclude>}}} | ||
| alias = Myanmar | | alias = Myanmar | ||
| flag alias = Flag of Myanmar.svg | | flag alias = Flag of Myanmar (after 21 October 2010).svg | ||
| flag alias-1948 = Flag of Myanmar.svg | |||
| flag alias-naval = Naval Ensign of Myanmar.svg | | flag alias-naval = Naval Ensign of Myanmar.svg | ||
| link alias-naval = Myanmar Navy | | link alias-naval = Myanmar Navy | ||
Line 11: | Line 12: | ||
<noinclude> | <noinclude> | ||
| related1 = Burma | | related1 = Burma | ||
| var1 = 1948 | |||
| redir1 = MMR | | redir1 = MMR | ||
| redir2 = MYA | | redir2 = MYA |
Revision as of 02:00, 22 October 2010
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 name | Value | Meaning |
---|---|---|
alias |
Myanmar |
Main article name (Myanmar) |
flag alias |
Flag of Myanmar (after 21 October 2010).svg |
Image name (File:Flag of Myanmar (after 21 October 2010).svg, shown on right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
1948 | Flag of Myanmar.svg | |
naval | Naval Ensign 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}}
→
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) | Template:Country data MMR | Template:Country data MMR |
MYA (view) | Template:Country data MYA | Template:Country data MYA |
See What links here for a full list of redirects.
Example usage
{{Flag|Myanmar}}
→ File:Flag of Myanmar (after 21 October 2010).svg Myanmar{{Flagicon|Myanmar}}
→ Myanmar
Using a flag variant
{{Flag|Myanmar|1948}}
→ Myanmar{{Flagicon|Myanmar|1948}}
→
Using a redirect alias
{{Flagicon|MMR}}
→ Template:Country data MMR{{Flagcountry|MMR}}
→ Template:Country data MMR{{Flag|MMR}}
→ Template:Country data 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
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 |