Template:Szg/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
m Fix link
Dave Keenan (talk | contribs)
Examples: Added examples showing how to get Kite's-ups-and-downs chevrons and standalone arrows, which are not strictly SZG but are related, and are not worth creating a separate template for.
Line 12: Line 12:
|-
|-
! You type !! You get
! You type !! You get
|-
| <code><nowiki>{{szg| ^ }}</nowiki></code> || {{szg| ^ }}
|-
| <code><nowiki>{{szg| ^| }}</nowiki></code> || {{szg| ^| }}
|-
|-
| <code><nowiki>{{szg| ^t# }}</nowiki></code> || {{szg| ^t# }}
| <code><nowiki>{{szg| ^t# }}</nowiki></code> || {{szg| ^t# }}

Revision as of 02:03, 16 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.5em".

Examples

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

See also