Changes

Jump to navigation Jump to search
1,698 bytes added ,  19:06, 26 April 2020
m
→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other and <includeonly>
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

This is the {{tl|pipe}} meta-template. It looks like this: {{pipe}}

This template uses the {{mono|<nowiki>&amp;#124;</nowiki>}} [[List of XML and HTML character entity references|decimal code]] for the [[vertical bar]] (or pipe character) so that its usage doesn't cause problems when it is used inside a [[Help:Template|template]]. This situation most commonly arises when the title of a cited reference contains a pipe character instead of a hyphen or dash (e.g. [http://www.xbox.com/ Xbox.com {{pipe}} Xbox.com Home]). <code>{{tl|Pipe}}</code> is easier to remember and clearer than an unadorned {{mono|<nowiki>&amp;#124;</nowiki>}}.

Please do not use the Unicode {{mono|<nowiki>&amp;#448;</nowiki>}} (which produces &#448;) since that does not work in all web browsers. It is also slightly smaller than &#124;.

=== Alternative names ===

The following names redirect here and can be used as alternative names for this template:
* {{tl|vbar}}
* {{tl|verti-bar}}
* {{tl|vertical bar}}
* {{tl|vertical line}}
* {{tl|vertical slash}}

=== See also ===

* [[mw:Help:Magic words#Other|<nowiki>{{!}}</nowiki>]] - A [[WP:magic word|magic word]] to encode "|" within template parameters or wikitables. Note that this one looks the same but has a very different meaning for the MediaWiki parser and thus has different functionality.
* {{tn|'}} - Used to encode apostrophe to keep it separate from <code><nowiki>''</nowiki></code> and <code><nowiki>'''</nowiki></code> markup.

<includeonly>{{Sandbox other||<!-- CATEGORIES HERE, THANKS -->
[[Category:Character templates|{{PAGENAME}}]]}}</includeonly>
Anonymous user

Navigation menu