User:Dave Keenan/sagigalentry: Difference between revisions
Dave Keenan (talk | contribs) No edit summary |
Dave Keenan (talk | contribs) No edit summary |
||
(45 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="display:inline-table;"> | <div style="display:inline-table; line-height:16px;"> | ||
{| class="wikitable" style="width: | {| class="wikitable" style="width:62px;" | ||
|- | |- | ||
| style="text-align:center | | style="height:56px; text-align:center;" | {{sagittal| {{{1}}} |size=500%}} | ||
|- | |- | ||
| {{{3}}}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 }} | }} | ||
|- | |- | ||
| [[{{{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> | ||
<div style="display:inline-table;"> | <div style="display:inline-table; line-height:16px;"> | ||
{| class="wikitable" style="width: | {| class="wikitable" style="width:62px;" | ||
|- | |- | ||
| style="text-align:center | | style="height:56px; text-align:center;" | {{sagittal| {{{2}}} |size=500%}} | ||
|- | |- | ||
| {{{3}}}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 }} | }} | ||
|- | |- | ||
| {{{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> | ||
The ''' | 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 == | == Example == | ||
<code><nowiki>{{ | <code><nowiki>{{sagital-gallery-entry| /¦ | \! | p | 81/80 | 5 comma }}</nowiki></code> | ||
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="text-align:center | | style="height:56px; text-align:center;" | {{sagittal| /¦ |size=500%}} | ||
|- | |- | ||
| pai | | style="height:32px; text-align:center" | pai | ||
|- | |- | ||
| [[81/80|5 comma up]] | | style="height:64px; line-height:16px;" | [[81/80|5 comma up]] | ||
|} | |} | ||
</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="text-align:center | | style="height:56px; text-align:center;" | {{sagittal| \! |size=500%}} | ||
|- | |- | ||
| pao | | style="height:32px; text-align:center" | pao | ||
|- | |- | ||
| 5 comma down | | style="height:64px; line-height:16px;" | 5 comma down | ||
|} | |} | ||
</div> | </div> |