Module:Interval table: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 4: Line 4:
local ud = require("Module:Ups and downs notation")
local ud = require("Module:Ups and downs notation")
local ET = require("Module:ET")
local ET = require("Module:ET")
local yesno = require("Module:Yesno")


-- Gets mapping of a monzo in a val
-- Gets mapping of a monzo in a val
Line 182: Line 183:
wtext = wtext .. "|}"
wtext = wtext .. "|}"
local debugg = frame.args["debug"]
local debugg = yesno(frame.args["debug"])
return frame:preprocess(debugg == "true" and "<pre>" .. wtext .. "</pre>" or wtext)
return frame:preprocess(debugg == true and "<pre>" .. wtext .. "</pre>" or wtext)
end
end


return p
return p