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
133 bytes added
,
4 months ago
no edit summary
Line 59:
Line 59:
'Ootomari', 'Wahoo', 'Kaya', 'Kirov', 'Sugi', 'Shimane Maru', 'Minneapolis',
'Ootomari', 'Wahoo', 'Kaya', 'Kirov', 'Sugi', 'Shimane Maru', 'Minneapolis',
+
+
'Norge', 'Eidsvold', 'Glorious', 'Nankai', 'Nosaki', 'Kashi', 'Dace', 'Leonardo da Vinci', 'Wasp',
}
}
Line 151:
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 286:
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 349:
Line 351:
end
end
−
return res
+
return
table.concat(
res
, '')
end
end
がか
cssedit, gkautomate,
Interface administrators
,
Widget editors
7,212
edits