Module:Ups and downs sharpness: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
local p = {} | local p = {} | ||
local utils = require("Module:Utils") | local utils = require("Module:Utils") | ||
local yesno = require("Module:Yesno") | |||
local function sharp_n(edo) -- calculate amount of steps for sharp/flat | local function sharp_n(edo) -- calculate amount of steps for sharp/flat | ||
| Line 102: | Line 103: | ||
tab = tab .. "|}" | tab = tab .. "|}" | ||
if frame.args["debug"] == true then | if yesno(frame.args["debug"]) == true then | ||
tab = "<syntaxhighlight lang=\"wikitext\">" .. tab .. "</syntaxhighlight>" | tab = "<syntaxhighlight lang=\"wikitext\">" .. tab .. "</syntaxhighlight>" | ||
end | end | ||