Module:Infobox MOS: Difference between revisions
No edit summary |
Fixed logic (hopefully) for debug mode |
||
| Line 287: | Line 287: | ||
local tuning = frame.args['Tuning'] | local tuning = frame.args['Tuning'] | ||
local other_names = frame.args['Other names'] or nil | local other_names = frame.args['Other names'] or nil | ||
local debug_mode = frame.args['debug'] | local debug_mode = frame.args['debug'] | ||
local result = p._infobox_MOS(tuning, other_names) | local result = p._infobox_MOS(tuning, other_names) | ||
-- Force categories | -- Force categories | ||
result = result | if not debug_mode then | ||
result = result .. p.categorize(tuning) | |||
end | |||
return result | return result | ||