Template:Ups and downs sharpness/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{dochead}}{{substitute|no}}{{lua}}
{{dochead}}{{substitute|no}}
This template creates a table that displays the combinations of symbols for different amounts of steps from a natural note for a given [[EDO|edo]] in [[Kite's ups and downs notation]]. It only takes the edo as a parameter, and it assumes [[24edo]] by default.
This template creates a table that displays the combinations of symbols for different amounts of steps from a natural note for a given [[EDO|edo]] in [[Kite's ups and downs notation]].


'''Note:''' It currently breaks for [[12edo]] and non-diatonic edos with a perfect fifth flatter than 4\[[7edo|7]].
=== 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 ===
=== Examples ===
<pre>{{Ups and downs sharpness}}</pre>
<pre>{{Ups and downs sharpness}}</pre>
{{ {{ROOTPAGENAMEE}} }}
{{ {{ROOTPAGENAMEE}} }}


<pre>{{Ups and downs sharpness|41}}</pre>
<pre>{{Ups and downs sharpness|41}}</pre>
{{{{ROOTPAGENAMEE}}|41}}
{{{{ROOTPAGENAMEE}}|41}}


<pre>{{Ups and downs sharpness|87}}</pre>
{{{{ROOTPAGENAMEE}}|87}}


<pre>{{Ups and downs sharpness|311}}</pre>
<pre>{{Ups and downs sharpness|72|true}}</pre>
{{{{ROOTPAGENAMEE}}|311}}
{{{{ROOTPAGENAMEE}}|72|true}}
 
 
<pre>{{Ups and downs sharpness|311|true}}</pre>
{{{{ROOTPAGENAMEE}}|311|true}}