Template:Pipe
|
This is the {{pipe}} meta-template. It looks like this: |
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:
- {{divider line}}
- {{vbar}}
- {{verti-bar}}
- {{vertical bar}}
- {{vertical line}}
- {{vertical slash}}
See also编辑
模板調用 (m為魔術字) |
輸出 (延遲解釋為維基代碼) |
HTML替代 (不會解析為維基代碼) |
---|---|---|
{{!}} (m)
|
| | | 或 {{pipe}} |
{{=}} (m)
|
= | = |
{{!!}}
|
|| | || |
{{!(}}
|
[ | [ |
{{)!}}
|
] | ] |
{{!((}}
|
[[ | [[ |
{{))!}}
|
]] | ]] |
{{(}}
|
{ | { |
{{)}}
|
} | } |
{{((}}
|
{{ | {{ |
{{))}}
|
}} | }} |
{{(((}}
|
{{{ | {{{ |
{{)))}}
|
}}} | }}} |
{{(!}}
|
{| | {| |
{{!-}}
|
|- | |- |
{{!)}}
|
|} | |} |
- {{!}} - Used to encode "|" within template parameters or wikitables. Note that this one looks the same but has a very different meaning for the MediaWiki parser and thus has different functionality.
- {{'}} - Used to encode apostrophe to keep it separate from
''
and'''
markup.
上述文档嵌入自Template:Pipe/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |