Template:MOS scalesig: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) Undid revision 200016 by ArrowHead294 (talk) Tag: Undo |
||
| Line 1: | Line 1: | ||
<includeonly>{{safesubst:<noinclude />#invoke: MOS scalesig | mos_scalesig | |||
| scalesig = {{{1|}}} | | scalesig = {{{1|}}} | ||
| link = {{{link|}}} | | link = {{{link|}}} | ||
| long = {{{long|}}} | | long = {{{long|}}} | ||
| debug = {{lc:{{{debug|}}}}} | | debug = {{lc:{{{debug|}}}}} | ||
}}<noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
[[Category:Formatting templates]] | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 14:07, 19 June 2025
- This template is implemented by the Lua module Module:MOS scalesig.
- This template invokes the following functions: mos_scalesig from MOS scalesig.
| This template may be substituted. |
This template takes a MOS's scale signature and formats it with non-breaking spaces, with an option to link to its Wiki page.
Parameters
{{{1}}}(required)- The scale (in terms of L and s intervals, e.g.
5L 2sor4L 5s<3/1>for non-octave scales), as an unnamed parameter. Less-than and greater-than signs are replaced with angle brackets (U+27E8 and U+27E9).
{{{long}}}(optional)- Whether to write out the equave in its long form, e.g.
4L 5s (3/1-equivalent)rather than4L 5s⟨3/1⟩. Only applies to non-octave MOS scales.
{{{link}}}(optional)- Whether to link to the scale's wiki page, where writing
{{MOS scalesig|4L 5s <3/1>}}is equivalent to writing[[4L 5s (3/1-equivalent) | 4L 5s⟨3/1⟩]].