Template:Sagittal-gallery-entry: Difference between revisions
Jump to navigation
Jump to search
Dave Keenan (talk | contribs) Changed "Sagittal#Gallery" to "Sagittal_notation#Gallery". |
Dave Keenan (talk | contribs) Reduced width to that of the longest word "medium" to minimise line wrapping of galleries. |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="display:inline-table; line-height:16px;"> | <div style="display:inline-table; line-height:16px;"> | ||
{| class="wikitable" style="width: | {| class="wikitable" style="width:62px;" | ||
|- | |- | ||
| style="height: | | style="height:56px; text-align:center;" | {{sagittal| {{{1}}} |size=500%}} | ||
|- | |- | ||
| 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 }} | }} | ||
Line 11: | Line 11: | ||
</div> | </div> | ||
<div style="display:inline-table; line-height:16px;"> | <div style="display:inline-table; line-height:16px;"> | ||
{| class="wikitable" style="width: | {| class="wikitable" style="width:62px;" | ||
|- | |- | ||
| style="height: | | style="height:56px; text-align:center;" | {{sagittal| {{{2}}} |size=500%}} | ||
|- | |- | ||
| style="height:{{{mid|32px}}}; text-align:center;" | {{#if: {{{3|}}} | | sagi­ }}{{#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­ }}{{#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 }} | }} | ||
Line 27: | Line 27: | ||
generates | generates | ||
<div style="display:inline-table;"> | <div style="display:inline-table; line-height:16px;"> | ||
{| class="wikitable" style="width: | {| class="wikitable" style="width:62px;" | ||
|- | |- | ||
| style="height: | | style="height:56px; text-align:center;" | {{sagittal| /¦ |size=500%}} | ||
|- | |- | ||
| style="height:32px; text-align:center" | pai | | style="height:32px; text-align:center" | pai | ||
Line 37: | Line 37: | ||
|} | |} | ||
</div> | </div> | ||
<div style="display:inline-table;"> | <div style="display:inline-table; line-height:16px;"> | ||
{| class="wikitable" style="width: | {| class="wikitable" style="width:62px;" | ||
|- | |- | ||
| style="height: | | style="height:56px; text-align:center;" | {{sagittal| \! |size=500%}} | ||
|- | |- | ||
| style="height:32px; text-align:center" | pao | | style="height:32px; text-align:center" | pao |
Revision as of 21:24, 16 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_notation#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.