တမ်းပလိတ်:Getalias
{{နိုင်ငံ စာရင်းအင်း {{{1}}}|getalias/core|name=|variant=}}
အသုံးပြုပုံ
[ပြင်ဆင်ရန်]လိုရင်းတိုရှင်း
[ပြင်ဆင်ရန်]နိုင်ငံအမည်တွေကို အင်္ဂလိပ်ကနေ မြန်မာဘာသာကို ဒီလိုတမ်းပလိတ်သုံးပြီး ပြောင်းနိုင်ပါတယ်။
{{getalias|Eritrea}}→ အီရီထရီးယားနိုင်ငံ{{getalias|Estonia}}→ အက်စတိုးနီးယားနိုင်ငံ{{getalias|Eswatini}}→ အဲ့စ်ဝါတီးနီနိုင်ငံ{{getalias|Ethiopia}}→ အီသီယိုးပီးယားနိုင်ငံ
နိုင်ငံဆိုတဲ့စာလုံးမပါပဲ နာမည်အတိုသက်သက်လိုချင်ရင်တော့ "shortname" ဆိုတဲ့ ပါရာမီတာထည့်ရပါတယ်။
{{getalias|Costa Rica|shortname}}→ ကော့စတာရီကာ{{getalias|Croatia|shortname}}→ ခရိုအေးရှား{{getalias|Cuba|shortname}}→ ကျူးဘား{{getalias|Cyprus|shortname}}→ ဆိုက်ပရပ်စ်{{getalias|Czech Republic|shortname}}→ ချက်သမ္မတနိုင်ငံ{{getalias|Denmark|shortname}}→ ဒိန်းမတ်{{getalias|Djibouti|shortname}}→ ဂျီဘူတီ{{getalias|Dominica|shortname}}→ ဒိုမီနီကာ{{getalias|Dominican Republic|shortname}}→ ဒိုမီနီကန်သမ္မတနိုင်ငံ
Original English Version
[ပြင်ဆင်ရန်]This is a meta-template that is not intended to be transcluded directly from the main article space. It can be used to construct other templates that need to extract the |alias= value from the specified country_data structure, so that customized wikilinks can be constructed. For example, {{getalias|USA}} → "အမေရိကန်ပြည်ထောင်စု".
Different parameter values can be extracted using the second unnamed parameter. Use shortname as a second parameter to retrieve the |shortname alias= value if desired. For example, {{getalias|IRL}} → "အိုင်ယာလန်နိုင်ငံ", but {{getalias|IRL|shortname}} → "အိုင်ယာလန်". To extract the flag image name (|flag alias=), use flag as second parameter: {{getalias|CHN|flag}} → "Flag of the People's Republic of China.svg". The output defaults to the |alias= value if the desired |xxx alias= is undefined in the target template.
A third parameter can specify the variant; for example, [[File:{{getalias|United States|flag|1912}}|22px]] →
returns the image defined as |flag alias-1912= in {{Country data United States}}. The variant parameter can also be used to extract the link used with military and sports templates (e.g. {{army}}, {{fb}}): {{getalias|UK|link|army}} → ဗြိတိသျှစစ်တပ်.
See also
[ပြင်ဆင်ရန်]- {{getalias2}}, a more general version that can extract
|size=and|border=as well - {{ISO 3166 name}}
| အထက်ပါ အသုံးပြုပုံ လက်စွဲ (documentation)သည် တမ်းပလိတ်:Getalias/doc မှ ကူးပြောင်းထည့်သွင်း (transclude လုပ်)ထားခြင်း ဖြစ်သည်။ (တည်းဖြတ် | ရာဇဝင်) တည်းဖြတ်သူများအနေဖြင့် ဤတမ်းပလိတ်၏ sandbox (ဖန်တီး | ပုံတူပွား) နှင့် testcases (ဖန်တီး) စာမျက်နှာများကို စမ်းသပ်နိုင်ပါသည်။ စာမျက်နှာခွဲ /doc တွင် ကဏ္ဍများထည့်သွင်းပါ။ ဤ တမ်းပလိတ် ၏ စာမျက်နှာခွဲများ။. |