Template:Music/doc

Benefits
The template renders Western music notation of various types into WikiQueer.

Accidentals
It correctly renders Unicode sharps (♯) flats (♭) and natural signs (♮) in Internet Explorer which would otherwise display empty squares. The choice of fonts also improves the rendering in other browsers on Microsoft Windows such as Mozilla Firefox. See the table below to compare the results in your current browser.

The template also makes use of SVG to display double flat (𝄫) and double sharp (𝄪) signs since the corresponding Unicode characters are not widely supported.

Flat sign
,, or   renders ♭ ,, or   renders 𝄫

Natural sign
or  renders ♮

Sharp sign
,  or   renders ♯ ,  or   renders 𝄪

Notes and Rests
Note that some browsers support &amp;#x2669; (&#x2669;) and &amp;#x266a; (&#x266a;) for quarter and eighth notes, but since the display is often ugly and does not match any of the other (non-supported) notes and rests, this template does not use these characters.


 * Sample text: In place of the single whole note, Chopin writes  ♩ , completely changing the profile of the music.

Clefs
Note that there is no graphical distinction between trebleclef and gclef; alto, tenor, and cclef; bassclef and fclef. The difference is to preserve a difference in meaning and to make the caption text (for screen readers) different.

Scale Degrees
Scale degrees are often represented as arabic numerals with a hat on them. So that the root of a scale would be. This template supports this usage with. Scale degrees 1-8 and 9 are supported. So a descending tetrachord could be written as - -

Goals

 * 1) The template code should be easy to remember.
 * 2) The template should improve cross-browser support for music symbols.
 * 3) The template should reduce edit squabbles between Unicode sharps and flats versus ASCII #'s and b's. It should not be used to create new edit wars.