Template:Escape notice: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
m Add documentation template
ArrowHead294 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
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><nowiki><nowiki></nowiki></code>, <code><nowiki><pre></nowiki></code>, <code><nowiki><math></nowiki></code>, and <code><nowiki><syntaxhighlight></nowiki></code> tags.<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}}
{{documentation}}


[[Category:Note templates]]
[[Category:Note templates]]
</noinclude>
</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.