Template:Escape notice: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
T
 
ArrowHead294 (talk | contribs)
mNo edit summary
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Note:''' Pipe characters (<code>{{!}}</code>) must be escaped as <code>{{((}}!{{))}}</code>, and equals signs must be escaped as <code>{{((}}={{))}}</code>, except for ones inside preformatted text (such as <code>{{^(}}syntaxhighlight{{)^}}</code> or <code>{{^(}}math{{)^}}</code> tags).<noinclude>[[Category:Templates]]</noinclude>
'''Note:''' Pipe characters (<code>&#124;</code>) must be escaped as {{tlx|!|plaincode}} or {{tlx|pipe|plaincode}}, equals signs must be escaped as {{tlx|&#61;|plaincode}} (this may apply to tags as well, e.g. <code><nowiki><div style{{=}}"…"></nowiki></code>), and other special characters and character sequences may need to be [[Template:Escape template list|escaped accordingly]], except for ones inside <code><nowiki><nowiki></nowiki></code>, <code><nowiki><pre></nowiki></code>, <code>[[mw:Extension:Math|<nowiki><math></nowiki>]]</code>, and <code>[[mw:Extension:SyntaxHighlight|<nowiki><syntaxhighlight></nowiki>]]</code> tags.<noinclude>
{{documentation}}
 
[[Category:Note templates]]
</noinclude>

Latest revision as of 12:54, 30 May 2025

Note: Pipe characters (|) must be escaped as {{!}} or {{pipe}}, equals signs must be escaped as {{=}} (this may apply to tags as well, e.g. <div style{{=}}"…">), and other special characters and character sequences may need to be escaped accordingly, except for ones inside <nowiki>, <pre>, <math>, and <syntaxhighlight> tags.

Template documentation[view] [edit] [history] [purge]

This template is to notify users that certain characters and character sequences must be escaped under certain circumstances.