Template:Ups and downs sharpness: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
Tristanbay (talk | contribs) added "sz" parameter for Stein-Zimmerman accidentals for EDOs with even sharpnesses |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke: Ups_and_downs_sharpness | ud_sharpness | <includeonly>{{#invoke: Ups_and_downs_sharpness | ud_sharpness | ||
| edo = {{#rmatch: {{{1|{{ | | edo = {{#rmatch: {{{1|{{PAGENAME}}}}}|/(\d+)/|\1|24}} | ||
| sz = {{{2|false}}} | |||
| debug = {{lc: {{{debug|}}}}} | | debug = {{lc: {{{debug|}}}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Latest revision as of 22:35, 13 October 2025
- This template is implemented by the Lua module Module:Ups and downs sharpness.
- This template invokes the following functions: ud_sharpness from Ups and downs sharpness.
| This template should not be substituted. |
This template creates a table that displays the combinations of symbols for different amounts of steps from a natural note for a given edo in Kite's ups and downs notation.
Parameters
- edo: Selects the edo to notate (if left blank, it will be in whatever edo the page is for, or 24edo if it is not an edo page).
- sz: Controls whether or not the table uses Stein–Zimmerman accidentals for even-sharpness edos (true/false, defaults to false).
- debug: Displays the Wikitext to be rendered.
Known issues: SZ accidentals don't display for sharp-2 edos
Examples
{{Ups and downs sharpness}}
{{Ups and downs sharpness|41}}
{{Ups and downs sharpness|72|true}}
{{Ups and downs sharpness|311|true}}