Template:Sharpness documentation: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
No edit summary
Line 6: Line 6:
{{#ifexpr: {{{1|1}}} > 0
{{#ifexpr: {{{1|1}}} > 0
| === Parameters ===
| === Parameters ===
Passing <code>{{!}}{{#expr: {{{1|1}}} * 12}}{{))}}</code> will change '''Step Offset''' to '''Semitones''' in the case of [[{{#expr: {{{1|1}}} * 12}}edo]]{{#ifexpr: {{{1|1}}} >= 2|&#x2C; since {{#expr: {{{1|1}}} * 12}}edo is a direct extension of the [[12edo|standard 12 notes]]&#x3A;<br />
Passing <code>{{!}}{{#expr: {{{1|1}}} * 12}}{{))}}</code> will change '''Step Offset''' to '''Semitones''' in the case of [[{{#expr: {{{1|1}}} * 12}}edo]]{{#ifexpr: {{{1|1}}} >= 2|, since {{#expr: {{{1|1}}} * 12}}edo is a direct extension of the [[12edo|standard 12 notes]]&#58;<br />
{{(!}} class="wikitable center-all"
{{(!}} class{{=}}"wikitable center-all"
{{!+}} style="font-size: 105%;" {{!}} Usage
{{!+}} style{{=}}"font-size: 105%;" {{!}} Usage
{{!-}}
{{!-}}
! You type !! You get
! You type !! You get
Line 16: Line 16:
{{!}} <code>{{((}}Sharpness-sharp{{{1|1}}}{{#if: {{{2|}}}|-{{{2|}}}|}}{{pipe}}{{#expr: {{{1|1}}} * 12}}{{))}}</code> {{!!}} {{Sharpness-sharp{{{1|1}}}{{#if: {{{2|}}}|-{{{2|}}}|}}|{{#expr: {{{1|1}}} * 12}}}}
{{!}} <code>{{((}}Sharpness-sharp{{{1|1}}}{{#if: {{{2|}}}|-{{{2|}}}|}}{{pipe}}{{#expr: {{{1|1}}} * 12}}{{))}}</code> {{!!}} {{Sharpness-sharp{{{1|1}}}{{#if: {{{2|}}}|-{{{2|}}}|}}|{{#expr: {{{1|1}}} * 12}}}}
{{!)}}
{{!)}}
| &#x2E;
| &#46;
}}
}}
{{#ifexpr: {{{1|1}}} >= 3
{{#ifexpr: {{{1|1}}} >= 3

Revision as of 02:40, 17 August 2024