Template:Country data Burma: Difference between revisions
meta>Piotr Mikołajski British Burma flag replaced with GNU licensed image |
meta>Volker89 No edit summary |
||
Line 5: | Line 5: | ||
| flag alias-1937 = Burma1937.png | | flag alias-1937 = Burma1937.png | ||
| flag alias-1942 = -Burma1942Japanese1.jpg | | flag alias-1942 = -Burma1942Japanese1.jpg | ||
| flag alias-1943 = Burma flag(1943).gif | |||
| flag alias-1948 = Flag of Burma (1948-1974).svg | | flag alias-1948 = Flag of Burma (1948-1974).svg | ||
| countryname = {{{countryname|Burma<!-- MUST MATCH SUFFIX OF PAGENAME!! -->}}} | | countryname = {{{countryname|Burma<!-- MUST MATCH SUFFIX OF PAGENAME!! -->}}} | ||
Line 14: | Line 15: | ||
* <nowiki>{{flagcountry|Burma|1937}}</nowiki> = {{flagcountry|Burma|1937}} | * <nowiki>{{flagcountry|Burma|1937}}</nowiki> = {{flagcountry|Burma|1937}} | ||
* <nowiki>{{flagcountry|Burma|1942}}</nowiki> = {{flagcountry|Burma|1942}} | * <nowiki>{{flagcountry|Burma|1942}}</nowiki> = {{flagcountry|Burma|1942}} | ||
* <nowiki>{{flagcountry|Burma|1943}}</nowiki> = {{flagcountry|Burma|1943}} | |||
* <nowiki>{{flagcountry|Burma|1948}}</nowiki> = {{flagcountry|Burma|1948}} | * <nowiki>{{flagcountry|Burma|1948}}</nowiki> = {{flagcountry|Burma|1948}} | ||
</noinclude> | </noinclude> |
Revision as of 14:52, 13 May 2007
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.
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) |
Example usage
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}} |
File:Flag of Myanmar (1974–2010).svg Myanmar | Burma |
{{flagcountry|MYA}} |
Myanmar | Burma |
{{flagicon|MYA}} |
||
{{bb|MYA}} |
Myanmar | [[Burma {{{altlink}}}|Burma]] |
{{fb|MYA}} |
Myanmar | [[Burma {{{altlink}}}|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 |
Variants
- {{flagcountry|Burma|1937}} = File:Burma1937.png Burma
- {{flagcountry|Burma|1942}} = File:-Burma1942Japanese1.jpg Burma
- {{flagcountry|Burma|1943}} = File:Burma flag(1943).gif Burma
- {{flagcountry|Burma|1948}} = File:Flag of Burma (1948-1974).svg Burma