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 11:54, 1 August 2021
34 bytes added
,
3 years ago
no edit summary
Line 154:
Line 154:
local icon = type(e.equipment) == 'string' and Equipment(e.equipment):icon() or e.equipment:icon()
local icon = type(e.equipment) == 'string' and Equipment(e.equipment):icon() or e.equipment:icon()
local link = type(e.equipment) == 'string' and e.equipment or e.equipment:name()
local link = type(e.equipment) == 'string' and e.equipment or e.equipment:name()
−
return string.format('%s [[%s]]', Formatting:format_image{Formatting:format_equipment_icon(icon), link = link }, link)
+
return string.format('%s [[%s]]', Formatting:format_image{Formatting:format_equipment_icon(icon), link = link}, link)
end), "<br>")
end), "<br>")
end,
end,
Line 505:
Line 505:
until not sequence or sequence_position > #sequence
until not sequence or sequence_position > #sequence
debugLog("#values", #values)
debugLog("#values", #values)
−
return table.concat(values, args.concat or ", ") .. debugString()
+
return table.concat(values, args.concat
or (args.format == "table" and ""
or ", "
)
) .. debugString()
end
end
がか
cssedit, gkautomate
7,064
edits