Template:Scale link/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{dochead}} | {{dochead}} | ||
When linking non-octave scales (such as [[3/1|tritave]]-equivalent scales), one often has to type the scale twice (e.g. <code>[[<nowiki />4L 5s (3/1-equivalent)|4L 5s]]</code>). This template is intended to simplify this by only requiring the scale once, so you can type (for example) <code>{{<nowiki />scale link|4L 5s}}</code> or <code>{{<nowiki />sl|4L 5s}}</code> instead. | This template is a faster way to link MOS scale pages for [[non-octave]] scales. When linking non-octave scales (such as [[3/1|tritave]]-equivalent scales), one often has to type the scale twice (e.g. <code>[[<nowiki />4L 5s (3/1-equivalent)|4L 5s]]</code>). This template is intended to simplify this by only requiring the scale once, so you can type (for example) <code>{{<nowiki />scale link|4L 5s}}</code> or <code>{{<nowiki />sl|4L 5s}}</code> instead. | ||
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>. | 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>. | ||
{{shortcut|sl}} | |||
=== Parameters === | === Parameters === |
Revision as of 18:01, 25 January 2025
This template is a faster way to link MOS scale pages for non-octave scales. When linking non-octave scales (such as tritave-equivalent scales), one often has to type the scale twice (e.g. [[4L 5s (3/1-equivalent)|4L 5s]]
). This template is intended to simplify this by only requiring the scale once, so you can type (for example) {{scale link|4L 5s}}
or {{sl|4L 5s}}
instead.
To link to, for example, the octave-repeating 4L 5s scale, just type [[4L 5s]]
or [[4L 5s]]
.
Note: You can use {{sl}}
as a shortcut.
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 equave is neither the octave nor the tritave), as the second unnamed parameter.