Template:Infobox MOS/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{dochead}}
{{dochead}}{{substitute|no}}{{lua}}
The '''Infobox MOS''' template was built to help presenting basic information about [[MOS]] patterns (such as [[5L 2s]]) in a unified form, to make them obvious by glance.{{clear}}
 
=== Parameters ===
=== Parameters ===
The template supports the following parameters:
The template supports the following parameters:
{| class="wikitable" style="margin-right: 25%;"
{| class="wikitable" style="margin-right: 25%;"
! width="15%" | Parameter
|-
! Parameter
! Meaning and usage notes
! Meaning and usage notes
|-
|-
| Tuning (optional)
| Scale Signature
| The MOS pattern; if a division of a non-octave JI ratio m/n, the tuning should be written in the form "aL bs (m/n-equivalent)" or "<nowiki>aL bs<m/n></nowiki>". If this parameter is left blank, the template will attempt to parse the page title as a mos pattern.
| The MOS pattern; if a division of a non-octave JI ratio m/n, the tuning should be written in the form "aL bs (m/n-equivalent)" or "<nowiki>aL bs<m/n></nowiki>". If this parameter is left blank, the template will attempt to parse the page title as a mos pattern.
|-
|-
Line 20: Line 23:


=== Usage examples ===
=== Usage examples ===
{{{{ROOTPAGENAME}}|Tuning=5L 2s|debug=1}}
{{{{ROOTPAGENAME}}|Scale Signature=5L 2s|nocat=1}}
For a regular MOS page:  
For a regular MOS page:  


Line 27: Line 30:
Specifying a specific MOS from an unrelated page:
Specifying a specific MOS from an unrelated page:


<pre>{{Infobox MOS|Tuning=tuning|debug=1}}</pre>
<pre>{{Infobox MOS|Scale Signature=scalesig|debug=1}}</pre>


'''Note:''' Passing <code>debug=1</code> will disable categories.
'''Note:''' Passing <code>debug=1</code> will disable categories.


=== See also ===
=== See also ===
* {{modlink}}
* [[Template:Infobox ET]]
* [[Template:Infobox ET]]
{{clear}}