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 20:20, 29 October 2017
154 bytes removed
,
6 years ago
m
no edit summary
Line 107:
Line 107:
return "|-\n"
return "|-\n"
elseif prefix == "?" then
elseif prefix == "?" then
−
prefix = string.sub(arg, 2,
1
)
+
prefix = string.sub(arg, 2,
2
)
if prefix == "?" then
if prefix == "?" then
local key = string.sub(arg, 3)
local key = string.sub(arg, 3)
Line 147:
Line 147:
function Calc.test()
function Calc.test()
−
+
−
mw.log(Calc.format(nil, {
−
format = "table",
−
"@base_names",
−
"#", "!@", "?id", "?link", "?implementation_date"
−
}))
−
end
end
return Calc
return Calc
がか
cssedit, gkautomate
6,928
edits