User:Dave Keenan/sagittal: Difference between revisions
Jump to navigation
Jump to search
Dave Keenan (talk | contribs) No edit summary |
Dave Keenan (talk | contribs) No edit summary |
||
| Line 2: | Line 2: | ||
<span class="bravura" style="font-size:250%; line-height:16px;"> | <span class="bravura" style="font-size:250%; line-height:16px;"> | ||
{{#switch: | {{#switch: | ||
{{#replace:{{{1}}}|\p|¦}}| | {{#replace:{{{1|}}}¦{{{2|}}}¦{{{3|}}}¦{{{4|}}}|\p|¦}}| | ||
//¦=| | //¦=| | ||
\\!=| | \\!=| | ||
| Line 41: | Line 41: | ||
{{{1}}}}} | {{{1}}}}} | ||
</span></includeonly><noinclude> | </span></includeonly><noinclude> | ||
This template converts sagitype | This template converts a sagitype code to a sagittal symbol in the BravuraText font. | ||
e.g. <nowiki>{{sagittal| /¦ | e.g. <nowiki>{{sagittal| /¦ }}</nowiki> returns <span class="bravura" style="font-size:250%; line-height:16px;"></span> and <nowiki>{{sagittal| !) }}</nowiki> returns <span class="bravura" style="font-size:250%; line-height:16px;"></span> | ||
In the sagitype, the broken bar ¦ (U+00A6) is allowed as an alternative to the pipe | (vertical bar) to avoid having to escape the pipe as \p. | In the sagitype, the broken bar ¦ (U+00A6) is allowed as an alternative to the pipe | (vertical bar) to avoid having to escape the pipe as \p. | ||
Revision as of 22:48, 3 October 2024
This template converts a sagitype code to a sagittal symbol in the BravuraText font.
e.g. {{sagittal| /¦ }} returns and {{sagittal| !) }} returns
In the sagitype, the broken bar ¦ (U+00A6) is allowed as an alternative to the pipe | (vertical bar) to avoid having to escape the pipe as \p.
The broken bar can be typed as ⎄|␣ (compose pipe space) using D&D's WinCompose sequences.