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 16:52, 23 September 2020
71 bytes added
,
4 years ago
no edit summary
Line 69:
Line 69:
local diff = diffs[args.diff] and args.diff
local diff = diffs[args.diff] and args.diff
local diff_number = diffs[diff] or "??"
local diff_number = diffs[diff] or "??"
+
local is_event_diff = diff and diff ~= 'Regular'
local nameSuffix = args.name and ": " .. args.name or ""
local nameSuffix = args.name and ": " .. args.name or ""
Line 74:
Line 75:
return U.format{
return U.format{
(is_simple_node_type and
(is_simple_node_type and
−
(
diff
and templates.event_title_simple or templates.title_simple) or
+
(
is_event_diff
and templates.event_title_simple or templates.title_simple) or
−
(
diff
and templates.event_title or templates.title)),
+
(
is_event_diff
and templates.event_title or templates.title)),
map = map,
map = map,
node = node,
node = node,
がか
cssedit, gkautomate
7,064
edits