Template:Localized link/my
[[Special:MyLanguage/{{{1}}}|{{{1}}}]]
File:OOjs UI icon alert-warning.svg | This template is used on approximately 35,000 pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
ရည်ရွယ်ချက်
ဤကူညီရေး တမ်းပလိတ်သည် အသုံးပြုသူ၏ ဘာသာပြန်ဆိုနိုင်သော စာမျက်နှာများသို့ လင့်ခ်ချိတ်ရာတွင် အသုံးပြုနိုင်သည်။
၎င်းသည် အသုံးပြုသူ၏ဘာသာစကားတွင် စာမျက်နှာတစ်ခု၏ ဘာသာပြန်ဗားရှင်းရှိမရှိ စစ်ဆေးပေးသည့် အထူးစာမျက်နှာရှေ့ဆက် Special:MyLanguage/
ကို အသုံးပြုကာ ၎င်းကို လင့်ခ်များ ချိတ်ဆက်ကာ ရရှိနိုင်သော နောက်ခံဘာသာစကားသို့ လင့်ခ်များ သို့မဟုတ် မူရင်း wiki ဘာသာစကားဗားရှင်း (အင်္ဂလိပ်၊ MediaWiki တွင်) မရှိလျှင်။
၎င်းကို ဘာသာပြန်ထားသော စာမျက်နှာများတွင် အသုံးပြုသင့်သည်၊ သို့မှသာ ၎င်းတို့သည် ထိုဘာသာစကားဖြင့် ဘာသာပြန်ထားသော စာမျက်နှာမရှိသော်လည်း မှန်ကန်သောစာမျက်နှာသို့ လင့်ခ်ချိတ်ထားနိုင်ရန်ဖြစ်သည်။
အသုံးပြုပုံ
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Localized link/my
<templatedata> { "description": { "be-tarask": "Спасылка на перакладную старонку мовай удзельніка. Яна мае адмысловую прыстаўку назвы «Special:MyLanguage/».", "en": "Link to translatable page in the user’s language. It uses the special page prefix “Special:MyLanguage/”.", "cs": "Odkaz na stránku, kterou lze přeložit v jazyce uživatele. Používá speciální předponu stránky “Special:MyLanguage/”.", "fr": "Lien vers une page traduisible dans la langue de l’utilisateur. Le lien utilise la page spéciale «Special:MyLanguage/».", "tr": "Kullanıcının dilindeki çevrilebilir sayfaya bağlantı. “Special:MyLanguage/” özel sayfa önekini kullanır.", "sv": "Länk till översättbar sida på användarens språk. Den använder specialsideprefixet “Special:MyLanguage/”." }, "format": "inline", "params": { "1": { "label": { "be-tarask": "Назва старонкі", "en": "Page name", "cs": "Název stránky", "fr": "Nom de la page", "es": "Nombre de la página", "tr": "Sayfa adı", "sv": "Sidnamn" }, "description": { "be-tarask": "Зьвязаная старонка", "en": "Linked page", "cs": "Odkazovaná stránka", "fr": "Page liée", "tr": "Bağlantılı sayfa", "sv": "Länkad sida" }, "required": true, "suggested": true, "type": "wiki-page-name" }, "2": { "label": { "be-tarask": "Тэкст для вываду", "en": "Displayed text", "cs": "Zobrazený text", "fr": "Texte affiché", "tr": "Görüntülenen metin", "sv": "Visad text" }, "description": { "be-tarask": "Паказаць у спасылцы гэты тэкст", "en": "Display text for this link", "cs": "Zobrazí text pro tento odkaz", "fr": "Texte affiché pour ce lien", "tr": "Bu bağlantı için metni görüntüleyin", "sv": "Visad text för denna länk" }, "suggested": true, "type": "line" }, "nsp": { "label": { "en": "Display the namespace", "cs": "Zobrazit jmenný prostor", "tr": "Ad alanını görüntüleyin", "sv": "Visa namnrymden", "fr": "Affichage de l'espace de noms" }, "description": { "be-tarask": "Калі парамэтар «nsp» не зададзены, у тэксьце спасылкі выведзецца поўная назва старонкі (з прасторай); інакш кажучы — калі парамэтар «nsp» мае якое-кольвек значэньне, то ў тэксьце спасылкі будзе кароткая назва без прасторы.", "en": "If the “nsp” parameter is not defined, as link text displays the full pagename (including namespace); otherwise — if “nsp” parameter is defined by any value — link text displays the short pagename, without namespace.", "cs": "Pokud není parametr “nsp” definován, protože text odkazu zobrazuje celý název stránky (včetně jmenného prostoru); jinak - pokud je parametr “nsp” definován jakoukoli hodnotou - text odkazu zobrazuje krátký název stránky bez jmenného prostoru.", "tr": "Bağlantı metni tam sayfa adını gösterdiğinden (ad alanı dahil) “nsp” parametresi tanımlanmamışsa; aksi takdirde, “nsp” parametresi herhangi bir değerle tanımlanmışsa, bağlantı metni, ad alanı olmadan kısa sayfa adını görüntüler.", "sv": "Om parametern “nsp” inte angetts, visas hela sidnamnet som länktext (med namnrymd); annars — om parametern “nsp” angetts med något värde — visar länktexten det korta sidnamnet, utan namnrymd.", "fr": "Si le paramètre “nsp” n'est pas défini, le texte du lien affiche le nom complet de la page (AVEC la valeur de l'espace de noms); sinon — si le paramètre “nsp” est défini avec une valeur quelconque — le texte du lien affiche le nom court de la page, SANS l'espace de noms." }, "autovalue": "0", "type": "string" } } } </templatedata>
"nsp
" ကန့်သတ်ဘောင်ကို မသတ်မှတ်ထားပါက၊ လင့်ခ်စာသားသည် စာမျက်နှာအမည်အပြည့်အစုံ (အမည်နေရာ အပါအဝင်) ကိုပြသထားသောကြောင့်၊ မဟုတ်ပါက — "nsp
" ပါရာမီတာကို တန်ဖိုးတစ်ခုခုဖြင့် သတ်မှတ်ပါက — လင့်ခ်စာသားသည် namespace မပါဘဲ စာမျက်နှာအမည်တိုကို ပြသသည်။
ရိုးရှင်းသော အသုံးပြုပုံ နမူနာများ
အောက်ပါအတိုင်း သုံးပါက | ရရှိမည်မှာ |
---|---|
{{ll|Communication}} | Communication |
{{ll|Communication|コミュニケーション}} | コミュニケーション |
{{ll|Project:About}} | Project:About |
{{ll|Project:About|nsp=0}} | About |
ဘာသာပြန်ဆိုနိုင်သော စာမျက်နှာများတွင် အသုံးပြုပုံ
ဘာသာပြန်ပါ။ ထပ်တိုးချဲ့မှုဖြင့် ဘာသာပြန်ရန် ပြင်ဆင်ထားသော စာမျက်နှာများတွင် ဤပုံစံကို သုံးမျိုးဖြင့် အသုံးပြုနိုင်သည်။
- ဤတမ်းပလိတ်ကို ပိုမိုကောင်းမွန်စွာ အစားထိုးသင့်ပြီး၊ ထို့ ဤတမ်းပလိတ်ကို ပိုမိုကောင်းမွန်စွာ အစားထိုးသင့်ပြီး၊ ထို့နောက် လင့်ခ်၏ ဘာသာပြန်ဆိုနိုင်သော စာသားမှ သီးခြား
<tvar name=id>...</tvar>
တွင် ထည့်သွင်းထားသော wikilink ပစ်မှတ်ကို ခွဲခြား၍မရပါ။- ဥပမာအားဖြင့်၊
{{ll|Communication|About communication}}
အစား၊ ဘာသာပြန်နိုင်သော စာမျက်နှာရှိ ဘာသာပြန်ဆိုချက်သည်[[<tvar name=1>Special:MyLanguage/Communication</tvar>|About communication]]
ဖြစ်လိမ့်မည်။
- ဥပမာအားဖြင့်၊
- တနည်းအားဖြင့် ဘာသာပြန်နိုင်သောကဏ္ဍမှ ဤကုဒ်ကို ဖယ်ထုတ်နိုင်သည်။
- For example, for
some text {{ll|Communication|About communication}} some text
, the translation markup in the translatable page will be: <translate>some text</translate> {{ll|Communication|2=<translate>About communication</translate>}} <translate>some text</translate>
- This is useful for bulleted lists of links, e.g. in the "See also:" sections.
- For example, for
- If link text is the same as the name of the target page, all of the code could also be embedded into
<tvar>
.- For example, instead of {{ll|Communication}}, the wikicode in the translatable page will be
<tvar name=1>{{ll|Communication}}</tvar>
.
- For example, instead of {{ll|Communication}}, the wikicode in the translatable page will be
နောက်ထပ်ကြည့်ရန်
- Template:Localized link/messagedoc — should be used for message documentation in translatable pages that use this template.
- {{Translatable template }} - alias {{TNT }} or {{Tnt }}
- {{Translatable template name }} - alias {{TNTN }} or {{Tntn }}
- {{Page language link }} - alias {{Pll }} - add a link from a translatable page to another translatable page in the same language