Template:Sagittal: Difference between revisions
Jump to navigation
Jump to search
Dave Keenan (talk | contribs) Create sagittal template |
Dave Keenan (talk | contribs) Corrected escaped pipe from "\p" to <nowiki>"{{pipe}}"</nowiki>. Corrected the default case so it will return the unrecognised sagitype code |
||
Line 4: | Line 4: | ||
{{{1|}}}¦{{{2|⌫}}}¦{{{3|⌫}}}¦{{{4|⌫}}} | | {{{1|}}}¦{{{2|⌫}}}¦{{{3|⌫}}}¦{{{4|⌫}}} | | ||
¦⌫ | }} | | ¦⌫ | }} | | ||
{{pipe}} | ¦ }} | | |||
h | | h | | ||
¦//¦ =  | | ¦//¦ =  | | ||
Line 279: | Line 279: | ||
///¦ =  | | ///¦ =  | | ||
\\\! =  | | \\\! =  | | ||
{{{1}}}}}</span></includeonly><noinclude> | {{#replace: | ||
{{#replace: | |||
{{{1|}}}¦{{{2|⌫}}}¦{{{3|⌫}}}¦{{{4|⌫}}} | | |||
¦⌫ | }} | | |||
¦ | {{pipe}} }} | |||
}}</span></includeonly><noinclude> | |||
The '''Sagittal''' template converts a sagitype code (the pictorial ASCII code for sagittal) into a sagittal symbol in the BravuraText font. | The '''Sagittal''' template converts a sagitype code (the pictorial ASCII code for sagittal) into a sagittal symbol in the BravuraText font. | ||
Revision as of 02:54, 6 October 2024
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:
- 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 (|
) do not need to be escaped.
Examples
{{sagittal| /| }} →
{{sagittal| !) }} →