Module:Infobox MOS: Difference between revisions
Adopt getArgs, rename some params: Tuning -> Scale Signature (preferred); debug -> nocat (to fit current use of "debug" seen with other templates) |
mNo edit summary |
||
| Line 454: | Line 454: | ||
local args = getArgs(frame) | local args = getArgs(frame) | ||
local tuning = | local tuning = args["Scale Signature"] or args["Tuning"] | ||
local other_names = | local other_names = args["othernames"] or nil | ||
local debug_mode = yesno(tonumber( | local debug_mode = yesno(tonumber(args["nocat"]), false) | ||
local result = p._infobox_mos(tuning, other_names) | local result = p._infobox_mos(tuning, other_names) | ||