Module:MOS in EDO allperiods: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary Tag: Undo |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 93: | Line 93: | ||
multi_period_header_written = true | multi_period_header_written = true | ||
end | end | ||
result = result .. string.format("<h3>%i periods</h3\n", number_of_periods) | result = result .. string.format("<h3>%i periods</h3>\n", number_of_periods) | ||
end | end | ||
| Line 128: | Line 128: | ||
.. "[[Category:Lists of scales]]\n" | .. "[[Category:Lists of scales]]\n" | ||
.. "[[Category:MOS scales]]" | .. "[[Category:MOS scales]]" | ||
return result | return result | ||
end | end | ||
| Line 154: | Line 153: | ||
local generation_limit = tonumber(frame.args["Generation Limit"]) or -1 | local generation_limit = tonumber(frame.args["Generation Limit"]) or -1 | ||
local debugg = yesno(frame.args["debug"]) | local debugg = yesno(frame.args["debug"]) | ||
local result = p.mos_in_edo_allperiods(edo, max_periods, show_subsets, generation_limit, temperaments) | |||
-- Debugger option | |||
if debugg == true then | |||
result = "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" | |||
end | |||
return frame:preprocess(result) | |||
return frame:preprocess( | |||
end | end | ||
return p | return p | ||