Module:MOS mode degrees: Difference between revisions

m Revert to sentence case for table titles, per poll on the Discord server
ArrowHead294 (talk | contribs)
m +Debugging option
Line 118: Line 118:
result = result
result = result
.. "! rowspan=\"2\" | UDP " .. (is_true_mos and "" or " and<br />alterations ") -- If modmos, add "and alterations" string
.. "! rowspan=\"2\" | UDP " .. (is_true_mos and "" or " and<br />alterations ") -- If modmos, add "and alterations" string
.. "!! rowspan=\"2\" | Cyclic<br>order "
.. "!! rowspan=\"2\" | Cyclic<br />order "
.. "!! rowspan=\"2\" | Step<br>pattern"
.. "!! rowspan=\"2\" | Step<br />pattern"
-- Add header for scale degrees
-- Add header for scale degrees
Line 292: Line 292:
end
end
return result
local debugg = frame.args["debug"]
return frame:preprocess(debugg == "true" and "<pre>" .. result .. "</pre>" or result)
end
end


return p
return p