User:Dave Keenan/sagittal: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Dave Keenan (talk | contribs)
No edit summary
Dave Keenan (talk | contribs)
Made the documentation look more like that for the Bravura template
Line 281: Line 281:
\\\!    =  |
\\\!    =  |
   {{{1}}}}}</span></includeonly><noinclude>
   {{{1}}}}}</span></includeonly><noinclude>
This template converts a sagitype code to a sagittal symbol in the BravuraText font.
The '''Sagittal''' template is used to display sagittal and compatible accidentals and accents using the BravuraText font.


e.g. <nowiki>{{sagittal| /| }}</nowiki> returns <span class="bravura" style="font-size:250%; line-height:16px;">&#xE302;</span> and <nowiki>{{sagittal| !) }}</nowiki> returns <span class="bravura" style="font-size:250%; line-height:16px;">&#xE305;</span>
== Usage notes ==
This template accepts one unnamed argument and two named arguments:
# Text in the form of sagitype (the pictorial ASCII code for sagittal symbols).
# (optional) size = a CSS font-size value; defaults to "250%".
# (optional) height = a CSS line-height value; defaults to "16px".
 
==Examples==
 
<nowiki>{{sagittal| /| }}</nowiki> returns <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>
 
== See also ==
* [[Sagittal]]
* [[Template:Bravura]]
 
[[Category:Font templates]]

Revision as of 04:10, 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).
  2. (optional) size = a CSS font-size value; defaults to "250%".
  3. (optional) height = a CSS line-height value; defaults to "16px".

Examples

{{sagittal| /| }} returns {{sagittal| !) }} returns

See also