Template:Music
This is an old revision of this page, as edited by Fox (talk | contribs) at 19:19, January 7, 2008. It may differ significantly from current revision.
Benefits
The template renders Western music notation of various types into Wikipedia.
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.
| Without template | With template | |
|---|---|---|
| Flat | ♭ | ♭ |
| Natural | ♮ | ♮ |
| Sharp | ♯ | ♯ |
Examples
Flat sign
{{music|flat}}, {{music|b}}, or {{music|♭}} renders ♭
{{music|2flat}}, {{music|bb}}, or {{music|♭♭}} renders
Unable to parse music symbol 2flat
Natural sign
{{music|natural}} or {{music|♮}} renders ♮
Sharp sign
{{music|sharp}}, {{music|#}} or {{music|♯}} renders ♯
{{music|2sharp}}, {{music|##}} or {{music|♯♯}} renders Unable to parse music symbol 2sharp