Template:Country data Burma: Difference between revisions
meta>SiBr4 (Added navy variant and links from Template:Country data Myanmar) |
meta>SiBr4 (Implementing sandbox version to fix links for sports usages (see WT:WPFT#Burma/Myanmar)) |
||
Line 1: | Line 1: | ||
{{ {{{1<noinclude>|country showdata</noinclude>}}} | {{ {{{1<noinclude>|country showdata</noinclude>}}} | ||
| alias = Burma | | alias = {{#if:{{{altlink|}}}|Myanmar|Burma}} | ||
| shortname alias = {{{shortname alias|{{#if:{{{altlink|}}}|Myanmar|Burma}}}}} | |||
| flag alias = Flag of Myanmar.svg | | flag alias = Flag of Myanmar.svg | ||
| flag alias-1937 = British Burma 1937 flag.svg | | flag alias-1937 = British Burma 1937 flag.svg | ||
Line 9: | Line 10: | ||
| link alias-air force = Myanmar Air Force | | link alias-air force = Myanmar Air Force | ||
| link alias-army = Myanmar Army | | link alias-army = Myanmar Army | ||
| link alias-naval = Myanmar Navy | | link alias-naval = Myanmar Navy | ||
| size = {{{size|}}} | | size = {{{size|}}} | ||
| name = {{{name|}}} | | name = {{#if:{{{name|}}}|{{{name}}}|{{#if:{{{altlink|}}}|Burma}}}} | ||
| altlink = {{{altlink|}}} | | altlink = {{{altlink|}}} | ||
| altvar = {{{altvar|}}} | | altvar = {{{altvar|}}} |
Revision as of 12:03, 26 June 2014
Template:Country data Burma
is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag
, flagicon
, and others.
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. |
Standard parameters
Parameter name | Value | Meaning |
---|---|---|
alias |
Burma
| Main article name (Burma) |
shortname alias |
Burma |
(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
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
{{navy|Burma}}
→ Myanmar Navy{{flagicon|Burma|naval}}
→
This nation's air force ensign is the same as its national flag, so Template:Air force produces the following:
{{air force|Burma}}
→ Myanmar Air Force
This nation's army ensign is the same as its national flag, so Template:Army produces the following:
{{army|Burma}}
→ Myanmar Army
Example usage
Using a flag variant
{{flag|Burma|1937}}
→ Burma{{flagicon|Burma|1937}}
→
Related templates
Please see the following related country_data
templates:
- Template:Country data Myanmar Myanmar
- Template:Country data British Burma British Burma
- Template:Country data Konbaung Dynasty 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}} |
Myanmar | Burma |
{{flag|MYA|1974}} |
Myanmar | Burma |
{{flagcountry|MYA}} |
Myanmar | Burma |
{{flagicon|MYA}} |
||
{{bb|MYA}} |
Myanmar | Burma |
{{fb|MYA}} |
Myanmar | Burma |
Redirects to Template:Country data Myanmar
Redirects to Template:Country data Burma
TemplateData
TemplateData for Country data Burma
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 |