Template:Localized link/my
[[Special:MyLanguage/{{{1}}}|{{{1}}}]]
| This template is used on approximately ၃၅၀၀၀ 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
Link to translatable page in the user’s language. It uses the special page prefix “Special:MyLanguage/”.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Page name | 1 | Linked page | Page name | required |
| Displayed text | 2 | Display text for this link | Line | suggested |
| Display the namespace | nsp | 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.
| String | optional |
"nsp" ကန့်သတ်ဘောင်ကို မသတ်မှတ်ထားပါက၊ လင့်ခ်စာသားသည် စာမျက်နှာအမည်အပြည့်အစုံ (အမည်နေရာ အပါအဝင်) ကိုပြသထားသောကြောင့်၊ မဟုတ်ပါက — "nsp" ပါရာမီတာကို တန်ဖိုးတစ်ခုခုဖြင့် သတ်မှတ်ပါက — လင့်ခ်စာသားသည် namespace မပါဘဲ စာမျက်နှာအမည်တိုကို ပြသသည်။
When linking to a section within a page, the section is not displayed in the link text.
ရိုးရှင်းသော အသုံးပြုပုံ နမူနာများ
| အောက်ပါအတိုင်း သုံးပါက | ရရှိမည်မှာ |
|---|---|
| {{ll|Communication}} | ဆက်သွယ်ရေး |
| {{ll|Communication|コミュニケーション}} | コミュニケーション |
| {{ll|Project:About}} | Project:အကြောင်း |
| {{ll|Project:About#See_also}} | Project:အကြောင်း |
| {{ll|Project:About|nsp=0}} | အကြောင်း |
ဘာသာပြန်ဆိုနိုင်သော စာမျက်နှာများတွင် အသုံးပြုပုံ
ဘာသာပြန်ပါ။ ထပ်တိုးချဲ့မှုဖြင့် ဘာသာပြန်ရန် ပြင်ဆင်ထားသော စာမျက်နှာများတွင် ဤပုံစံကို သုံးမျိုးဖြင့် အသုံးပြုနိုင်သည်။
- ဤတမ်းပလိတ်ကို ပိုမိုကောင်းမွန်စွာ အစားထိုးသင့်ပြီး၊ ထို့ ဤတမ်းပလိတ်ကို ပိုမိုကောင်းမွန်စွာ အစားထိုးသင့်ပြီး၊ ထို့နောက် လင့်ခ်၏ ဘာသာပြန်ဆိုနိုင်သော စာသားမှ သီးခြား
<tvar name=id>...</tvar>တွင် ထည့်သွင်းထားသော wikilink ပစ်မှတ်ကို ခွဲခြား၍မရပါ။- For example:
Learn more {{<tvar name=1>ll|Communication</tvar>|about communication}}.
- For example:
- 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:
Learn more about <tvar name=1>{{ll|Communication}}</tvar>.
- For example:
- For standalone links, such as in a list or table, translate only the link text if it differs from the name of the target page. This is useful for bulleted lists of links, e.g. in the "See also:" sections. Make sure to include the parameter name when adding translate tags inside template syntax.
- For example:
* {{ll|Project:About}}* {{ll|Communication|2=<translate>About communication</translate>}}
Test cases
| This is the template test cases page for the sandbox of Template:Localized link. to update the examples. |
| Subpage |
|---|
{{Localized link|Extension:DiscussionTools/Comparison}}
{{Localized link}} |
| Hide namespace |
|---|
{{Localized link|Extension:DiscussionTools/Comparison|nsp=0}}
{{Localized link}} |
| Hide namespace with {{LC zh}}'s namespace setting |
|---|
{{Localized link|Project:About|nsp=0}}
{{Localized link}} |
နောက်ထပ်ကြည့်ရန်
- 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