Template:!: Difference between revisions
Jump to navigation
Jump to search
Note:MediaWiki doesn't use this page. The wikitext
SirYodaJedi (talk | contribs) (Undo revision 473366 by Alexiscoutinho (talk) it's directly integrated into mediawiki; it won't show up) Tags: Undo Reverted |
m (Undo revision 473369 by SirYodaJedi (talk) Quick test) Tag: Undo |
||
Line 1: | Line 1: | ||
<includeonly>|</includeonly><noinclude> | <includeonly>{{error|Error: The retired template {{tn|!}} has been transcluded; see [[mw:Help:Magic words#Escaped characters]] for details. To fix this, use only the code {{((}}[[mw:Help:Magic words#!|!]]{{))}} to generate the | character.}} | ||
[[Category:Pages which use a template in place of a magic word|M{{PAGENAME}}]] | |||
</includeonly><noinclude> | |||
The expression <code><nowiki>{{!}}</nowiki></code> allows the pipe character <code>|</code> to be inserted into a template. Normally the pipe is used as a separator for parameters and will not display correctly. Using <code><nowiki>{{!}}</nowiki></code> will render <code>|</code> within the template. This is also necessary for tables. | The expression <code><nowiki>{{!}}</nowiki></code> allows the pipe character <code>|</code> to be inserted into a template. Normally the pipe is used as a separator for parameters and will not display correctly. Using <code><nowiki>{{!}}</nowiki></code> will render <code>|</code> within the template. This is also necessary for tables. | ||
Revision as of 20:46, 24 April 2025
The expression {{!}}
allows the pipe character |
to be inserted into a template. Normally the pipe is used as a separator for parameters and will not display correctly. Using {{!}}
will render |
within the template. This is also necessary for tables.

{{!}}
is no longer a template call but instead a magic word since MediaWiki 1.24. We're above that. Deleting this page would have no impact, except for new editors trying to search it and not finding the above information.