User:Dave Keenan/sagittal: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Dave Keenan (talk | contribs)
Made the documentation look more like that for the Bravura template
Dave Keenan (talk | contribs)
No edit summary
Line 285: Line 285:
== Usage notes ==
== Usage notes ==
This template accepts one unnamed argument and two named arguments:
This template accepts one unnamed argument and two named arguments:
# Text in the form of sagitype (the pictorial ASCII code for sagittal symbols).
# Text in the form of sagitype (the pictorial ASCII code for sagittal symbols) representing a single sagittal or related symbol.
# (optional) size = a CSS font-size value; defaults to "250%".
# (optional) size = a CSS font-size value; defaults to "250%".
# (optional) height = a CSS line-height value; defaults to "16px".
# (optional) height = a CSS line-height value; defaults to "16px".
Line 291: Line 291:
==Examples==
==Examples==


<nowiki>{{sagittal| /| }}</nowiki> returns <span class="bravura" style="font-size:250%; line-height:16px;">&#xE302;</span>
<nowiki>{{sagittal| /| }}</nowiki> → <span class="bravura" style="font-size:250%; line-height:16px;">&#xE302;</span>
<nowiki>{{sagittal| !) }}</nowiki> returns <span class="bravura" style="font-size:250%; line-height:16px;">&#xE305;</span>
 
<nowiki>{{sagittal| !) }}</nowiki> → <span class="bravura" style="font-size:250%; line-height:16px;">&#xE305;</span>


== See also ==
== See also ==

Revision as of 04:12, 4 October 2024

The Sagittal template is used to display sagittal and compatible accidentals and accents using the BravuraText font.

Usage notes

This template accepts one unnamed argument and two named arguments:

  1. Text in the form of sagitype (the pictorial ASCII code for sagittal symbols) representing a single sagittal or related symbol.
  2. (optional) size = a CSS font-size value; defaults to "250%".
  3. (optional) height = a CSS line-height value; defaults to "16px".

Examples

{{sagittal| /| }} →

{{sagittal| !) }} →

See also