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 23:24, 28 February 2017
65 bytes added
,
7 years ago
m
no edit summary
Line 173:
Line 173:
end
end
−
function format_equipment_link(equipment)
+
function format_equipment_link(equipment
, products
)
return format{
return format{
−
[=[<span class="advanced-tooltip">[[${equipment_link}]]<div class="tooltip-contents">[[File:${equipment_card}|150px]]</div></span>]=],
+
[=[<span class="advanced-tooltip">[[${equipment_link}]]
(${products})
<div class="tooltip-contents">[[File:${equipment_card}|150px]]</div></span>]=],
text = text,
text = text,
equipment_link = equipment:link(),
equipment_link = equipment:link(),
−
equipment_card = equipment:card()
+
equipment_card = equipment:card()
,
+
products = products,
}
}
end
end
Line 245:
Line 246:
rowspan = math.max(4, 4 * #products),
rowspan = math.max(4, 4 * #products),
id = equipment:link(),
id = equipment:link(),
−
link = format_equipment_link(equipment),
+
link = format_equipment_link(equipment
, #products
),
},
},
fuel = resources.fuel or 0,
fuel = resources.fuel or 0,
がか
cssedit, gkautomate
7,064
edits