Template:Pipe/doc

Safer nicotine wiki Tobacco Harm Reduction
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 {{!}}.

This template uses the | 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 |.

Please do not use the Unicode ǀ (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

This table: <span style="" title="<translate nowrap> View this template</translate>"><translate> view</translate> · <span style="" title="<translate nowrap> Discuss this template</translate>"><translate> talk</translate> · <span style="" title="<translate nowrap> Edit this template</translate>"><translate> edit</translate>
Template call
(m for magic word)
Output (delayed interpretation as wikimarkup) HTML alternative (never interpreted as wikimarkup)
{{!}} (m) | &#124; or {{pipe}}
{{}} (m) = &#61;
{{!!}} || &#124;&#124;
{{!(}} [ &#91;
{{)!}} ] &#93;
{{!((}} [[ &#91;&#91;
{{))!}} ]] &#93;&#93;
{{(}} { &#123;
{{)}} } &#125;
{{((}} {{ &#123;&#123;
{{))}} }} &#125;&#125;
{{(((}} {{{ &#123;&#123;&#123;
{{)))}} }}} &#125;&#125;&#125;
{{(!}} {| &#123;&#124;
{{!-}} |- &#124;&#45;
{{!)}} |} &#124;&#125;
  • {{'}} - Used to encode apostrophe to keep it separate from '' and ''' markup.