User:Dave Keenan/sagigalentry: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Dave Keenan (talk | contribs)
No edit summary
Dave Keenan (talk | contribs)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 7: Line 7:
| style="height:{{{mid|32px}}}; text-align:center;" | {{#if: {{{3|}}} | | sagi­ }}{{#ifexpr: {{#count: {{{1}}} | X }} = 1 | double sharp | }}{{#ifexpr: {{#count: {{{1}}} | ¦ }} > 1 | sharp | }} {{trim|{{{3|}}}}}{{#if: {{{3|}}} | {{#ifexpr: {{#count: {{{1}}} | ¦ }} = 2 or {{#count: {{{1}}} | X }} = 1 | ao | ai }} | }}
| style="height:{{{mid|32px}}}; text-align:center;" | {{#if: {{{3|}}} | | sagi­ }}{{#ifexpr: {{#count: {{{1}}} | X }} = 1 | double sharp | }}{{#ifexpr: {{#count: {{{1}}} | ¦ }} > 1 | sharp | }} {{trim|{{{3|}}}}}{{#if: {{{3|}}} | {{#ifexpr: {{#count: {{{1}}} | ¦ }} = 2 or {{#count: {{{1}}} | X }} = 1 | ao | ai }} | }}
|-
|-
| style="word-wrap: normal !important; height:64px;" | {{#ifexpr: {{#count: {{{1}}} | X }} = 1 | double sharp | }}{{#ifexpr: {{#count: {{{1}}} | ¦ }} > 1 | sharp | }} {{#if: {{{5|}}} | {{#ifexpr: {{#count: {{{1}}} | ¦ }} = 2 or {{#count: {{{1}}} | X }} = 1 | {{{5|}}} down | [[{{{4|}}}|{{{5|}}} up]] }} | }}
| style="height:64px;" | {{#ifexpr: {{#count: {{{1}}} | X }} = 1 | double sharp | }}{{#ifexpr: {{#count: {{{1}}} | ¦ }} > 1 | sharp | }} {{#if: {{{5|}}} | {{#ifexpr: {{#count: {{{1}}} | ¦ }} = 2 or {{#count: {{{1}}} | X }} = 1 | {{{5|}}} down | [[{{{4|}}}|{{{5|}}} up]] }} | }}
|}
|}
</div>
</div>
Line 17: Line 17:
| style="height:{{{mid|32px}}}; text-align:center;" | {{#if: {{{3|}}} | | sagi&shy; }}{{#ifexpr: {{#count: {{{1}}} | X }} = 1 | double flat | }}{{#ifexpr: {{#count: {{{1}}} | ¦ }} > 1 | flat | }} {{trim|{{{3|}}}}}{{#if: {{{3|}}} | {{#ifexpr: {{#count: {{{1}}} | ¦ }} = 2 or {{#count: {{{1}}} | X }} = 1 | ai | ao }} | }}
| style="height:{{{mid|32px}}}; text-align:center;" | {{#if: {{{3|}}} | | sagi&shy; }}{{#ifexpr: {{#count: {{{1}}} | X }} = 1 | double flat | }}{{#ifexpr: {{#count: {{{1}}} | ¦ }} > 1 | flat | }} {{trim|{{{3|}}}}}{{#if: {{{3|}}} | {{#ifexpr: {{#count: {{{1}}} | ¦ }} = 2 or {{#count: {{{1}}} | X }} = 1 | ai | ao }} | }}
|-
|-
| style="word-wrap: normal !important; height:64px;" | {{#ifexpr: {{#count: {{{1}}} | X }} = 1 | double flat | }}{{#ifexpr: {{#count: {{{1}}} | ¦ }} > 1 | flat | }} {{#if: {{{5|}}} | {{#ifexpr: {{#count: {{{1}}} | ¦ }} = 2 or {{#count: {{{1}}} | X }} = 1 | [[{{{4|}}}|{{{5|}}} up]] | {{{5|}}} down }} | }}
| style="height:64px;" | {{#ifexpr: {{#count: {{{1}}} | X }} = 1 | double flat | }}{{#ifexpr: {{#count: {{{1}}} | ¦ }} > 1 | flat | }} {{#if: {{{5|}}} | {{#ifexpr: {{#count: {{{1}}} | ¦ }} = 2 or {{#count: {{{1}}} | X }} = 1 | [[{{{4|}}}|{{{5|}}} up]] | {{{5|}}} down }} | }}
|}
|}
</div></includeonly><noinclude>
</div></includeonly><noinclude>

Latest revision as of 08:41, 17 October 2024

The Sagital-gallery-entry template generates sagittal gallery entries for the up and down versions of a sagittal symbol using the Bravura Text font. It is used in Sagittal#Gallery.

Example

{{sagital-gallery-entry| /¦ | \! | p | 81/80 | 5 comma }}

generates

⁠ ⁠
pai
5 comma up
⁠ ⁠
pao
5 comma down

Note the use of the broken pipe character ¦ (U+00A6) in the sagitype code for the upward sagittal. This avoids having to escape pipe characters. It can be typed as right-alt pipe space using D&D's Compose-key sequences.

See also