Xenharmonic Wiki:Article guidelines: Difference between revisions
m →Heading levels: Improved wording |
guideline added: no escape templates unless absolutely necessary and no escape templates in code snippets |
||
Line 27: | Line 27: | ||
== Heading levels == | == Heading levels == | ||
Within articles, use from H2 (<code>== Title ==</code>) for the highest level down to H6 (<code>====== sub sub sub sub heading ======</code>), but try to avoid too many levels of sub sections. To go down to H4 will often be enough, most articles will only use H2 levels. | Within articles, use from H2 (<code>== Title ==</code>) for the highest level down to H6 (<code>====== sub sub sub sub heading ======</code>), but try to avoid too many levels of sub sections. To go down to H4 will often be enough, most articles will only use H2 levels. | ||
== Use of escape templates == | |||
Certain characters and character sequences have special meanings in Wiki markup, and sometimes need to be escaped. The use of such templates should generally be done as a last resort. In cases of displaying preformatted code, the use of escape templates is highly discouraged as doing so makes code snippets difficult to read in the source editor. | |||
'''Incorrect''' | |||
<pre><code><nowiki>{{((}}Example Template{{))}}</nowiki></code></pre> | |||
'''Correct''' | |||
<pre><nowiki><code><nowiki>{{Example template}}</nowiki></code></nowiki></pre> | |||
== Use of templates for special characters == | |||
''to be written'' | |||
== See also == | == See also == |