Module:Sharpness documentation: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 7: | Line 7: | ||
local sc = s * 12 | local sc = s * 12 | ||
local note = frame.args["note"] or "" | local note = frame.args["note"] or "" | ||
local notation = frame.args["notation"] | |||
local out_str = "This template is used " | local out_str = "This template is used " | ||
| Line 26: | Line 27: | ||
out_str = out_str .. "." | out_str = out_str .. "." | ||
if s >= 3 then | if notation == "" then | ||
if s >= 3 then | |||
out_str = out_str .. " It is based on [[ups and downs notation]] notated using [[Helmholtz–Ellis notation|Helmholtz–Ellis]]" | |||
if s % 2 == 0 then | |||
out_str = out_str .. " and [[24edo#Notation|quarter tone]]" | |||
end | |||
out_str = out_str .. " accidentals." | |||
end | end | ||
else | |||
out_str = out_str .. " | out_str = out_str .. " It is based on " .. notation | ||
end | end | ||