Template:Scale link/doc: Difference between revisions
Jump to navigation
Jump to search
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&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 2s</code>), as the first unnamed parameter. Spaces will be replaced with a non-breaking space (<code>&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. |
Revision as of 14:16, 9 January 2025
For example, instead of having to type, for example, [[4L 5s (3/1-equivalent)|4L 5s]]
, you can type {{scale link|4L 5s|3/1}}
.
To link to, for example, the octave-repeating 4L 5s scale, just type [[4L 5s]]
or [[4L 5s]]
Parameters
{{{1}}}
(required)- The scale (in terms of L and s intervals, e.g.
5L 2s
), as the first unnamed parameter. Spaces will be replaced with a non-breaking space (
).
{{{2}}}
(optional)- The equave (if the scale is a non-octave scale), as the second unnamed parameter.