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

Tristanbay (talk | contribs)
Changing to 84edo example to 72edo to show that the semitone numbers simplify
Tristanbay (talk | contribs)
Update to document extra paramenters
Line 1: Line 1:
{{dochead}}{{substitute|no}}{{lua}}
{{dochead}}{{substitute|no}}{{lua}}
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]].
 
It takes 3 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).
* '''debug''': Turns the template output into Wikitext.


=== Examples ===
=== Examples ===
<pre>{{Ups and downs sharpness}}</pre>
<pre>{{Ups and downs sharpness}}</pre>
{{ {{ROOTPAGENAME}} }}
{{ {{ROOTPAGENAME}} }}
<pre>{{Ups and downs sharpness|sz=true}}</pre>
{{ {{ROOTPAGENAME}}|sz=true}}


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


<pre>{{Ups and downs sharpness|72}}</pre>
{{{{ROOTPAGENAME}}|72}}


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