Template:!
Error: The retired template {{!}} should not be transcluded. Use the magic word {{!}}
instead.
This template was replaced with a magic word.
Administrators: Please do not delete this template even if it is not transcluded on any pages.
{{!}} is a magic word used to escape a pipe character "|" in wikitext, where it would otherwise be interpreted as a special character. Typically this is used when "|" is needed as part of a template argument or table cell contents.
This was formerly an actual template. In July 2014, the MediaWiki parser was updated to interpret {{!}}
as a magic word for performance reasons. From an editor's perspective, there is no difference; the magic word is used in the exact same manner as the template. However, if this template is transcluded in some way, an error message will be displayed and the page that transcludes it will be added to Category:Pages that use a template in place of a magic word.
The HTML character code |
may be used instead of this magic word in situations where it should never be interpreted as anything except a literal character.
See also
Template | Output | HTML alternative |
---|---|---|
{{!}} (m) | | | | |
{{=}} | = | = |
{{!!}} | || | || |
{{!(}} | [ | [ |
{{)!}} | ] | ] |
{{!((}} | [[ | [[ |
{{))!}} | ]] | ]] |
{{(}} | { | { |
{{)}} | } | } |
{{((}} | {{ | {{ |
{{))}} | }} | }} |
{{(((}} | {{{ | {{{ |
{{)))}} | }}} | }}} |
{{(!}} | {| | {| |
{{!)}} | |} | |} |
Adaptation is noted for reference and attribution only. This template may differ from the original in function or in usage.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.