Template:Scale link/doc: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
Note the supposed interval format and the default value |
||
(5 intermediate revisions by one other user not shown) | |||
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 | When linking non-octave scales (such as [[3/1|tritave]]-equivalent scales), one often has to type the scale twice (e.g. <code><nowiki>[[</nowiki>[[4L 5s (3/1-equivalent)]]|4L 5s<nowiki>]]</nowiki></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}}</nowiki></code> or <code><nowiki>{{sl|4L 5s}}</nowiki></code> instead. | ||
To link to, for example, the octave-repeating [[4L 5s]] scale, just type <code> | To link to, for example, the octave-repeating [[4L 5s]] scale, just type <code><nowiki>[[4L 5s]]</nowiki></code> or <code><nowiki>[[4L&nbsp;5s]]</nowiki></code>. | ||
{{shortcut|sl}} | |||
=== Parameters === | === Parameters === | ||
Line 9: | Line 11: | ||
; <code><nowiki>{{{2}}}</nowiki></code> (optional) | ; <code><nowiki>{{{2}}}</nowiki></code> (optional) | ||
: The equave (if the | : The equave in frequency ratio (if the equave is neither the octave nor the tritave), as the second unnamed parameter. Default is 3/1. |