Module:Interval table: Difference between revisions

BudjarnLambeth (talk | contribs)
mNo edit summary
BudjarnLambeth (talk | contribs)
mNo edit summary
Line 36: Line 36:
end
end


-- Utility fuunction to get specific note name with ud.get_note_names_table
-- Utility function to get specific note name with ud.get_note_names_table
-- (this is essentially what "Template:Ups and downs note name" does)
-- (this is essentially what "Template:Ups and downs note name" does)
local function ud_note(et, fifth, step)
local function ud_note(et, fifth, step)
Line 81: Line 81:


local t_head = "{| class=\"wikitable center-1 right-2\"\n"
local t_head = "{| class=\"wikitable center-1 right-2\"\n"
if et.size > 39 then
if et.size > 20 then
t_head = "{| class=\"wikitable center-1 right-2 mw-collapsible mw-collapsed\"\n"
t_head = "{| class=\"wikitable center-1 right-2 mw-collapsible mw-collapsed\"\n"
end
end