「テンプレート:Pipe」の版間の差分

提供: 脳科学辞典
ナビゲーションに移動 検索に移動
1版
 
bsd>Ymblanter
Protected "Template:Pipe": Highly visible template: request at WP:RFPP ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))
1行目: 1行目:
&#124;<noinclude>
&#124;<noinclude>
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories to the /doc subpage -->
</noinclude>
</noinclude>

2022年9月27日 (火) 22:42時点における版

|

[edit] [purge] Documentation icon Template documentation

This is the {{pipe}} meta-template. It looks like this: |

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

  • {{!}} - 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.