Module:Interval table: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 36: | Line 36: | ||
end | end | ||
-- Utility | -- 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 > | 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 | ||