Module:Infobox ET: Difference between revisions

Plumtree (talk | contribs)
m Zeta ETs omitted for non-EDO equaves since the available data is for EDOs
This should be able to automate categories
Line 44: Line 44:
-- debug mode
-- debug mode
local debug_mode = frame.args['debug'] ~= nil
local debug_mode = frame.args['debug'] ~= nil
local categories = ''
local tuning = frame.args['tuning']
local tuning = frame.args['tuning']
Line 170: Line 171:
end
end


return infobox.build(
result = infobox.build(
'[[' .. et.suffix .. '|' .. tuning .. ']]',
'[[' .. et.suffix .. '|' .. tuning .. ']]',
infobox_data,
infobox_data,
Line 176: Line 177:
next_one
next_one
)
)
if not debug_mode then
result = result .. categories
end
return result
end
end


return p
return p