Xenharmonic Wiki:Article guidelines: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
|||
Line 29: | Line 29: | ||
== Use of escape templates == | == Use of escape templates == | ||
Certain characters and character sequences have special meanings in Wiki markup, and sometimes need to be escaped using escape templates. | Certain characters and character sequences have special meanings in Wiki markup, and sometimes need to be escaped using escape templates. However, when displaying preformatted code, the use of such templates is generally discouraged, and should generally be done as a last resort, since they often make code snippets difficult to read in the source editor. | ||
=== Avoid (generally) === | |||
<pre><nowiki>{{((}}Example Template{{))}}</nowiki></pre> | <pre><nowiki>{{((}}Example Template{{))}}</nowiki></pre> | ||
=== Preferred === | |||
<pre> | <pre> | ||
<nowiki>{{Example template}}</nowiki> | |||
</pre> | |||
or | |||
<pre> | |||
{{<nowiki />Example template}} | |||
</pre> | |||
== Use of templates for special characters == | == Use of templates for special characters == |