Template:Accidental

From blackwiki
Revision as of 01:05, 22 June 2007 by blackwiki>Dbolton
Jump to navigation Jump to search

{{{1}}}


Purpose

The template correctly renders Unicode sharps () flats () and natural signs () in Internet Explorer which would show empty squares instead of the proper symbol. The idea is modeled after Template:IPA. The choice of fonts also improves the rendering in other browsers such as Mozilla Firefox.

Without template With template
Flat
Natural
Sharp

Examples

Flat sign

{{accidental|flat}} renders
{{accidental|double flat}} renders 8px

Natural sign

{{accidental|natural}} renders

Sharp sign

{{accidental|sharp}} renders
{{accidental|double sharp}} renders 8px