Module:Infobox MOS: Difference between revisions
Removed multisection infobox code, as it's in the infobox template now |
m Renamed functions in preparation for rewrite |
||
| Line 127: | Line 127: | ||
-- Main function | -- Main function | ||
-- To be called by wrapper | -- To be called by wrapper | ||
function p. | function p._infobox_MOS_old(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 | ||
| Line 343: | Line 343: | ||
local debug_mode = tonumber(frame.args['debug']) == 1 | local debug_mode = tonumber(frame.args['debug']) == 1 | ||
local result = p. | local result = p._infobox_MOS_old(tuning, other_names) | ||
if not debug_mode then | if not debug_mode then | ||
result = result .. p.categorize(tuning) | result = result .. p.categorize(tuning) | ||