ထႅမ်းပလဵတ်ႉ:nowiki2
လၢႆးၸႂ်ႉတိုဝ်း
မႄးထတ်းUses Lua: |
{{nowiki2 | TEXT }}
{{nowiki2 | TEXT | tag = TAG }}
{{nowiki2 | TEXT | tag = TAG | style = STYLE }}
တူဝ်ယၢင်ႇ
မႄးထတ်း- {{nowiki2 | {{infobox}} }} → <table class="infobox" style="width:22em"></table>
- {{nowiki2 | {{unbulleted list|1=first|2=second}} | tag = pre }} →
'"`UNIQ--templatestyles-0000000D-QINU`"'<div class="plainlist"><ul><li>first</li><li>second</li></ul></div>
- {{nowiki2|tag=pre|style=background-color:#fafad2;|{{URL|www.Example.com}}}} →
<span class="url">[http://www.Example.com www<wbr/>.example<wbr/>.com]</span>
- a{{nowiki2 | 0001 }}b → a 0001 b
- a{{nowiki2 | 1000 }}b → a 1000 b
- a{{nowiki2 |\0001}}b → a\0001b
Since this template use Lua function mw.text.nowiki()
rather than {{#tag:nowiki}}
, the following examples will show the difference between this template and {{#tag:nowiki}}
.
- {{nowiki2 | [[Wikipedia]]{{foo}}{{}}{{PAGENAME}}{{{1}}}{{{2|222}}}<ref>ref example 1</ref><#<>{{=}}{{!}}'" }} → [[Wikipedia]][[:ထႅမ်းပလဵတ်ႉ:Foo]]{{}}Nowiki2{{{1}}}222'"`UNIQ--ref-00000019-QINU`"'<#<>=|'"
- {{nowiki2 | {{nowiki2| [[Wikipedia]]{{foo}}{{}}{{PAGENAME}}{{{1}}}{{{2|222}}}<ref>ref example 2</ref><#<>{{=}}{{!}}'" }} }} →  [[Wikipedia]][[:ထႅမ်းပလဵတ်ႉ:Foo]]{{}}Nowiki2{{{1}}}222'"`UNIQ--ref-0000001C-QINU`"'&lt;#<>=|'"
- {{nowiki2 | {{#tag:nowiki| [[Wikipedia]]{{foo}}{{}}{{PAGENAME}}{{{1}}}{{{2|222}}}<ref>ref example 3</ref><#<>{{=}}{{!}}'" }} }} → '"`UNIQ--nowiki-00000020-QINU`"'
- {{#tag:nowiki | {{nowiki2| [[Wikipedia]]{{foo}}{{}}{{PAGENAME}}{{{1}}}{{{2|222}}}<ref>ref example 4</ref><#<>{{=}}{{!}}'" }} }} → [[Wikipedia]][[:ထႅမ်းပလဵတ်ႉ:Foo]]{{}}Nowiki2{{{1}}}222'"`UNIQ--ref-00000023-QINU`"'<#<>=|'"
- {{#tag:nowiki | {{#tag:nowiki| [[Wikipedia]]{{foo}}{{}}{{PAGENAME}}{{{1}}}{{{2|222}}}<ref>ref example 5</ref><#<>{{=}}{{!}}'" }} }} → [[Wikipedia]][[:ထႅမ်းပလဵတ်ႉ:Foo]]{{}}Nowiki2{{{1}}}222[5]<#<>=|'"
- {{#tag:nowiki | [[Wikipedia]]{{foo}}{{}}{{PAGENAME}}{{{1}}}{{{2|222}}}<ref>ref example 6</ref><#<>{{=}}{{!}}'" }} → [[Wikipedia]][[:ထႅမ်းပလဵတ်ႉ:Foo]]{{}}Nowiki2{{{1}}}222[6]<#<>=|'"
ၽိုၼ်ဢိင်
Nowiki templates and modules
မႄးထတ်းTemplates and modules that implement <nowiki>TEXT</nowiki>
- {{nowiki}} - usage:
{{nowiki | TEXT }}
- {{nowiki2}} - usage:
{{nowiki2 | TEXT | tag = TAG | style = STYLE }}
- Module:String2 nowiki(TEXT) - usage:
{{#invoke:String2 | nowiki | TEXT }}
ၽိုၼ်ၵႅမ်မိုဝ်းလၢႆးၸႂ်ႉတိုဝ်း (documentation)တီႈၽၢႆႇၼိူဝ်ၼႆႉ လုၵ်ႉတီႈ ထႅမ်းပလဵတ်ႉ:Nowiki2/doc သေ ၶၢႆႉသႂ်ႇၶဝ်ႈ (ႁဵတ်း transclude ဝႆႉၶႃႈဢေႃႈ။ (မႄးထတ်း | ပိုၼ်း) ၽူႈၸိူဝ်းမႄးထတ်းၶဝ် ၸၢင်ႈၸၢမ်းတူၺ်းလႆႈ ၸိူဝ်းပဵၼ်ၼႃႈလိၵ်ႈ sandbox (သၢင်ႈ | ငဝ်းမိူၼ်) လႄႈ testcases (သၢင်ႈ) ႁင်း ထႅမ်းပလဵတ်ႉဢၼ်ၼႆႉ လႆႈယူႇၶႃႈ။ သႂ်ႇပိူင်ထၢၼ်ႈ ၵႃႈတီႈ ၼႃႈလိၵ်ႈၽႄ /doc လႄႈ။ ၼႃႈလိၵ်ႈၽႄ ႁင်း ထႅမ်းပလဵတ်ႉ ဢၼ်ၼႆႉ။. |