Module:Sharpness documentation: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 92: | Line 92: | ||
-- display the "see also" section for sharpness-3 and above | -- display the "see also" section for sharpness-3 and above | ||
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 | |||
.. (suffix == "" and "" or "-" .. 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 .. "]] " | |||
.. "– the classic version of this template that shows arrows attached to standard accidentals.|}}" | |||
end | end | ||
end | end | ||