Template:Ups and downs note name: Difference between revisions

CompactStar (talk | contribs)
No edit summary
Improve documentation; try fixing line breaks in the rendered result
Line 1: Line 1:
<includeonly>
<includeonly>{{#invoke:Ups_and_downs_notation|ups_and_downs_note_name|tuning={{{tuning|{{PAGENAME}}}}}|fifth={{{fifth|}}}|step={{{step|}}} }}</includeonly><noinclude>
{{#invoke:Ups_and_downs_notation|ups_and_downs_note_name|tuning={{{tuning|{{PAGENAME}}}}}|fifth={{{fifth|}}}|step={{{step|}}} }}
</includeonly>
<noinclude>
The '''ups and downs note name''' template (shortcut: [[Template:UDnote]]) gets the note name of an EDO interval in ups and down notation. Note names start from C. This template works for the most part, but it will often add in uncommonly used enharmonics. If you use a Mavila fifth, melodic notation will be used (sharp still raises and flat still lowers).  
The '''ups and downs note name''' template (shortcut: [[Template:UDnote]]) gets the note name of an EDO interval in ups and down notation. Note names start from C. This template works for the most part, but it will often add in uncommonly used enharmonics. If you use a Mavila fifth, melodic notation will be used (sharp still raises and flat still lowers).  


Arguments:
== Arguments ==
* tuning (set to page name by default)
* <code>tuning</code> (set to page name by default)
* fifth (set to patent val fifth by default): number of steps in the fifth
* <code>fifth</code> (set to patent val fifth by default): number of steps in the fifth
* step: number of steps in the interval
* <code>step</code>: number of steps in the interval


Example:
== Example ==
   
; You type
<nowiki>{{Ups and downs note name|tuning=24edo|step=7}}</nowiki> = {{Ups and downs note name|tuning=24edo|step=7}}
  <nowiki>{{Ups and downs note name|tuning=24edo|step=7}}</nowiki>
<nowiki>{{Ups and downs note name|tuning=9edo|step=3}}</nowiki> = {{Ups and downs note name|tuning=9edo|step=3}}
<nowiki>{{Ups and downs note name|tuning=9edo|step=3}}</nowiki>
 
; You get
{{Ups and downs note name|tuning=24edo|step=7}}
{{Ups and downs note name|tuning=9edo|step=3}}
 
== See also ==
* [[Module: Ups and downs notation]]
 
[[Category:Templates]]


</noinclude>
</noinclude>