Template:MOS modes/doc: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
Corrected an error in documentation (incorrect sample code)
Line 8: Line 8:
|-
|-
|Tuning
|Tuning
|No (optional)
|Yes (optional on mos pages)
|The mos pattern in the form "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, or if not on a mos page, then 5L 2s will be used instead.</nowiki>
|The mos pattern in the form "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
|ModeNames
Line 17: Line 17:


=== Typical use ===
=== Typical use ===
For most mos pages, simply include the code below. If included on any other page, the template will default to the modes of 5L 2s, including mode names. The number of names must match the number of modes or they won't be included.
For most mos pages, simply include the code below. If included on any other page, a tuning must be specified.
<pre>{{#invoke:MOS_modes|modes_table}}</pre>
<pre>{{MOS modes}}</pre>
{{#invoke:MOS_modes|modes_table}}
=== Usage with a different tuning ===
=== Usage with a different tuning ===
To specify a tuning, include it as shown below. Non-octave tunings are supported.
To specify a tuning, include it as shown below. Non-octave tunings are supported.