Module:Infobox MOS: Difference between revisions
No edit summary |
No edit summary |
||
| Line 73: | Line 73: | ||
-- Main function | -- Main function | ||
-- To be called by wrapper | -- To be called by wrapper | ||
function p._infobox_MOS(tuning | function p._infobox_MOS(tuning, other_names) | ||
local tuning = tuning or "5L 2s" | local tuning = tuning or "5L 2s" | ||
local other_names = other_names or nil | local other_names = other_names or nil | ||
local mos = MOS.parse(tuning) | local mos = MOS.parse(tuning) | ||
| Line 279: | Line 278: | ||
xenpaper_links | xenpaper_links | ||
) | ) | ||
return result | return result | ||
| Line 293: | Line 289: | ||
local debug_mode = frame.args['debug'] ~= nil | local debug_mode = frame.args['debug'] ~= nil | ||
local result = p._infobox_MOS(tuning, other_names) | |||
if not debug_mode then | |||
result = result .. p.categorize(tuning) | |||
end | |||
return result | |||
end | end | ||