Template:Pipe/doc

From Church of God Knowledge Encyclopedia
< Template:Pipe
Revision as of 12:02, 5 August 2022 by Johyangju (talk | contribs) (Created page with "{{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 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>&#124;</nowiki>}} List of XML and HTML character entity references|decimal...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the {{pipe}} meta-template. It looks like this: | 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 Template:Tn.

This template uses the Template:Mono decimal code for the vertical bar (or pipe character) so that its usage doesn't cause problems when it is used inside a 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. Xbox.com | Xbox.com Home). {{Pipe}} is easier to remember and clearer than an unadorned Template:Mono.

Please do not use the Unicode Template:Mono (which produces ǀ) since that does not work in all web browsers. It is also slightly smaller than |.

Alternative names

The following names redirect here and can be used as alternative names for this template:

See also

Template:Escape template list

  • Template:Tn - Used to encode apostrophe to keep it separate from '' and ''' markup.