ထႅမ်းပလဵတ်ႉ:Dialog/pipetrick

[edit] ၽိုၼ်ၵႅမ်မိုဝ်း ထႅမ်းပလဵတ်ႉ

This template does pipe trick processing on a raw wiki markup string.

လွင်ႈၸႂ်ႉတိုဝ်း

မႄးထတ်း

Specify the raw wiki markup through the unnamed parameter.

တူဝ်ယၢင်ႇ

မႄးထတ်း
input output
[[foo|]] [[foo]] OK
[[w:foo (bar)|]] [[w:foo (bar)|foo]] OK
[[:en:b:foo, bar, quux|]] [[:en:b:foo, bar, quux|b:foo]] OK
[[foo, bar (quux)|]] [[foo, bar (quux)|foo, bar]] OK
[[w:foo#bar (quux)|]] [[w:foo#bar (quux)|]] OK

လွင်ႈမၵ်းၶၼ်ႈ

မႄးထတ်း

For precise simulation of the pipe trick, it shouldn't work in "ref" tags or "gallery" tags, nor with links to sections. As of this writing, the template duplicates the section-link exclusion (see example above), but not the tag exceptions.

မၢႆတွင်း

မႄးထတ်း

This is considered a dialog tool simply because dialog seems the only situation where one would manipulate raw wiki markup text.

တူၺ်းပႃး

မႄးထတ်း