User:Dave Keenan/sagittal: Difference between revisions

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]]