Template:Cnw/doc

Combination of  and .

Unlike with, wrapping still works.

Usage
Write "|" between braces of the wikitext to be displayed (and if its last character is a closing brace, also after that), and also inside tags, to avoid their interpretation by the server.

Write "|" in the desired wikitext as.

{{cnw|a{|{cnw{{!}}bold italics $(${{!}}{tc}{{!}}} link bold italics bold italics}|}b}}

gives:

ab

If a line of wikitext has man braces and/or pipes it is easier to use .

Limitations
The "|" does not avoid interpretation by the browser. For example, a code like is not shown but interpreted by the browser. Also, both a single and multiple newlines are displayed as a space by the browser.

gives:

To preserve paragraphs, apply the template for each line separately. To preserve also single newlines, use also tags.

gives: