Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NodeInfoInvoke
(view source)
Revision as of 21:55, 20 June 2022
44 bytes added
,
2 years ago
no edit summary
Line 97:
Line 97:
local args = U.getTemplateArgs(frame)
local args = U.getTemplateArgs(frame)
local world, map = string.match(args.implicit.pagename, "([^/]+)/([^/]+)")
local world, map = string.match(args.implicit.pagename, "([^/]+)/([^/]+)")
−
args.implicit.world = world or '??'
+
args.implicit.world =
args.explicit.world or
world or '??'
−
args.implicit.map = map or '??'
+
args.implicit.map =
args.explicit.map or
map or '??'
local table_string = NodeInfo:Table(args.explicit, args.implicit)
local table_string = NodeInfo:Table(args.explicit, args.implicit)
if args.explicit.diff or args.implicit.pagename and args.implicit.pagename:sub(1, 5) == "World" then
if args.explicit.diff or args.implicit.pagename and args.implicit.pagename:sub(1, 5) == "World" then
がか
cssedit, gkautomate
7,064
edits