Template:MOS in EDO: Difference between revisions

Ganaram inukshuk (talk | contribs)
Simplified args, added (some) documentation
ArrowHead294 (talk | contribs)
+Debugger
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:MOS_in_EDO|mos_in_edo_frame
<includeonly>{{#invoke: MOS_in_EDO | mos_in_edo_frame
|EDO={{{EDO|}}}
| EDO={{{EDO|}}}
|Generator={{{Generator|}}}
| Generator={{{Generator|}}}
|Periods={{{Periods|}}}
| Periods={{{Periods|}}}
|Temperament={{{Temperament|}}}
| Temperament={{{Temperament|}}}
|Step Visualization={{{Step Visualization|}}}
| Step Visualization={{{Step Visualization|}}}
|Generation Limit={{{Generation Limit|}}}
| Generation Limit={{{Generation Limit|}}}
| debug={{lc:{{{debug|}}}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Todo|add documentation|inline=1}}
{{documentation}}
This template creates a table showing the mosses found in an [[edo]] that are made using a generator of a given size.
 
== Parameters ==
[[Category:MOS scale templates]]
{| class="wikitable"
|-
! Parameters !! Required? !! Description
|-
| <pre>EDO</pre> || Yes || The number of divisions in the edo.
|-
| <pre>Periods</pre> || No (optional) || The number of periods in the mos. Default is 1.
|-
| <pre>Temperament</pre> || No (optional) || The name of any temperaments associated with this mos.
|-
| <pre>Generation Limit</pre> || No (optional) || If set, this puts a maximum limit to the number of rows in the resulting table.
|}
== Usage ==
For typical use, enter the edo and generator in edosteps as shown.
<pre>{{MOS in EDO
|EDO=12
|Generator=7}}</pre>
{{MOS in EDO
|EDO=12
|Generator=7}}
=== Multi-period mosses ===
To display the mosses for a multi-period mos, enter the number of periods as shown below. The number of periods must divide the number of divisions without a remainder.
<pre>{{MOS in EDO
|EDO=12
|Generator=5
|Periods=}}</pre>
{{MOS in EDO
|EDO=12
|Generator=5
|Periods=2}}
[[Category:Templates]]
</noinclude>
</noinclude>