User:Ganaram inukshuk/Sandbox: Difference between revisions

Ganaram inukshuk (talk | contribs)
Module and template sandbox: Testing out mos modes module, possibly as documentation
Ganaram inukshuk (talk | contribs)
MOS modes: Sandboxed documentation
Line 864: Line 864:


=== MOS modes ===
=== MOS modes ===
{| class="wikitable"
|+
!Argument
!Required?
!Description
|-
|Tuning
|No (for mos pages)
Yes for any other page
|"xL ys" (for 2/1-equivalent mosses), "xL ys<nowiki><p/q>" or "xL ys⟨p/q⟩" (for non-2/1 mosses), or "xL ys (p/q-equivalent)" (if the tuning is specified in the page's title). If left blank, then the page's title will be used instead.</nowiki>
|-
|ModeNames
|No (optional)
|A list of names delimited using semicolons. The number of names must match the number of modes or names will not be added. If the tuning is "5L 2s", then mode names (Lydian, Ionian, etc) are automatically added.
|}


==== Different mosses with mode names ====
==== Different mosses with mode names ====
5L 2s does not need names to be entered, as they're hardcoded.{{#invoke:MOS_modes|modes_table}}
5L 2s does not need names to be entered, as they're hardcoded and are added if the tuning is "5L 2s".{{#invoke:MOS_modes|modes_table}}
Multiple mode names are supported for each entry
Names for each mode are separated by semicolons, allowing multiple names per mode or multiple words per name.


{{MOS modes|Tuning=5L 3s|ModeNames=Dylathian, Dylian; Ilarnekian; Celephaïsian, Celephian; Ultharian; Mnarian; Kadathian, Kadian; Hlanithian, Hlanian; Sarnathian, Sarnian, Sarn}}
{{MOS modes|Tuning=5L 3s|ModeNames=Dylathian, Dylian; Ilarnekian; Celephaïsian, Celephian; Ultharian; Mnarian; Kadathian, Kadian; Hlanithian, Hlanian; Sarnathian, Sarnian, Sarn}}
Multi-part names are also supported


{{MOS modes|Tuning=4L 5s <3/1>|ModeNames=Walker I; Walker II; Moll I (Delta); Lambda; Moll II (Pierce); Harmonic; Dur I; Walker A; Walker B}}
{{MOS modes|Tuning=4L 5s <3/1>|ModeNames=Walker I; Walker II; Moll I (Delta); Lambda; Moll II (Pierce); Harmonic; Dur I; Walker A; Walker B}}


==== Different mosses without mode names ====
==== Different mosses without mode names ====
The number of mode names entered must match the number of modes, or else the names won't be included.
The same tables from above (except for 5L 2s) are shown without mode names. The number of names entered must match the number of mode names, or names won't be added.
{{MOS modes|Tuning=4L 2s|ModeNames=}}{{MOS modes|Tuning=2L 5s}}{{MOS modes|Tuning=4L 5s<3/1>}}
 
{{MOS modes|Tuning=5L 3s}}
 
{{MOS modes|Tuning=4L 5s <3/1>}}
 
To-do


== Template text sandbox ==
== Template text sandbox ==