跳转到内容

模板:Pipe/doc

维基百科,自由的百科全书

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:

See also

模板调用 输出 
(延迟解析为维基代码)
HTML替代
(不会解析为维基代码)
说明
{{!}} | | 或 {{pipe}} 自MediaWiki 1.24开始被{{!}} 魔术字取代。
{{=}} = = 自MediaWiki 1.39开始被{{=}} 魔术字取代。
{{!!}} || ||
{{!(}} [ [
{{)!}} ] ]
{{!((}} [[ [[
{{))!}} ]] ]]
{{(}} { {
{{)}} } }
{{((}} {{ {{
{{))}} }} }}
{{(((}} {{{ {{{
{{)))}} }}} }}}
{{(!}} {| {|
{{!-}} |- |-
{{!)}} |} |}
{{Colon}} : :
{{*}}  *  * 此模板在不同的 Wiki 中存在差异。
  • {{!}} - 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.