Template:Sagittal-gallery-entry: Difference between revisions
Jump to navigation
Jump to search
Dave Keenan (talk | contribs) Improve appearance on Android by changing "width: 62px;" to "max-width: 66px;" and adding "margin-right: -5px; margin-bottom: -16px;" |
Dave Keenan (talk | contribs) Eliminate the need for the named "mid=" parameter, which was undocumented. |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
| style="height: 56px; text-align: center;" | {{sagittal| {{{1}}} |size=500%}} | | style="height: 56px; text-align: center;" | {{sagittal| {{{1}}} |size=500%}} | ||
|- | |- | ||
| style="height: {{{ | | style="height: {{#ifexpr: {{#count: {{{1}}} | X }} = 1 |48px|32px}}; text-align: center;" | {{#if: {{{3|}}} | | sagi­ }}{{#ifexpr: {{#count: {{{1}}} | X }} = 1 | double  | }}{{#ifexpr: {{#count: {{{1}}} | ¦ }} != 1 | sharp | }} {{trim|{{{3|}}}}}{{#if: {{{3|}}} | {{#ifexpr: {{#count: {{{1}}} | ¦ }} = 2 or {{#count: {{{1}}} | X }} = 1 | ao | ai }} | }} | ||
|- | |- | ||
| style="height: 64px;" | {{#ifexpr: {{#count: {{{1}}} | X }} = 1 | double | | style="height: 64px;" | {{#ifexpr: {{#count: {{{1}}} | X }} = 1 | double  | }}{{#ifexpr: {{#count: {{{1}}} | ¦ }} != 1 | {{#if: {{{4|}}} | sharp | [[2187/2048|sharp]] }} | }} {{#if: {{{5|}}} | {{#ifexpr: {{#count: {{{1}}} | ¦ }} = 2 or {{#count: {{{1}}} | X }} = 1 | {{{5|}}} down | [[{{{4|}}}|{{{5|}}} up]] }} | }} | ||
|} | |} | ||
</div> | </div> | ||
| Line 14: | Line 14: | ||
| style="height: 56px; text-align: center;" | {{sagittal| {{{2}}} |size=500%}} | | style="height: 56px; text-align: center;" | {{sagittal| {{{2}}} |size=500%}} | ||
|- | |- | ||
| style="height: {{{ | | style="height: {{#ifexpr: {{#count: {{{1}}} | X }} = 1 |48px|32px}}; text-align: center;" | {{#if: {{{3|}}} | | sagi­ }}{{#ifexpr: {{#count: {{{1}}} | X }} = 1 | double  | }}{{#ifexpr: {{#count: {{{1}}} | ¦ }} != 1 | flat | }} {{trim|{{{3|}}}}}{{#if: {{{3|}}} | {{#ifexpr: {{#count: {{{1}}} | ¦ }} = 2 or {{#count: {{{1}}} | X }} = 1 | ai | ao }} | }} | ||
|- | |- | ||
| style="height: 64px;" | {{#ifexpr: {{#count: {{{1}}} | X }} = 1 | double | | style="height: 64px;" | {{#ifexpr: {{#count: {{{1}}} | X }} = 1 | double  | }}{{#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> | ||
{{documentation}} | {{documentation}} | ||
[[Category:Font templates]] | [[Category:Font templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 04:29, 24 April 2026
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 of symbols.
| Note: | You can use {{sge}} as a shortcut.
|
Example
{{sagittal-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, then Pipe, then Space, using Dave Keenan & Douglas Blumeyer's compose-key sequences.