User:Dave Keenan/sagittal: Difference between revisions

Dave Keenan (talk | contribs)
No edit summary
Dave Keenan (talk | contribs)
Copy main version ready for testing new additions
Line 292: Line 292:
       ¦⌫ | }} |
       ¦⌫ | }} |
     ¦ | {{pipe}} }}
     ¦ | {{pipe}} }}
}}</span>}}&#x2060;&#x200A;&#x2060;</includeonly><noinclude>
}}</span>}}{{nbhsp}}</includeonly><noinclude>
The '''Sagittal''' template converts a [[sagitype]] code (the pictorial ASCII code for sagittal) into a [[sagittal]] symbol in the BravuraText font.
{{documentation}}
 
== Usage notes ==
This template accepts one unnamed argument and two named arguments:
# Text in the form of sagitype, representing a sagittal or related symbol.
# (optional) '''size =''' a CSS font-size value; defaults to "250%".
# (optional) '''height =''' a CSS line-height value; defaults to "16px".
 
'''Note:''' Pipe characters (<code>&#124;</code>) do not need to be escaped.
 
'''Note:''' Short-sagitype (single-character codes for common sagittals) is not supported.
 
== Examples ==
{| class="wikitable" style="text-align: center;"
! You type !! You get
|-
| <code><nowiki>{{sagittal| /| }}</nowiki></code> || <span class="bravura" style="font-size: 250%; line-height: 16px; vertical-align: -0.3em;">&#xE302;</span>
|-
| <code><nowiki>{{sagittal| !) }}</nowiki></code> || <span class="bravura" style="font-size: 250%; line-height: 16px; vertical-align: -0.3em;">&#xE305;</span>
|}
 
== See also ==
* [[Sagittal notation]]
* [[Sagitype]]
* [[Template:Bravura]]


[[Category:Font templates]]
[[Category:Font templates]]
</noinclude>
</noinclude>