Template:Escape notice: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Note:''' Pipe characters (<code>&#124;</code>) must be [[Template:Escape template list|escaped]] as {{tlx|!}} or {{tlx|pipe}}, and equals signs must be escaped as {{tlx|{{=}}}} (those inside elements and tags may need to be escaped as well, e.g. <code><nowiki><div style{{=}}"..."></nowiki></code>), except for ones inside <code>&lt;nowiki&gt;</code>, <code><<nowiki />pre></code>, <code><<nowiki />math></code>, and <code><<nowiki />syntaxhighlight></code> tags.<noinclude>[[Category:Note 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.