Template:Escape notice: Difference between revisions

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

Revision as of 15:30, 13 May 2025

Note: Pipe characters (|) must be escaped as {{!}} or {{pipe}}, equals signs must be escaped as {{=}} (this may apply to equals signs in 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.