Template:Bravura/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{dochead}} | {{dochead}} | ||
The '''Bravura''' template is used to display text using the BravuraText font. If the font is not available on the client side, it is provided through [[MediaWiki:Common.css]]. | |||
=== Usage notes === | === Usage notes === | ||
This template accepts two unnamed arguments: | This template accepts two unnamed arguments: | ||
Line 5: | Line 7: | ||
# (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/ | 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>&#x</code> in front and <code>;</code> after. For example, for the half-flat (U+E280) use <code><nowiki>{{Bravura|&#xE280;}}</nowiki></code>. | |||
This will render as {{Bravura|}}. | |||
=== See also === | === See also === | ||
* [[Template:Sagittal]] | * [[Template:Sagittal]] | ||
* [[Template:HEJI]] | * [[Template:HEJI]] | ||
* [[Template:flat]] | |||
* [[Template:sharp]] | |||
* [[Template:natural]] | |||
* [[Template:sharp2]] | |||
* [[Template:flat2]] | |||
* [[Template:demiflat]] | |||
* [[Template:demisharp]] | |||
* [[Template:sesquisharp]] | |||
* [[Template:sesquiflat]] |
Latest revision as of 15:55, 30 January 2025
The Bravura template is used to display text using the BravuraText font. If the font is not available on the client side, it is provided through MediaWiki:Common.css.
Usage notes
This template accepts two unnamed arguments:
- Text to display using the BravuraText font.
- (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 &#x
in front and ;
after. For example, for the half-flat (U+E280) use {{Bravura|}}
.
This will render as .