Template:Pipe: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
Nowiki pipe template
 
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
<nowiki>|</nowiki><noinclude>
<nowiki>&#124;</nowiki><noinclude>
{{documentation}}
{{documentation}}


[[Category:Character templates]]
[[Category:Character substitution templates]]
</noinclude>
</noinclude>

Revision as of 02:16, 12 July 2024

|

Template documentation[view] [edit] [history] [purge]
English Wikipedia has an article on:

This is an auxiliary template that allows one to encode "|" (the pipe character) without it being interpreted as Wiki markup. It is designed to be easier to remember than having to memorize the HTML entity for the pipe (&#124;).

Please do not use &#448; (which produces ǀ) for this purpose, since it may not work in all web browsers. It is also slightly smaller than the normal pipe character.

Template calls for escaping characters
Template call* Output** HTML alternative***
{{!}} (m) | &#124; or {{pipe}}
{{=}} (m) = &#61;
{{!!}} || &#124;&#124;
{{!(}} [ &#91; or {{lbrack}}
{{)!}} ] &#93; or {{rbrack}}
{{!((}} [[ &#91;&#91;
{{))!}} ]] &#93;&#93;
{{(}} { &#123;
{{)}} } &#125;
{{((}} {{ &#123;&#123;
{{))}} }} &#125;&#125;
{{(((}} {{{ &#123;&#123;&#123;
{{)))}} }}} &#125;&#125;&#125;
{{(!}} {| &#123;&#124;
{{!+}} |+ &#124;&#43;
{{!-}} |- &#124;&#45;
{{!)}} |} &#124;&#125;
{{'}} ' &#39;
{{colon}} : &#58;
{{^(}} < &#60; or &lt;
{{)^}} > &#62; or &gt;
{{**}} * &#42;
This table: ViewTalkEdit

* m for magic word

** Delayed interpretation as Wiki markup

*** Never interpreted as Wiki markup