Board Thread:General Discussion/@comment-6003396-20130419113251/@comment-667748-20130509202536

First question: To the question: "what happens" I answer: "don't do it". In what scenario would this happen, and can't you do something to avoid it? If you are afraid of bad user input, don't worry about it, I'd simply say it's not your problem.

In general, to display a pipe, just use Template:!. To display "|-", just write " |- ".

Normally, there are more convenience templates, such as (||), |- (|-), and even $($, {{ or $)$ }} to write the characters {, {{, } and }} without glitching the parser. There are even more, but those are the main ones. If you need them, just write/import them: any wiki should have these anyways.