Module:Sharpness documentation: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
Dave Keenan (talk | contribs) Correct spelling of "Zimmermann" and refer to separate up and down symbols as "up and down chevrons" rather than "arrows". |
||
| Line 59: | Line 59: | ||
-- If a sharp raises by two steps | -- If a sharp raises by two steps | ||
result = result | result = result | ||
.. "comprises sharps, flats, and Stein– | .. "comprises sharps, flats, and Stein–Zimmermann [[24edo #Notation|quartertone]] accidentals." | ||
else | else | ||
-- Otherwise (if a sharp raises by three or more steps) | -- Otherwise (if a sharp raises by three or more steps) | ||
result = result | result = result | ||
.. "is based on [[ups and downs notation]] and comprises sharps, flats, " | .. "is based on [[ups and downs notation]] and comprises sharps, flats, " | ||
.. (s % 2 == 0 and "naturals, and Stein– | .. (s % 2 == 0 and "naturals, and Stein–Zimmermann [[24edo #Notation|quartertone]] accidentals " or "and naturals ") | ||
.. "with arrows from [[Helmholtz–Ellis notation]]." | .. "with arrows from [[Helmholtz–Ellis notation]]." | ||
end | end | ||
elseif extension == "a" or extension == "A" then | elseif extension == "a" or extension == "A" then | ||
-- Extension for modern-style ups and downs | -- Extension for modern-style ups and downs | ||
result = result .. "is based on [[ups and downs notation]] using separate | result = result .. "is based on [[ups and downs notation]] using separate up and down chevrons." | ||
end | end | ||
end | end | ||
| Line 103: | Line 103: | ||
if (extension == "a" or extension == "A") then | if (extension == "a" or extension == "A") then | ||
-- If the template shows separate | -- If the template shows separate up and down chevrons | ||
result = result | result = result | ||
.. string.format("* [[{{#ifexist: %s|%s|%s}}]] – ", basic_suf, basic_suf, basic) | .. string.format("* [[{{#ifexist: %s|%s|%s}}]] – ", basic_suf, basic_suf, basic) | ||
.. (s == 2 | .. (s == 2 | ||
and "uses Stein– | and "uses Stein–Zimmermann quarter tone accidentals." | ||
or "the classic version of this template that shows arrows attached to standard accidentals.") | or "the classic version of this template that shows arrows attached to standard accidentals.") | ||
else | else | ||
-- If the template shows integrated (HEJI-like) arrows | -- If the template shows integrated (HEJI-like) arrows | ||
result = result .. string.format("{{#ifexist: %sa|* [[%sa]] – ", basic, basic) | result = result .. string.format("{{#ifexist: %sa|* [[%sa]] – ", basic, basic) | ||
.. "an alternate version of this template that shows separate | .. "an alternate version of this template that shows separate up and down chevrons.\n|}}" | ||
if string.lower(suffix) ~= "" then | if string.lower(suffix) ~= "" then | ||