10,731
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 116: | Line 116: | ||
local temp_arg = args[i] | local temp_arg = args[i] | ||
local temp_note = mw.ustring.match(temp_arg, "%s*%(.*%)%s*") | local temp_note = mw.ustring.match(temp_arg, "%s%*?*%(.*%)%*?%s*") | ||
if temp_note then | if temp_note then | ||
temp_arg = mw.ustring.gsub(temp_arg, "%s*%(.*%)%s*", "") | temp_arg = mw.ustring.gsub(temp_arg, "%s*%*?%(.*%)%*?%s*", "") | ||
temp_note = mw.ustring.match(temp_note, "%((.*)%)") | temp_note = mw.ustring.match(temp_note, "%((.*)%)") | ||
end | end | ||
Line 155: | Line 155: | ||
if temp_note then | if temp_note then | ||
temp_arg = temp_arg .. " (''" .. temp_note .. "'')" | temp_arg = temp_arg .. " *(''" .. temp_note .. "'')*" | ||
end | end | ||