Template:Sharpness documentation: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 5: Line 5:
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|&#44; since {{#expr: {{{1|1}}} * 12}}edo is a direct extension of the [[12edo|standard 12 notes]]&#58;<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|&#44; 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 example
{{!-}}
{{!-}}
! You type !! You get
! You type !! You get
{{!-}}
{{!-}}
{{!}} <code>{{((}}Sharpness-sharp{{{1|1}}}{{#if: {{{2|}}}|-{{{2|}}}|}}{{))}}</code> {{!!}} {{Sharpness-sharp{{{1|1}}}{{#if: {{{2|}}}|-{{{2|}}}|}}}}
{{!}} <code>{{((}}Sharpness-sharp{{{1|1}}}{{#if: {{{2|}}}|-{{{2}}}|}}{{))}}</code> {{!!}} {{{{ROOTPAGENAME}} }}
{{!-}}
{{!-}}
{{!}} <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> {{!!}} {{{{ROOTPAGENAME}}|{{#expr: {{{1|1}}} * 12}}}}
{{!)}}
{{!)}}
| &#46;
| &#46;
Line 23: Line 23:
}}
}}
</includeonly><noinclude>
</includeonly><noinclude>
{{doc}}
{{documentation}}


[[Category:Documentation templates]]
[[Category:Documentation templates]]
[[Category:Sharpness templates]]
[[Category:Sharpness templates]]
</noinclude>
</noinclude>

Revision as of 15:24, 20 September 2024

Template documentation[view] [edit] [history] [purge]
This template automatically fills documentation for sharpness templates, which show how many steps a sharp raises by in a given tuning along with any microtonal accidentals needed in the case of EDOs where sharps raise (or lower) by multiple steps.