Template:!: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
Note:MediaWiki doesn't use this page. The wikitext 
		
	
 (Added note that this is a magic word.)  | 
				SirYodaJedi (talk | contribs)   (Keep cat so people are aware the shortcut exists)  | 
				||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
The expression {{code|<nowiki>{{!}}</nowiki>}} 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>}} will render <code>|</code> within the template. This is also necessary for tables.  | |||
The expression   | |||
{{Note|MediaWiki doesn't use this page. The wikitext {{code|<nowiki>{{!}}</nowiki>}} is no longer a template call but instead a magic word since [[mw:Help:Magic words#Escaped characters|MediaWiki 1.24]]. [[Special:Version|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.}}  | |||
[[Category:Templates for within templates]]  | [[Category:Templates for within templates]]  | ||
Latest revision as of 06:02, 25 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.