Template:Pipe/doc
This is a documentation subpage for Template:Pipe. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 101,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
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
[edit]The following names redirect here and can be used as alternative names for this template:
- {{vbar}}
- {{verti-bar}}
- {{vertical bar}}
- {{vertical line}}
- {{vertical slash}}
See also
[edit]Template call (m for magic word) |
Output (delayed interpretation as wikimarkup) | HTML alternative (never interpreted as wikimarkup) |
---|---|---|
{{!}} (m) |
| | | or {{pipe}} |
{{=}} (m) |
= | = |
{{!!}} |
|| | || |
{{!(}} |
[ | [ |
{{)!}} |
] | ] |
{{!((}} |
[[ | [[ |
{{))!}} |
]] | ]] |
{{(}} |
{ | { |
{{)}} |
} | } |
{{((}} |
{{ | {{ |
{{))}} |
}} | }} |
{{(((}} |
{{{ | {{{ |
{{)))}} |
}}} | }}} |
{{(!}} |
{| | {| |
{{!+}} |
|+ | |+ |
{{!-}} |
|- | |- |
{{!)}} |
|} | |} |
- {{'}} - Used to encode apostrophe to keep it separate from
''
and'''
markup.