Template:Pipe/doc: Difference between revisions

From Space Station 14 Wiki
m (1 revision imported)
(Redirected page to wikipedia:Template:Pipe/doc)
Tag: New redirect
 
Line 1: Line 1:
{{Documentation subpage}}
#REDIRECT [[Wikipedia:Template:Pipe/doc]]
<!-- 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 should be used if you want to ''see'' a vertical bar character as part of the final article. To simply delay the interpretation of a vertical bar as wikitext, use {{tn|!}}.
 
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 ===
{{escape template list}}
* {{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>

Latest revision as of 22:45, 20 February 2022