It is very common in web page titles.
[[text|tiddlername]] and [[text|url]] syntax are only convenient “shortcut” wikitext abbreviations that can be used for most links to tiddlers or external URLs, respectively.
However, since the | symbol is used as a separator between the text and the tiddlername or URL, it cannot also occur within the text, tiddlername or url. In addition, the wikitext syntax does not support use of encoded versions of the | symbol, such as “%7C”, “|” or “\|” to “escape” the | symbol.
To address this limitation of the shortcut wikitext syntax for tiddler links, you can use the underlying $link widget:
<$link to="tiddler|name">some|text</$link>
and for external links, you can use the HTML standard anchor syntax to include a | within the URL or text:
<a href="https://...">some|text</a>
Note that in a URL the | symbol is considered “unsafe” and should always be encoded as %7C to avoid it being interpreted as a special delimiter or control character. Within TiddlyWiki, if a URL that contains the | symbol is input by the user, it can be URI-encoded using TiddlyWiki filter syntax. For example:
<$edit-text field=URL/>
<a href={{{ [{!!URL}encodeuri[]] }}}>some|text</a>
-e