Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:EquipmentLink
(view source)
Revision as of 12:50, 30 December 2017
24 bytes added
,
6 years ago
m
no edit summary
Line 9:
Line 9:
function EquipmentLink.format(frame, args)
function EquipmentLink.format(frame, args)
−
args = args or
getArgs{
frame
=
frame
:getParent(
)
}
+
args = args or
U.getTemplateArgs(
frame
).explicit or U.getTemplateArgs(
frame)
.implicit
local name = args[1] or "??"
local name = args[1] or "??"
Line 55:
Line 55:
end
end
−
--[[
U.registerFormatTests(EquipmentLink, {
U.registerFormatTests(EquipmentLink, {
{ "Prototype 51cm Twin Gun Mount" },
{ "Prototype 51cm Twin Gun Mount" },
Line 66:
Line 65:
})
})
-- p.run_format_tests()
-- p.run_format_tests()
−
]]--
return EquipmentLink
return EquipmentLink
がか
cssedit, gkautomate
7,064
edits