Module:Township: Difference between revisions

getTaskTable: Collapse tables by default
(Fixed currencies not showing up in task list)
(getTaskTable: Collapse tables by default)
Line 949: Line 949:
local taskcount = 0
local taskcount = 0
local ret = {}
local ret = {}
table.insert(ret, '{| class="wikitable lighttable stickyHeader" style="text-align:left"')
table.insert(ret, '{| class="wikitable lighttable stickyHeader mw-collapsible mw-collapsed" 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')