Module:Sharpness documentation: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 93: Line 93:
if (extension == "a" or extension == "A") and s >= 2 then
if (extension == "a" or extension == "A") and s >= 2 then
local basic = "Template:Sharpness-" .. typ .. value
local basic = "Template:Sharpness-" .. typ .. value
.. (suffix == "" and "" or "-" .. suffix)
local basic_suf = basic "-" .. suffix
out_str = out_str .. "\n\n<h3>See also</h3>\n"
out_str = out_str .. "\n\n<h3>See also</h3>\n"
.. "* [[Alternative symbols for ups and downs notation]]"
.. "* [[Alternative symbols for ups and downs notation]]"
out_str = out_str .. "\n{{#ifexist: " .. basic .. "|* [[" .. basic .. "]] "
out_str = out_str .. "\n* [[{{#ifexist: " .. basic_suf .. "|" .. basic_suf .. "|" .. basic .. "}}]] "
.. "&ndash; the classic version of this template that shows arrows attached to standard accidentals.|}}"
.. "&ndash; the classic version of this template that shows arrows attached to standard accidentals."
end
end
end
end