Template:Sagittal/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Dave Keenan (talk | contribs)
See also: Added template sagittal-gallery-entry.
ArrowHead294 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{dochead}}
{{dochead}}
== Usage notes ==
The '''Sagittal''' template converts a [[sagitype]] code (the pictorial ASCII code for sagittal) into a [[sagittal]] symbol in the BravuraText font.
 
=== 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, representing a sagittal or related symbol.
# Text in the form of sagitype, representing a sagittal or related symbol.
Line 6: Line 8:
# (optional) '''height =''' a CSS line-height value; defaults to "16px".
# (optional) '''height =''' a CSS line-height value; defaults to "16px".


'''Note:''' Pipe characters (<code>&#124;</code>) do not need to be escaped.
'''Notes:'''
* Pipe characters (<code>&#124;</code>) do not need to be escaped.
* Short-sagitype (single-character codes for common sagittals) is not yet supported.


'''Note:''' Short-sagitype (single-character codes for common sagittals) is not supported.
=== Examples ===
 
== Examples ==
{| class="wikitable" style="text-align: center;"
{| class="wikitable" style="text-align: center;"
|-
! You type !! You get
! You type !! You get
|-
|-
Line 19: Line 22:
|}
|}


== See also ==
=== See also ===
* [[Sagitype]]
* [[Sagitype]]
* [[Sagittal notation]]
* [[Sagittal notation]]
* [[Template:Sagittal-gallery-entry]]
* [[Template:Sagittal-gallery-entry]]
* [[Template:Bravura]]
* [[Template:Bravura]]

Latest revision as of 18:05, 25 January 2025

The Sagittal template converts a sagitype code (the pictorial ASCII code for sagittal) into a sagittal symbol in the BravuraText font.

Usage notes

This template accepts one unnamed argument and two named arguments:

  1. Text in the form of sagitype, representing a 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".

Notes:

  • Pipe characters (|) do not need to be escaped.
  • Short-sagitype (single-character codes for common sagittals) is not yet supported.

Examples

You type You get
{{sagittal| /| }}
{{sagittal| !) }}

See also