Template:Szg/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Dave Keenan (talk | contribs)
mNo edit summary
Dave Keenan (talk | contribs)
Line 4: Line 4:
=== 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 representing an SVG or related symbol.
# Text representing an SZG 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, e.g. "40px"; defaults to "1.5" (of font size).
# (optional) '''height =''' a CSS line-height value, e.g. "40px"; defaults to "1.5" (of font size).

Revision as of 07:52, 1 May 2026

The szg template converts a pictorial ASCII code into a Stein-Zimmermann-Gould symbol in the BravuraText font. In some cases, the symbol is made up of multiple symbols offset and overlaid.

Usage notes

This template accepts one unnamed argument and two named arguments:

  1. Text representing an SZG or related symbol.
  2. (optional) size = a CSS font-size value; defaults to "250%".
  3. (optional) height = a CSS line-height value, e.g. "40px"; defaults to "1.5" (of font size).

Examples

You type You get
{{szg| ^t# }}
{{szg| vvvdb }}

See also