Module:Sharpness documentation: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 98: Line 98:
if (extension == "a" or extension == "A") then
if (extension == "a" or extension == "A") then
out_str = out_str
out_str = out_str
.. "* [[Alternative symbols for ups and downs notation]]"
.. "* [[Alternative symbols for ups and downs notation]]\n"
.. "\n* [[{{#ifexist: " .. basic_suf .. "|" .. basic_suf .. "|" .. basic .. "}}]] – "
.. "* [[{{#ifexist: " .. basic_suf .. "|" .. basic_suf .. "|" .. basic .. "}}]] – "
.. (s == 2
.. (s == 2
and "uses Stein–Zimmerman quarter tone accidentals."
and "uses Stein–Zimmerman 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
out_str = out_str
out_str = out_str .. "{{#ifexist: " .. basic .. "a|* [[" .. basic .. "a]] – "
.. "\n{{#ifexist: " .. basic .. "a|* [[" .. basic .. "a]] – "
.. "an alternate version of this template that shows separate arrows.|}}\n"
.. "an alternate version of this template that shows separate arrows.|}}"
.. "\n{{#ifexist: " .. basic .. "-extended|* [[" .. basic .. "-extended]] – "
if string.lower(suffix) ~= "extended" then
out_str = out_str .. "{{#ifexist: " .. basic .. "-extended|* [[" .. basic .. "-extended]] – "
.. "an alternate version of this template that includes "
.. "an alternate version of this template that includes "
end
if s == 3 then
if s == 3 then