Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:ShipMetaKai
(view source)
Revision as of 04:44, 9 November 2018
220 bytes added
,
6 years ago
add quest availability
Line 61:
Line 61:
_event_map_name_template = "${year} ${quarter} E-${map}",
_event_map_name_template = "${year} ${quarter} E-${map}",
_date_template = "${year}/${month:2}/${day:2}",
_date_template = "${year}/${month:2}/${day:2}",
+
_quest_link = "[[Quests#${label}|${label}]]",
_all_nodes_symbol = "*",
_all_nodes_symbol = "*",
_max_drops_before_collapsible = 6,
_max_drops_before_collapsible = 6,
Line 145:
Line 146:
if buildable then
if buildable then
table.insert(result, self._buildable_label .. format{self._details_template, details = table.concat(buildable, ", ")})
table.insert(result, self._buildable_label .. format{self._details_template, details = table.concat(buildable, ", ")})
+
end
+
if availability.quest then
+
table.insert(result, U.ijoin(U.imap(availability.quest, function(label) return format{self._quest_link, label = label} end), ", "))
end
end
for _, method in ipairs(availability or {}) do
for _, method in ipairs(availability or {}) do
がか
cssedit, gkautomate
7,064
edits