Xenharmonic Wiki:Manual of Style: Difference between revisions
ArrowHead294 (talk | contribs) |
m Update list of subpages |
||
| (22 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
These | This is the style guide for the Xenharmonic Wiki. This primary page is supported by further detailed subpages: | ||
* [[Xenharmonic Wiki:Manual of Style/Interval pages]] | |||
* [[Xenharmonic Wiki:Manual of Style/MOS pages]] | |||
* [[Xenharmonic Wiki:Manual of Style/Temperament cataloging]] | |||
* [[Xenharmonic Wiki:Manual of Style/Temperament pages]] | |||
If any contradiction arises, this page has precedence. | |||
These guidelines will hopefully make life easier in this wiki, not only for authors but also for readers. Some of them are adopted from {{w|Wikipedia:Manual of Style|Wikipedia}}, but we will keep it short and trust into good communication. | |||
== Naming articles == | == Naming articles == | ||
We follow | We follow {{w|WP:THE}}, {{w|WP:PLURAL}}, and {{w|WP:NCCAPS}}. In summary: | ||
=== Case === | === Case === | ||
The title or '''lemma''' should be in English sentence case (e.g. ''Sentence case'') as opposed to title case (e.g. ''Title Case''), in other words, only the first letter is capitalized if there is not an abbreviation or name in it. The reason behind this guideline is that it | The title or '''lemma''' should be in English sentence case (e.g. ''Sentence case'') as opposed to title case (e.g. ''Title Case''), in other words, only the first letter is capitalized if there is not an abbreviation or name in it. The reason behind this guideline is that it is much easier to remember how a lemma is spelled and it can be easily embedded into sentences without changing anything. The first letter of an in-wiki link is automatically capitalized, exactly as article names are. | ||
=== Plurals === | === Plurals === | ||
The title should also be in ''singular form'' unless it is a collection for different types of things. To link to <code>[[<nowiki />interval]]</code> or <code>[[<nowiki />interval]]s</code> is much easier than to link to <code> | The title should also be in ''singular form'' unless it is a collection for different types of things. To link to <code>[[<nowiki />interval]]</code> or <code>[[<nowiki />interval]]s</code> is much easier than to link to <code><nowiki>[[intervals|interval]]</nowiki></code>, because the link text automatically incorporates the letters following closing double brackets. | ||
=== Articles === | === Articles === | ||
| Line 14: | Line 22: | ||
=== Examples === | === Examples === | ||
* | * {{Preferred|Val}} (correct) | ||
* <s>The val</s> | * {{Avoid|<s>The val</s>}} (avoid) | ||
* <s>Vals</s> | * {{Avoid|<s>Vals</s>}} (avoid) | ||
* | * {{Preferred|Normal forms}} (correct) | ||
* | * {{Preferred|Online platforms}} (correct) | ||
=== Naming concepts/objects === | |||
We have outlined a generic rule for naming temperaments and commas. See: [[Temperament naming #Temperament and comma naming conventions]]. | |||
== Inline styling == | == Inline styling == | ||
If you want to add custom visual styling, don't try to hard-code the intended style in the article namespace by adding lots of <code>{{nowrap|<<nowiki/>span style{{=}}"…">}}</code> elements. If everybody uses their own personal style, pages can easily appear messy and become hard to read and edit in the source editor. It is also hard to edit a page if you don't understand how it is constructed. If you find something that doesn't look right, try to find the responsible CSS clause for it or ask an organizer or administrator to do so. If bugs in the CSS style get fixed, this will make more than one user happy. | |||
Another way to get a special layout into articles or article sections is to use templates. If the requested [[Help:template|template]] isn't available, ask an experienced user to build one for you. | Another way to get a special layout into articles or article sections is to use templates. If the requested [[Help:template|template]] isn't available, ask an experienced user to build one for you. | ||
== 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><nowiki>== Title ==</nowiki></code>) for the highest level down to H6 (<code><nowiki>====== sub sub sub sub heading ======</nowiki></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. | ||
== Escape templates and HTML codes == | |||
Certain characters and character sequences have special meanings in Wiki markup, and sometimes need to be escaped using escape templates or {{w|character encodings in HTML|HTML codes}}. However, this should generally be done only as a last resort since they often make the wiki text difficult to read and edit. | |||
Additionally, using escape templates is not necessarily effective when rendering templates with arguments, as in many cases the result may be interpreted as markup anyways. This is because escape templates merely delay the interpretation of the character sequences they represent as Wiki markup, but they assume that the character sequences themselves are ultimately to be interpreted as markup. | |||
; Avoid (generally) | |||
<pre<includeonly /> | <pre<includeonly/>> | ||
<nowiki>{{((}}Example template|argument{{))}}</nowiki> | {{avoid|<nowiki>{{((}}Example template|argument{{))}}</nowiki>}} | ||
</pre> | </pre> | ||
; Use this instead | |||
<pre<includeonly /> | <pre<includeonly/>> | ||
{{preferred|<nowiki><nowiki>{{Example template|argument}}</nowiki></nowiki>}} | |||
</pre> | </pre> | ||
== Use of | Whitespaces (except for the ordinary space) are encouraged to be written in HTML codes because it is otherwise hard to know what they are. In general (this applies to both whitespaces and other characters) if HTML codes are used, names are preferred to Unicode code points. In general, if you do use code points, {{w|hexadecimal}} (base-16) is preferred to decimal (e.g. <code>&#x200A;</code> is preferred over <code>&#8202;</code>) for any code point with more than three decimal digits (i.e. <code>&#1000;</code> and above) because code points are usually shown in hexadecimal. | ||
'' | |||
== Stub template and other templates == | |||
When placing [[Template: Stub]] on a page: always place the Stub template at the very end of a page's source, separated by two blank lines from whatever comes before (usually categories). | |||
When placing or using any template, read that template's documentation before placing it. All templates and their documentation can be found in [[:Category: Templates]]. | |||
== Decimal numbers == | |||
Use the English convention with decimal point. (Exception: quotes or entire articles in another language) | |||
{| class="wikitable" | |||
|- | |||
! Correct | |||
! Avoid (example) | |||
|- | |||
| style="background-color: #afa;" | 701.995 | |||
| style="background-color: #faa;" | <s>701,995</s> | |||
|} | |||
== Logarithmic interval measures == | |||
Logarithmic interval measures should generally be given in [[cent]]s since it is the most standard unit for that purpose: it is more easily understood by musicians already familiar with [[12edo]] and by many software programs, such as the [[Scala]] file format. Alternative [[interval size measure]]s are acceptable if they better reflect the idea behind an interval system, scale, etc., but "competing" columns with logarithmic sizes in the same table should usually be avoided. Simple cases like [[degree]]s alongside cents in an interval chain are acceptable. | |||
[[Cent]] values should be written up to 3 decimal places in most contexts where precision matters, such as [[Technical data guide for regular temperaments|temperament data pages]] and other technical tables. Very small intervals may be written up to 3 significant figures, and in scientific notation if needed. In contexts where high precision does not matter as much, it is generally sufficient to round to 1 decimal place or to the nearest cent. | |||
== Quotation marks and apostrophes == | |||
{{w|Wikipedia:Manual of Style#Quotation marks|As on Wikipedia}}, please: | |||
# Use {{preferred|<big>"</big>straight quotes<big>"</big>}}, instead of {{avoid|<big>“</big>curly quotes<big>”</big>}} (the same applies for single quotes: {{preferred|<big>'</big>straight<big>'</big>}} instead of {{avoid|<big>‘</big>curly<big>’</big>}}), and straight apostrophes ({{preferred|<big>'</big>}}) instead of curly apostrophes ({{avoid|<big>’</big>}}). Straight quotes and straight apostrophes are much easier to type on most keyboards than their curly (typographic) counterparts and produce fewer encoding problems. | |||
# Avoid using {{avoid|<big>`</big>accent marks<big>´</big>}} (e.g. backticks) and {{avoid|<big>′</big>prime symbols<big>′</big>}} (including, e.g. {{avoid|<big>″</big>double primes<big>″</big>}}) as quotation marks or apostrophes. | |||
# Avoid using {{avoid|<big>„</big>low-high quotes<big>“</big>}}, {{avoid|<big>「</big>corner brackets<big>」</big>}}, or {{avoid|<big>«</big>guillemets<big>»</big>}} as quotation marks, except in special cases or for non-English text that uses these marks. | |||
The templates {{tlx|'}} and {{tlx|'s}} are helpful when an apostrophe or single quote appears at the beginning or end of text in '''bold''' or ''italics'', because bold and italic text are themselves indicated by sequences of single quotes. When an apostrophe follows italicized text, {{tlx|`}} and {{tlx|`s}} can be used to additionally prevent the apostrophe from intersecting the last letter. | |||
== Links == | |||
Links—both wiki-internal and external ones—should have meaningful text; something like "[[Conventions|here]]" is not very useful for understanding and orientation, often the page title is a good starting point. | |||
: ''For more info see [[Help: Here-links]]'' | |||
Internal links should be as precise as possible. So, for example, if you follow a link that promises a definition of a term you don't know, it's not helpful if it brings you to an article full of new information and the expected definition hidden in a massive amount of text. (there is still a lot to be done in this area) | |||
== See also == | == See also == | ||
* [[Help: | * [[Help: Introduction]] | ||
* [[Help:Editing]] | * [[Help: Editing]] | ||
[[Category:Xenharmonic Wiki | [[Category:Xenharmonic Wiki guidelines]] | ||