ထႅမ်းပလဵတ်ႉ:Format linkr/doc
| ၼႃႈလိၵ်ႈဢၼ်ၼႆႉၼႆႉ မၼ်းပဵၼ် ၽိုၼ်ၵႅမ်မိုဝ်း လၢႆးၸႂ်ႉတိုဝ်း (documentation) ႁင်း တွၼ်ႈတႃႇ ၼႃႈလိၵ်ႈၽႄ (subpage) ထႅမ်းပလဵတ်ႉ:Format linkr ၼၼ်ႉယဝ်ႉ။ တီႈၼႃႈလိၵ်ႈဢၼ်ၼႆႉၼႆႉ မၼ်းတေၶဝ်ႈပႃးဝႆႉ လၢႆးၸႂ်ႉတိုဝ်း လႄႈ ၶေႃႈၶၢဝ်ႇဢၼ်ၵဵဝ်ႇၵပ်း၊ ပိူင်ထၢၼ်ႈ လႄႈ ၶေႃႈမုၼ်းတၢင်ႇၸိူဝ်း ဢၼ်ဢမ်ႇၵဵဝ်ႇၵပ်း တင်း ထႅမ်းပလဵတ်ႉ page ၼၼ်ႉယဝ်ႉ။ |
| ထႅမ်းပလဵတ်ႉ ဢၼ်ၼႆႉ လႆႈၸႂ်ႉဝႆႉ တီႈၼႃႈလိၵ်ႈ မွၵ်ႈ 6,300 ၼႃႈလိၵ်ႈ လႄႈ လွင်ႈလႅၵ်ႈလၢႆႈၸိူဝ်းၼႆႉ တေႁႂ်ႈၽၢင်ႉမႅၼ်ႈၺႃး ၵႂၢင်ႈၵႂၢင်ႈၶႂၢင်ၶႂၢင်။ ၸၢမ်းတူၺ်း လွင်ႈလႅၵ်ႈလၢႆႈ တီႈၼႂ်း ထႅမ်းပလဵတ်ႉ's /sandbox ဢမ်ႇၼၼ် ၼႃႈလိၵ်ႈၽႄ /testcases , ဢမ်ႇၼၼ် တီႈၼႂ်း ၼႃႈလိၵ်ႈၽႄ ၽူႈၸႂ်ႉတိုဝ်း။ ဝူၼ်ႉသွၼ်ႇ ဢုပ်ႇဢူဝ်း လွင်ႈလႅၵ်ႈလၢႆႈ တီႈၼႂ်း ၼႃႈလိၵ်ႈ တႃႇဢုပ်ႇ ၽွင်းမိူဝ်ႈပႆႇ ၵေႃႇသၢင်ႈၶဝ်ၼၼ်ႉ။
ႁူဝ်ၼပ်ႉ လွင်ႈၶဝ်ႈပႃးၼႆႉ မၼ်းႁဵတ်းဢၢပ်ႉတဵတ်ႉဝႆႉႁင်းမၼ်း (တူၺ်းတီႈ ၽိုၼ်လိၵ်ႈ)။ |
| This template uses Lua: |
ၶေႃႈလူပ်းလင်
[မႄးထတ်းငဝ်ႈငႃႇ]| {{format link}} | {{format linkr}} |
|---|---|
{{format link|Some_Page_With_Underscores}}
|
{{format linkr|Some_Page_With_Underscores}}
|
| Some_Page_With_Underscores | Some Page With Underscores |
{{format linkr|Template talk:T#%7B%7Bu%7D%7D}}
|
{{format linkr|Template talk:T#%7B%7Bu%7D%7D}}
|
| Template talk:T § %7B%7Bu%7D%7D | Template talk:T § {{u}} |
{{format link|%E4%BA%BA%E7%9A%84%E6%95%99E5%8C%96}}
|
{{format linkr|%E4%BA%BA%E7%9A%84%E6%95%99E5%8C%96}}
|
| [[:%E4%BA%BA%E7%9A%84%E6%95%99E5%8C%96]] | 人的教化 |
{{format link|Page_With_HTML5_Entities}} |
{{format linkr|Page_With_HTML5_Entities}}
|
| Page_With_HTML5_Entities | Page With_HTML5 Entities |
{{format link|C++}} |
{{format linkr|C++}}
|
| C++ | C |
{{format link|C++}} |
{{format linkr|C++}}
|
| C++ | C++ |
{{format link|1=https://shn.wikipedia.org/w/index.php?title=Template%3AFormat_linkr%2Fdoc&action=edit}} |
{{format linkr|1=https://shn.wikipedia.org/w/index.php?title=Template%3AFormat_linkr%2Fdoc&action=edit}}
|
| https://shn.wikipedia.org/w/index.php?title=Template:Format_linkr/doc&action=edit | https://shn.wikipedia.org/w/index.php?title=Template:Format linkr/doc&action=edit |
လွင်ႈၸႂ်ႉတိုဝ်း
[မႄးထတ်းငဝ်ႈငႃႇ]This template does exactly what {{format link}} does, and takes all the same arguments.
This template is intended to lower editor workload when copying links from the URL bar and is not suitable for replacing {{format link}}, because of the changes it makes to {{format link}}'s output that could create ambiguity if automatically replaced.
This template replaces any underscores with spaces and decodes any URL parts in {{format link}}'s output. Some examples of why this may be useful—
{{format link|People_of_the_Philippines_v._Santos,_Ressa_and_Rappler#Santos_Jr.'s_article|italicizepage=y}}{{format link|%E6%9C%AA%E6%9D%A5%E6%97%A5%E8%A8%98#M%61nga}}
{{format linkr|People_of_the_Philippines_v._Santos,_Ressa_and_Rappler#Santos_Jr.'s_article|italicizepage=y}}
{{format linkr|%E6%9C%AA%E6%9D%A5%E6%97%A5%E8%A8%98#M%61nga}}
- As shown in these examples, {{format linkr}} also creates a way to use curly braces in links, which requires multiple templates with {{format link}}:
{{hlist|{{format linkr|Template talk:T#%7B%7Bu%7D%7D}}|{{format linkr|#%7B%7Bu%7D%7D}}}}
|nud=
[မႄးထတ်းငဝ်ႈငႃႇ]|nud= (no URL decode) can be added to disable URL decoding but still get underscores replaced.
{{format linkr|%E6%9C%AA%E6%9D%A5%E6%97%A5%E8%A8%98#M%61_nga|nud=y}}
Note that you can achieve this through the HTML5 entity _ just as well:
{{format linkr|pages%5Fcan’t_contain_underscores#but%5Fsections_may (though their anchors won’t!)}}
ၶေႃႈမုၼ်းထႅမ်းပလဵတ်ႉ
[မႄးထတ်းငဝ်ႈငႃႇ]Format linkr
This template simplifies the process of formatting links from the URL bar by automatically replacing underscores with spaces and decoding URL-encoded parts.
| Parameter | ၶေႃႈသပ်းလႅင်း | Type | Status | |
|---|---|---|---|---|
| Page | 1 link | The name of the page the link points to. It can include a section after a hashtag (#).
| String | required |
| Display | 2 display | optional display value
| String | optional |
| Target | 3 target | optional target override (which if provided, makes the link parameter optional)
| String | optional |
| Italicize page | italicizepage | Set to 'y' to italicize the page name.
| String | optional |
| No URL Decode | nud | Set to 'y' to prevent URL decoding, while still replacing underscores with spaces.
| String | optional |
| keepunderscore | keepunderscore | no description | Unknown | deprecated |