Template:Bravura/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Sintel (talk | contribs)
No edit summary
Sintel (talk | contribs)
Add better link
Line 5: Line 5:
# (optional) Font size, to be provided as a CSS font-size value; defaults to "200%".
# (optional) Font size, to be provided as a CSS font-size value; defaults to "200%".


You can look up the specific Unicode points at https://w3c.github.io/smufl/latest/index.html.
You can look up the specific Unicode points at the [https://w3c.github.io/smufl/latest/tables/standard-accidentals-12-edo.html Standard Music Font Layout specification] (sections 4.18 - 4.38).


It is recommended to use the character code directly and adding <code>&#</code> in front and <code>;</code> after. For example, for the half-flat (U+E280) use <code><nowiki>{{Bravura|&amp;#xE280;}}</nowiki></code>.
It is recommended to use the character code directly and adding <code>&#</code> in front and <code>;</code> after. For example, for the half-flat (U+E280) use <code><nowiki>{{Bravura|&amp;#xE280;}}</nowiki></code>.

Revision as of 20:43, 1 January 2025

Usage notes

This template accepts two unnamed arguments:

  1. Text to display using the BravuraText font.
  2. (optional) Font size, to be provided as a CSS font-size value; defaults to "200%".

You can look up the specific Unicode points at the Standard Music Font Layout specification (sections 4.18 - 4.38).

It is recommended to use the character code directly and adding &# in front and ; after. For example, for the half-flat (U+E280) use {{Bravura|&#xE280;}}.

This will render as .

See also