Template:Pipe: Difference between revisions
Richardpruen (talk | contribs) m 1 revision imported |
m Protected "Template:Pipe": Highly visible template: request at WP:RFPP ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)) |
||
| Line 1: | Line 1: | ||
|<noinclude> | |<noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories | <!-- Add categories to the /doc subpage --> | ||
</noinclude> | </noinclude> | ||
Revision as of 13:42, 27 September 2022
|
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:
- {{vbar}}
- {{verti-bar}}
- {{vertical bar}}
- {{vertical line}}
- {{vertical slash}}
See also
| 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.