Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Calc
(view source)
Revision as of 21:17, 21 November 2021
328 bytes removed
,
3 years ago
no edit summary
Line 120:
Line 120:
end,
end,
icon_damaged = function(obj) return string.format("[[File:Ship Icon %s Damaged.png|100px]]", obj:name()) end,
icon_damaged = function(obj) return string.format("[[File:Ship Icon %s Damaged.png|100px]]", obj:name()) end,
−
link = function(obj) return string.format("[[%s]]", obj:
unique_name()) end,
+
link = function(obj) return string.format("[[%s]]",
equipment and
obj:
name
() or obj:
unique_name
()) end,
−
--[[
−
link = function
(
obj)
−
if obj._dummy then
−
local link = ShipsByApiId[obj._api_id]
−
if link then
−
link = link:gsub('/', ' ')
−
end
−
return link and Formatting:format_link(link
) or
''
−
else
−
return Formatting:format_link(
obj:
link
())
−
end
−
end,
−
]]--
class = function(ship) return ship:class() and ship:class():name() or "?" end,
class = function(ship) return ship:class() and ship:class():name() or "?" end,
implementation_date = function(ship)
implementation_date = function(ship)
がか
cssedit, gkautomate
7,064
edits