Anonymous

Module:Township: Difference between revisions

From Melvor Idle
getTaskTable: Tables no longer collapsed by default, but can be collapsed by users
(getTaskTable: Collapse tables by default)
(getTaskTable: Tables no longer collapsed by default, but can be collapsed by users)
Line 949: Line 949:
local taskcount = 0
local taskcount = 0
local ret = {}
local ret = {}
table.insert(ret, '{| class="wikitable lighttable stickyHeader mw-collapsible mw-collapsed" style="text-align:left"')
table.insert(ret, '{| class="wikitable lighttable stickyHeader mw-collapsible" style="text-align:left"')
table.insert(ret, '\n|- class="headerRow-0"')
table.insert(ret, '\n|- class="headerRow-0"')
table.insert(ret, '\n!Task')
table.insert(ret, '\n!Task')