တမ်းပလိတ်:အလံ

ဝီကီပီးဒီးယား မှ

 [[|{{{shortname alias}}}]]

Documentation icon တမ်းပလိတ်မှတ်တမ်းလက်စွဲ[ကြည့်ရှု] [တည်းဖြတ်] [ရာဇဝင်] [ရှင်းသန့်]

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[ပြင်ဆင်ရန်]

{{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:နိုင်ငံ စာရင်းအင်း 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.

နမူနာများ[ပြင်ဆင်ရန်]

ဝီကီကုဒ် ပြသချက် မှတ်ချက်
{{flag|United States}}  အမေရိကန် နှစ်ခုစလုံး အမေရိကန်ပြည်ထောင်စု သို့ လင့်ခ်ချိတ်ထားသည်။
{{flag|USA}}  အမေရိကန်
{{flag|Nepal}}  နီပေါ
{{flag|Germany}}  ဂျာမနီ သုံးခုလုံး ဂျာမနီနိုင်ငံ သို့ လင့်ခ်ချိတ်ထားသည်။
In addition to the ISO country codes, those used by FIFA, IOC, etc. are also supported.
{{flag|DEU}}  ဂျာမနီ
{{flag|GER}}  ဂျာမနီ
{{flag|Germany|empire}}  ဂျာမနီ Flag variations can be used with either country names or country codes.
{{flag|DEU|empire}}  ဂျာမနီ
{{flag|CAN|name=Canadian}}  ကနေဒါ The name parameter can be used to change the display string but keep the link to the correct article.
{{flag|Canada|1957|name=Canadian}}  ကနေဒါ The name parameter can also be used when flag variants are specified.
{{flag|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:နိုင်ငံ စာရင်းအင်း templates.
{{flag|British Columbia|name=BC}} တမ်းပလိတ်:နိုင်ငံ စာရင်းအင်း British Columbia
{{flag|Commonwealth of Nations|name=Cmnwlth}} တမ်းပလိတ်:နိုင်ငံ စာရင်းအင်း Commonwealth of Nations
{{flag|EU}}  အီးယူ
{{flag|Switzerland|size=14px}}   ဆွစ်ဇာလန် 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).
{{flag|Switzerland|size=28px}}   ဆွစ်ဇာလန်

တမ်းပလိတ်ဒေတာ[ပြင်ဆင်ရန်]

အောက်ပါအချက်အလက်များမှာ အင်္ဂလိပ်ဝီကီပီးဒီးယားရှိ ရုပ်မြင်တည်းဖြတ်သူ (VisualEditor) ကဲ့သို့သော ကိရိယာများကို မြန်မာဝီကီပီးဒီးယားတွင် အသုံးပြုလာနိုင်သည့် အနာဂတ်ကို ရည်ရွယ်၍ အင်္ဂလိပ်ဝီကီပီးဒီးယားရှိ တမ်းပလိတ်အချက်အလက်များ (TemplateData) စီမံကိန်းပုံစံရည်ရွယ်၍ မှတ်တမ်းမှတ်ရာ ပြုလုပ်ထားခြင်း ဖြစ်သည်။ ၎င်းကိရိယာများကို အသုံးမပြုသေးသည့်တိုင် ကွန်ပျူတာပရိုဂရမ်ရေးခြင်း (computer programming) နှင့် ပတ်သက်၍ အနည်းငယ်မျှသာ နားလည်သူများပင် ရှင်းရှင်းလင်းလင်းမြင်စေရန် အကျဉ်းချုပ်သဘော အသုံးပြုနိုင်သည်။

အလံ

This template displays a small flag icon next to a wikilinked country name

တမ်းပလိတ် ပါရာမီတာများ[တမ်းပလိတ် ဒေတာကို တည်းဖြတ်ရန်]

ပါရာမီတာဖော်ပြချက်အမျိုးအစားအခြေအနေ
Country identifier1

Common name of the country (e.g. 'United States'), a common alias (e.g. 'US'), or a standard country code

Stringလိုအပ်သည်
Variant2

Identifies a flag variant to be used instead of the standard flag, e.g. 1815

Stringထည့်လိုပါက
Alternative textname

Display alternative text instead of the standard country name

Stringထည့်လိုပါက
Maximum dimensionsize

The maximum width or height, specified via standard 'extended image syntax' (e.g. x30px)

Stringထည့်လိုပါက

See: Wikipedia:Extended image syntax.

အခြားကြည့်ရန်[ပြင်ဆင်ရန်]