Template:Wp/kjp/အ်ုလေင်ႋ
[[|{{{shortname alias}}}]]
This template is used to display a small flag icon next to a wikilinked country name. It is related to the {{flagicon}}, {{flagcountry}} and {{flagu}} templates, but offers more options in terms of the text string displayed.
Usage edit
{{Wp/kjp/flag|country identifier|optional variant|name=alternative text string|size=maximum width and/or height of the flag image}}
- country identifier is the common name of the country (e.g. "United States"), a common alias (e.g. "US"), or a standard country code such as those listed at ISO 3166-1 alpha-3
- variant is an optional second parameter that can be used to display a flag variation, such as a historical flag. The list of variants for each country is documented on the appropriate template page, such as Template:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ Germany
- alternative text string, this optional value, specified by the name parameter, is used to display alternative text
- size, this optional value is specified by the size parameter, and is used to specify the maximum width and/or height of the flag image. This parameter is specified using standard image syntax.
See the prefix index for the templates latently called by this one.
အ်ုဍံင်လ်ုဖး edit
ဝီးကေဝ်ကုဒ် | ဆ်ုဏဲဖၠဟ် | ဆ်ုခၠါင်ခိင်ႋဖါ |
---|---|---|
{{Wp/kjp/Flag|United States}} |
Template:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ United States | နှစ်ခုစလုံး အ်ုမေရိကိုင်ထီ့ခါန်ႋပ္ကုံ သို့ လင့်ခ်ချိတ်ထားသည်။ |
{{Wp/kjp/Flag|USA}} |
Template:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ USA | |
{{Wp/kjp/Flag|Nepal}} |
Template:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ Nepal | |
{{Wp/kjp/Flag|Germany}} |
Template:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ Germany | သုံးခုလုံး ဂျာမၞီခါန် သို့ လင့်ခ်ချိတ်ထားသည်။ In addition to the ISO country codes, those used by FIFA, IOC, etc. are also supported. |
{{Wp/kjp/Flag|DEU}} |
Template:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ DEU | |
{{Wp/kjp/Flag|GER}} |
Template:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ GER | |
{{Wp/kjp/Flag|Germany|empire}} |
Template:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ Germany | Flag variations can be used with either country names or country codes. |
{{Wp/kjp/Flag|DEU|empire}} |
Template:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ DEU | |
{{Wp/kjp/Flag|CAN|name=Canadian}} |
Template:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ CAN | The name parameter can be used to change the display string but keep the link to the correct article. |
{{Wp/kjp/Flag|Canada|1957|name=Canadian}} |
Template:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ Canada | The name parameter can also be used when flag variants are specified. |
{{Wp/kjp/Flag|Texas}} |
Template:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ Texas | Flags are also available for several sub-national and multi-national entities such as US states, Canadian provinces, the Commonwealth of Nations, and the European Union. A complete list can be found at Category:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ templates. |
{{Wp/kjp/Flag|British Columbia|name=BC}} |
Template:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ British Columbia | |
{{Wp/kjp/Flag|Commonwealth of Nations|name=Cmnwlth}} |
Template:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ Commonwealth of Nations | |
{{Wp/kjp/Flag|EU}} |
Template:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ EU | |
{{Wp/kjp/Flag|Switzerland|size=14px}} |
Template:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ Switzerland | The size parameter can be used to control the image dimensions. 23x15px is the default size for most countries (some entities have a different default size). |
{{Wp/kjp/Flag|Switzerland|size=28px}} |
Template:Wp/kjp/ထီ့ခါန်ႋ စ်ုရင့်ကါင်ကါ Switzerland |
တန်ပ်ုလိက်တ်ုတာႋ edit
Wp/kjp
This template displays a small flag icon next to a wikilinked country name
Parameter | Description | Type | Status | |
---|---|---|---|---|
Country identifier | 1 | Common name of the country (e.g. 'United States'), a common alias (e.g. 'US'), or a standard country code | String | required |
Variant | 2 | Identifies a flag variant to be used instead of the standard flag, e.g. 1815 | String | optional |
Alternative text | name | Display alternative text instead of the standard country name | String | optional |
Maximum dimension | size | The maximum width or height, specified via standard 'extended image syntax' (e.g. x30px) | String | optional |
See: Wikipedia:Extended image syntax.
မ်ုယောဝ်ႋၰာႋၰံင် edit
|
The above documentation is transcluded from Template:Wp/kjp/အ်ုလေင်ႋ/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |