ထႅမ်းပလဵတ်ႉ:Dialog/safe/doc
Appearance
ဢၼ်ၼႆႉပဵၼ် ၼႃႈလိၵ်ႈၽႄ ၽိုၼ်ၵႅမ်မိုဝ်း တွၼ်ႈတႃႇ ထႅမ်းပလဵတ်ႉ:Dialog/safe. မၼ်းၶဝ်ႈပႃး လွၼ်ႉၶၢဝ်ႇ လွင်ႈၸႂ်ႉတိုဝ်း၊ ပိူင်ထၢၼ်ႈ လႄႈ လမ်းၼႂ်းတၢင်ႇၸိူဝ်း ဢၼ်ဢမ်ႇၸႂ်ႈပွတ်းတွၼ်ႈ ၶွင်ငဝ်ႈတိုၼ်း ထႅမ်းပလဵတ်ႉ ၼႃႈလိၵ်ႈ။ |
This is a dialog formatting template. It is meant for use on interactive dialog pages, and may involve interactions between wiki markup, HTML, and JavaScript. Please carefully test any edits before making them. |
This template is used on over 1000 pages. To avoid large-scale disruption and unnecessary server load, any changes should first be tested in the template sandbox or a user subpage. The tested changes can then be added in one single edit to this template. Please consider discussing any changes on the talk page before implementing them. |
This template converts certain wiki formatting characters in its parameter to numeric html entity references.
လၢႆးၸႂ်ႉတိုဝ်း
[မႄးထတ်း]Apply this template to strings output by the template expansion process, that will be converted to html but are meant to remain relatively unaffected by the conversion. The conversion still alters the string somewhat. To bypass the conversion altogether, use {{Dialog/init}}.
- {{Dialog/safe}} returns a "safe" version of string, by substituting html entity references for certain characters that have format meaning in wiki markup. As of this writing, the characters are
- < > = [ ] * # : '
- Note, this list does not include characters that affect parsing of wiki markup, but don't affect the subsequent conversion to html:
- { } |
- These parsing characters (and some of the others) are significant when a dialog parameter is being injected into the template expansion process, and are dealt with there by replacing them with template calls — to templates {{(*}}, {{*)}}, {{!}}, etc., so that the expansion process returns those characters to their original forms.
Internals
[မႄးထတ်း]The characters substituted for are designated by a Scribunto ustring pattern.
တူၺ်းပႃး
[မႄးထတ်း]