Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:DropList
(view source)
Revision as of 22:54, 30 August 2019
428 bytes added
,
5 years ago
no edit summary
Line 96:
Line 96:
node_diff_tooltip = '^%s*(%w-)%s*/%s*(%S-)%s*{(.-)}%s*$',
node_diff_tooltip = '^%s*(%w-)%s*/%s*(%S-)%s*{(.-)}%s*$',
node_diff_tooltip_s = '^%s*(%w-)%s*/%s*(%S-)%s*{(.-)}%s*S%s*$',
node_diff_tooltip_s = '^%s*(%w-)%s*/%s*(%S-)%s*{(.-)}%s*S%s*$',
+
just_node_diff = '^%s*(%w-)%s*/%s*(%S-)%s*$',
+
just_node_diff_s = '^%s*(%w-)%s*/%s*(%S-)%s*S%s*$',
-- TODO:
-- TODO:
-- * just_node_tooltip
-- * just_node_tooltip
Line 193:
Line 195:
s_only = true
s_only = true
end
end
+
if not node then
+
node, diff = node_arg:match(args_grammar.just_node_diff_s)
+
if not node then
+
node, diff = node_arg:match(args_grammar.just_node_diff)
+
else
+
s_only = true
+
end
+
end
if not node then
if not node then
node, diff = node_arg:match(args_grammar.node_and_diff)
node, diff = node_arg:match(args_grammar.node_and_diff)
がか
cssedit, gkautomate
7,064
edits