Module:Infobox MOS: Difference between revisions

Ganaram inukshuk (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
mNo edit summary
Line 454: Line 454:
local args = getArgs(frame)
local args = getArgs(frame)
local tuning = args["Scale Signature"] or args["Tuning"]
local tuning = args["Scale Signature"]
local other_names = args["othernames"] or nil
local other_names = args["othernames"] or nil
local debug_mode = yesno(tonumber(args["nocat"]), false)
local debug_mode = yesno(tonumber(args["nocat"]), false)
-- Scale Signature is the preferred arg to use
-- Tuning is still supported for legacy purposes
if args["Tuning"] ~= nil then
tuning = args["Tuning"]
end
local result = p._infobox_mos(tuning, other_names)
local result = p._infobox_mos(tuning, other_names)