Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Module:DropList
(view source)
Revision as of 21:06, 22 November 2025
31 bytes added
,
4 months ago
no edit summary
Line 153:
Line 153:
function log(message, value)
function log(message, value)
−
tbl.debug = tbl.debug .. string.format('%s: %s\n', message, value)
+
--
tbl.debug = tbl.debug .. string.format('%s: %s\n', message, value)
end
end
Line 288:
Line 288:
function showTable(tbl)
function showTable(tbl)
−
local res = format{table_format.header, classes = tbl.classes or ''}
+
local res =
{
format{table_format.header, classes = tbl.classes or ''
}
}
function add(str)
function add(str)
−
res
= res ..
str
+
table.insert(
res
,
str
)
end
end
Line 351:
Line 351:
end
end
−
return res
+
return
table.concat(
res
, '')
end
end
がか
cssedit, gkautomate,
Interface administrators
,
Widget editors
7,212
edits