Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:ImprovementTable
(view source)
Revision as of 21:22, 28 February 2017
364 bytes added
,
7 years ago
no edit summary
Line 152:
Line 152:
end
end
return table.concat(result_ships, "<br />"), table.concat(result_days, "\n")
return table.concat(result_ships, "<br />"), table.concat(result_days, "\n")
+
end
+
+
-- not doing Formatting:advanced_tooltip
+
function equipment_tooltip(text, equipment_card)
+
return format{
+
[=[<span class="advanced-tooltip explain">${text}<div class="tooltip-contents">[[File:${equipment_card}]]</div></span>]=],
+
text = text,
+
equipment_card = equipment_card,
+
}
end
end
Line 161:
Line 170:
return tostring(amount)
return tostring(amount)
elseif equipment then
elseif equipment then
−
-- TODO
:
equipment icons
+
local equipment_card = Equipment(equipment)
:
card()
−
return
tostring
(amount)
+
return
equipment_tooltip
(amount
, equipment_card
)
end
end
elseif resources.equipment == false then
elseif resources.equipment == false then
がか
cssedit, gkautomate
7,064
edits