Module:Sharpness documentation: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 91: Line 91:


-- display the "see also" section for sharpness-3 and above
-- display the "see also" section for sharpness-3 and above
if s >= 3 or (s == 2 and (extension == "a" or extension == "A")) then
out_str = out_str .. "\n\n<h3>See also</h3>\n" .. "* [[Alternative symbols for ups and downs notation]]"
end
if extension == "a" or extension == "A" or s >= 2 then
if extension == "a" or extension == "A" or s >= 2 then
out_str = out_str .. "\n\n<h3>See also</h3>\n"
out_str = out_str .. "\n\n<h3>See also</h3>\n"
Line 101: Line 97:
end
end
if s >= 3 then
if s >= 3 then
out_str = out_str .. "* [[Template:Sharpness-" .. typ .. value .. "]] &ndash; the classic version of this template that attaches arrows to accidentals."
out_str = out_str .. "\n* [[Template:Sharpness-" .. typ .. value .. "]] &ndash; the classic version of this template that attaches arrows to accidentals."
end
end
end
end