模板:Pipe/doc

来自决策链云智库
< 模板:Pipe
Zeroclanzhang讨论 | 贡献2024年1月16日 (二) 23:04的版本 (创建页面,内容为“{{Documentation subpage}} {{High-use}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is the {{tl|pipe}} meta-template. It looks like this: {{pipe}} 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 {{tn|!}}. This template uses the {{mono|<nowiki>&#124;</nowiki>}} List of XML and HTML character en…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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 &#124; 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 &#124;.

Please do not use the Unicode &#448; (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

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.