Module:Harmonics in cet: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 92: | Line 92: | ||
local result = approx(step, {unpack(intervals[select_intervals], start, start + columns - 1)}, title, prec) | local result = approx(step, {unpack(intervals[select_intervals], start, start + columns - 1)}, title, prec) | ||
local debugg = yesno(frame.args["debug"]) | local debugg = yesno(frame.args["debug"]) | ||
if debugg == true then | |||
result = "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" | |||
end | |||
return frame:preprocess(result) | |||
end | end | ||
return p | return p | ||