Template:MOS modes/doc: Difference between revisions

ArrowHead294 (talk | contribs)
m Delimiters have been changed to use dollar signs instead of semicolons.
ArrowHead294 (talk | contribs)
mNo edit summary
 
Line 17: Line 17:
| Mode Names
| Mode Names
| No (optional)
| No (optional)
| A list of names delimited using semicolons. If provided, then a column for modes names are added. If the scale signature is "5L 2s", then mode names (Lydian, Ionian, etc) are automatically added.
| A list of names delimited using dollar signs.* If provided, then a column for modes names are added. If the scale signature is "5L 2s", then mode names (Lydian, Ionian, etc) are automatically added.
|-
|-
| Table Headers
| Table Headers
| No (optional)
| No (optional)
| A list of column headers delimited using dollar signs, if more than one column of information is needed. If either this or the parameter Entries are left blank, no columns are added.
| A list of column headers delimited using dollar signs,* if more than one column of information is needed. If either this or the parameter Entries are left blank, no columns are added.
|-
|-
| Table Entries
| Table Entries
| No (optional)
| No (optional)
| A list of entries delimited using semicolons, if more than one column of information is needed. There must be as many entries as there are as headers multiplied by modes, or no columns will be added. If either this or the Headers parameter are left blank, no columns are added.
| A list of entries delimited using dollar signs,* if more than one column of information is needed. There must be as many entries as there are as headers multiplied by modes, or no columns will be added. If either this or the Headers parameter are left blank, no columns are added.
|-
|-
| Collapsed
| Collapsed
Line 31: Line 31:
| An option to have the table collapsed. Enter "1" to have the table collapsed by default.
| An option to have the table collapsed. Enter "1" to have the table collapsed by default.
|}
|}
<nowiki />* In these fields, literal dollar signs must be escaped as <code>&amp;#x24;</code> or <code>&amp;#36;</code>.


=== Usage ===
=== Usage ===
Line 51: Line 52:


==== Adding mode names ====
==== Adding mode names ====
Names for each mode are separated by semicolons, as shown below. A mode may have multiple names (such as with 5L 3s) or a name consisting of multiple words (such as with the mode names described by Elaine Walker for 4L 5s <3/1>). The number of mode names must match the number of modes the mos has, or the column won't be added.
Names for each mode are separated by semicolons, as shown below. A mode may have multiple names (such as with 5L 3s) or a name consisting of multiple words (such as with the mode names described by Elaine Walker for 4L&nbsp;5s{{angbr|3/1}}). The number of mode names must match the number of modes the mos has, or the column won't be added.
<pre>{{MOS modes|Scale Signature=5L 3s|Mode Names=Dylathian, Dylian$ Ilarnekian$ Celephaïsian$ Ultharian$ Mnarian$ Kadathian, Kadian$ Hlanithian, Hlanian$ Sarnathian, Sarnian}}</pre>
<pre>{{MOS modes|Scale Signature=5L 3s|Mode Names=Dylathian, Dylian$ Ilarnekian$ Celephaïsian$ Ultharian$ Mnarian$ Kadathian, Kadian$ Hlanithian, Hlanian$ Sarnathian, Sarnian}}</pre>
{{{{ROOTPAGENAME}}|Scale Signature=5L 3s|Mode Names=Dylathian, Dylian$ Ilarnekian$ Celephaïsian$ Ultharian$ Mnarian$ Kadathian, Kadian$ Hlanithian, Hlanian$ Sarnathian, Sarnian}}
{{{{ROOTPAGENAME}}|Scale Signature=5L 3s|Mode Names=Dylathian, Dylian$ Ilarnekian$ Celephaïsian$ Ultharian$ Mnarian$ Kadathian, Kadian$ Hlanithian, Hlanian$ Sarnathian, Sarnian}}