- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Changes
Jump to navigation
Jump to search
Line 141:
Line 141:
− +
+
− +
Line 188:
Line 189:
− end+
− +
+
− +
no edit summary
end
end
end
end
if #details > 0 then
local details_len = #details
if details_len > 0 then
details = format{self._details_template, details = table.concat(details, ", ")}
details = format{self._details_template, details = table.concat(details, ", ")}
if #details > self._max_drops_before_collapsible then
if details_len > self._max_drops_before_collapsible then
table.insert(result, tostring(mw.html.create("div"):addClass("mw-collapsible"):addClass("mw-collapsed"):wikitext(self._drop_label):tag("div"):addClass("mw-collapsible-content"):wikitext(details):allDone()))
table.insert(result, tostring(mw.html.create("div"):addClass("mw-collapsible"):addClass("mw-collapsed"):wikitext(self._drop_label):tag("div"):addClass("mw-collapsible-content"):wikitext(details):allDone()))
else
else
end
end
end
end
end
if #details > 0 then
local details_len = #details
if details_len > 0 then
details = format{self._details_template, details = table.concat(details, ", ")}
details = format{self._details_template, details = table.concat(details, ", ")}
if #details > self._max_drops_before_collapsible then
if details_len > self._max_drops_before_collapsible then
table.insert(result, tostring(mw.html.create("div"):addClass("mw-collapsible"):addClass("mw-collapsed"):wikitext(self._event_drop_label):tag("div"):addClass("mw-collapsible-content"):wikitext(details)))
table.insert(result, tostring(mw.html.create("div"):addClass("mw-collapsible"):addClass("mw-collapsed"):wikitext(self._event_drop_label):tag("div"):addClass("mw-collapsible-content"):wikitext(details)))
else
else