Template:Escape notice: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
m Generalise statement
m Cleanup
Line 1: Line 1:
'''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>
'''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><nowiki><nowiki></nowiki></code>, <code><nowiki><pre></nowiki></code>, <code><nowiki><math></nowiki></code>, and <code><nowiki><syntaxhighlight></nowiki></code> tags.<noinclude>
[[Category:Note templates]]
</noinclude>

Revision as of 14:49, 22 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.