Template:Scale link/doc: Difference between revisions

ArrowHead294 (talk | contribs)
d
 
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{dochead}}
{{dochead}}
For example, instead of having to type, for example, <code>[<nowiki />[4L 5s (3/1-equivalent)|4L 5s]]</code>, you can type <code>{<nowiki />{scale link|4L 5s|3/1}}</code>.
For example, instead of having to type, for example, <code>[<nowiki />[4L 5s (3/1-equivalent)|4L 5s]]</code>, you can type <code>{<nowiki />{scale link|4L 5s|3/1}}</code>.
To link to, for example, the octave-repeating [[4L 5s]] scale, just type <code>[<nowiki />[4L 5s]]</code> or <code>[<nowiki />[4L&amp;nbsp;5s]]</code>
=== Parameters ===
=== Parameters ===
; <code><nowiki>{{{1}}}</nowiki></code> (required)
; <code><nowiki>{{{1}}}</nowiki></code> (required)
: The scale (in terms of L and s intervals), as the first unnamed parameter
: The scale (in terms of L and s intervals, e.g. <code>5L&nbsp;2s</code>), as the first unnamed parameter. Spaces will be replaced with a non-breaking space (<code>&amp;nbsp;</code>).


; <code><nowiki>{{{2}}}</nowiki></code> (optional)
; <code><nowiki>{{{2}}}</nowiki></code> (optional)
: The equave (if the scale is a non-octave scale), as the second unnamed parameter
: The equave (if the scale is a non-octave scale), as the second unnamed parameter.